Re: buffer/cache figure question (2.3.x)

From: Lawrence Manning (lawrence@aslak.demon.co.uk)
Date: Mon Mar 06 2000 - 17:46:05 EST


On Mon, 6 Mar 2000, Larry Woodman wrote:
> Lawrence Manning wrote:
> > I thought I understood how the buffer figure from meminfo shows only the
> > dcache and that all other block buffering is shown in the cache figure.
> > But this morning (after the machine being idle for about 8 hours) I find
> > about 40meg in the buffers. Now its back to its usual 4meg. Can someone
> > please enlighten me? I tried to follow the code, but got as far as
> > atomic_read(&buffermem_pages) in si_meminfo...
> Lawrence, I'm not sure how much memory your machine has or what is
> running on it but if you had 40M in buffers something did a lot of
> non-filesystem IO(like a "du" command or a bunch or reads from a raw

Thanks Larry. I was doing some recursive lists i think. So am I right
that only the dcache goes in buffers? I was just pretty amazed to get
40meg for directory cache alone... I have 256megs.

> device). Then in order for the buffers to drop back to 4M you had to
> run out of memory and shrink_mmap had to reclaim that 36M from the
> buffermem.

It seems to hang around 4meg pretty much all the time...

Lawrence

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



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:21 EST