* bad caching behavior in 2.6.12rc1
@ 2005-03-24 23:27 Bill Nottingham
2005-03-24 23:38 ` Andrew Morton
0 siblings, 1 reply; 3+ messages in thread
From: Bill Nottingham @ 2005-03-24 23:27 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm
When I upgraded from 2.6.11 to 2.6.12rc1, the VM started
behaving really badly with respect to caching.
Test box is a 1.5GB laptop.
In typical use, I would open a mailbox A, and then switch
to mailbox B. Immediately switching back to mailbox A, I
would find out it was no longer cached. (Using maildirs,
FWIW.)
Looking at /proc/meminfo, I would see:
LowFree: 8-12MB
HighFree: 300-400MB
Cached: 100-200MB
i.e., it was evicting cache when there was plenty of highmem
available for use.
When going back to 2.6.11, and using the same sort of the
workload, the caching would behave more as expected.
Bill
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bad caching behavior in 2.6.12rc1
2005-03-24 23:27 bad caching behavior in 2.6.12rc1 Bill Nottingham
@ 2005-03-24 23:38 ` Andrew Morton
2005-03-25 17:52 ` Bill Nottingham
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2005-03-24 23:38 UTC (permalink / raw)
To: Bill Nottingham; +Cc: linux-kernel
Bill Nottingham <notting@redhat.com> wrote:
>
> When I upgraded from 2.6.11 to 2.6.12rc1, the VM started
> behaving really badly with respect to caching.
>
> Test box is a 1.5GB laptop.
>
> In typical use, I would open a mailbox A, and then switch
> to mailbox B. Immediately switching back to mailbox A, I
> would find out it was no longer cached. (Using maildirs,
> FWIW.)
>
> Looking at /proc/meminfo, I would see:
>
> LowFree: 8-12MB
> HighFree: 300-400MB
> Cached: 100-200MB
>
> i.e., it was evicting cache when there was plenty of highmem
> available for use.
Where's the rest of the memory gone? A full /proc/meminfo would be useful.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bad caching behavior in 2.6.12rc1
2005-03-24 23:38 ` Andrew Morton
@ 2005-03-25 17:52 ` Bill Nottingham
0 siblings, 0 replies; 3+ messages in thread
From: Bill Nottingham @ 2005-03-25 17:52 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
Andrew Morton (akpm@osdl.org) said:
> > Test box is a 1.5GB laptop.
> >
> > In typical use, I would open a mailbox A, and then switch
> > to mailbox B. Immediately switching back to mailbox A, I
> > would find out it was no longer cached. (Using maildirs,
> > FWIW.)
> >
> > Looking at /proc/meminfo, I would see:
> >
> > LowFree: 8-12MB
> > HighFree: 300-400MB
> > Cached: 100-200MB
> >
> > i.e., it was evicting cache when there was plenty of highmem
> > available for use.
>
> Where's the rest of the memory gone? A full /proc/meminfo would be useful.
In the manner of all good bugs, as soon as I tried to reproduce it, it's
hiding. I can get it to this point (very little lowfree, lots of highfree,
medium amounts of cache); but now the cache is behaving more as expected.
Feel free to ignore it until I can duplicate it again. :)
Bill
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-25 17:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24 23:27 bad caching behavior in 2.6.12rc1 Bill Nottingham
2005-03-24 23:38 ` Andrew Morton
2005-03-25 17:52 ` Bill Nottingham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®