Re: bad caching behavior in 2.6.12rc1

From: Andrew Morton
Date: Thu Mar 24 2005 - 18:42:24 EST


Bill Nottingham <notting@xxxxxxxxxx> 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/