lkml.org 
[lkml]   [2000]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: buffer/cache figure question (2.3.x)
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
>
> -
> 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/

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 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.

Larry Woodman


begin:vcard
n:Woodman;Larry
x-mozilla-html:TRUE
org:Mission Critical Linux
adr:;;;;;;
version:2.1
email;internet:woodman@missioncriticallinux.com
title:Director Of Engineering
x-mozilla-cpt:;-8928
fn:Larry Woodman
end:vcard
\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.064 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site