linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Nitin Gupta" <nitingupta910@gmail.com>
To: John McCabe-Dansted <gmatht@gmail.com>
Cc: linux-mm-cc@laptop.org, linux-mm@kvack.org,
	linuxcompressed-devel@lists.sourceforge.net
Subject: Re: [linux-mm-cc] Announce: ccache release 0.1
Date: Tue, 19 Feb 2008 19:34:59 +0530	[thread overview]
Message-ID: <4cefeab80802190604g1c9fea72ge1052cb3bd597e0a@mail.gmail.com> (raw)
In-Reply-To: <fd87b6160802190507g74e64866pdbbda84826e0e5b8@mail.gmail.com>

On Feb 19, 2008 6:37 PM, John McCabe-Dansted <gmatht@gmail.com> wrote:
> On Feb 19, 2008 9:06 PM, Nitin Gupta <nitingupta910@gmail.com> wrote:
> > On Feb 19, 2008 4:03 PM, John McCabe-Dansted <gmatht@gmail.com> wrote:
> > > On Feb 19, 2008 6:39 AM, Nitin Gupta <nitingupta910@gmail.com> wrote:
> > > > Some performance numbers for allocator and de/compressor can be found
> > > > on project home. Currently it is tested on Linux kernel 2.6.23.x and
> > > > 2.6.25-rc2 (x86 only). Please mail me/mailing-list any
> > > > issues/suggestions you have.
> > >
> > > It caused Gutsy (2.6.22-14-generic) to crash when I did a swap off of
> > > my hdd swap. I have a GB of ram, so I would have been fine without
> > > ccache.
> >
> > These days "desktops with small memory" probably means virtual
> > machines with, say, <512M RAM :-)
>
> The Hardy liveCD is really snappy with a 192MB VM and and a 128MB
> ccache swap. :)
>

Good to know :)

> > > I had swapped on a 400MB ccache swap.
> > >
> >
> > I need /var/log/messages (or whatever file kernel logs to in Gutsy) to
> > debug this.
> > Please send it to me offline if its too big.
>
> This seems to be the bit you want:
>

Unfortunately none of these messages suggest why crash happened.
If you can send entire log, that will probably be more useful.


> ubuntu-xp syslogd 1.4.1#21ubuntu3: restart.
> Feb 19 08:07:31 ubuntu-xp -- MARK --
> ...
> Feb 19 18:47:31 ubuntu-xp -- MARK --
> Feb 19 18:59:51 ubuntu-xp kernel: [377208.185464] ccache: Unknown
> symbol lzo1x_decompress_safe
<snip>

All these 'Unknown symbol' messages are because you tried loading
ccache.ko module before tlsf.ko and lzo*.ko modules.

>
> > > BTW, why is the default 10% of mem?
> >
> > I have no great justification for "10%".
>
> Perhaps 100% (or maybe 50%) would be a more sensible default? For me
> 66% makes a huge difference to the Hardy liveCD performance. 10% makes
> a difference but 50%+ goes from "ls /" taking 10s to snappy
> performance even on large applications like Firefox.
>

I think this depends a lot on kind of workload and system. For e.g:
- On desktops, retaining too many anonymous pages at cost of
continuously losing page-cache (filesystem-backed) pages can hurt
performance for workload that repeatedly access same file(s).
- On embedded systems, too much de/compression will drain all battery.
and so on...

Also, I don't know which of  these use cases is more "common".

- Nitin

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2008-02-19 14:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18 21:39 Announce: ccache release 0.1 Nitin Gupta
2008-02-19 10:33 ` [linux-mm-cc] " John McCabe-Dansted
2008-02-19 12:06   ` Nitin Gupta
2008-02-19 13:07     ` John McCabe-Dansted
2008-02-19 14:04       ` Nitin Gupta [this message]
2008-02-19 16:16 ` John McCabe-Dansted
2008-02-19 16:46   ` Nitin Gupta
2008-02-20  8:12 ` Nitin Gupta
2008-02-20  8:29   ` [linux-mm-cc] " John McCabe-Dansted
2008-02-20 12:40     ` Nitin Gupta
2008-02-20  8:57 ` Pekka Enberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4cefeab80802190604g1c9fea72ge1052cb3bd597e0a@mail.gmail.com \
    --to=nitingupta910@gmail.com \
    --cc=gmatht@gmail.com \
    --cc=linux-mm-cc@laptop.org \
    --cc=linux-mm@kvack.org \
    --cc=linuxcompressed-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).