lkml.org 
[lkml]   [2001]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectWhat is the difference between buffers and cached? (was: Re: 2.4.x Shared memory question)
On Feb 04 2001, LA Walsh wrote:
> Another oddity -- I notice things taking alot more memory
> in 2.4. This coincides with 'top' consistently showing I have 0 shared
> memory.

AFAIK, the 2.4.0 series does share memory, but it's just the
counters that are not updated, for they are costly.

> total: used: free: shared: buffers: cached:
> Mem: 525897728 465264640 60633088 0 82145280 287862784
> Swap: 270909440 0 270909440

This is the perfect time to ask one thing that I don't know,
but that I've tried to find without success: what is the
difference between "buffers" and "cached"? I'd make the wild
guess that "buffers" would mean any types of buffers that the
kernel maintains, while "cached" would have something to do
with cached disk blocks...

Are these guesses correct or completely, way off?


Thanks for any hints, Roger...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - rbrito@iname.com - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:58    [W:0.170 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site