Re: 4GB MemShared, Cached bigger (and growing) than MemTotal (64MB) on 2.4.9-ac18

From: Christoph Rohland (cr@sap.com)
Date: Mon Oct 01 2001 - 01:40:53 EST


Hi Mike,

On Sun, 30 Sep 2001, Mike Fedyk wrote:
> Hi,
>
> I took 64MB out of my 128MB system at home today just to see how
> 2.4.9-ac18 would work on it, and did some tests...
>
> I ran apt-get update && apt-get upgrade, and after that finished,
> swapoff -a.
>
> While looking at vmstat, the swap went down from 24000 to 16000 and
> slowed considerably (sorry didn't save the vmstat output) with the
> page cache getting smaller and smaller, while disk reads were
> constantly at about 2000.
>
> After a while it got past 16000 swap, and down to zero and swapoff
> exited.
>
> After this happened, I saw MemShared go up to about 4GB, and Cached
> started growing, getting even bigger than ram!

Apparently the shmem accounting is screwed. (Hugh does something ring
at your side?)

This should be totally cosmetic. Simply add the MemShared to the
Cached field and you get the real cached (including shmem) pages.

Greetings
                Christoph

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



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:13 EST