http://www.perlmonks.org?node_id=712586


in reply to [OT]What is "buffers" and "cached" memory in Linux system box?

the kernal can take back cache memory whenever it wants to, but not (all of the) buffers - buffers are needed for inter-process communication.

this article explains the fundamentals

  • Comment on Re: [OT]What is "buffers" and "cached" memory in Linux system box?

Replies are listed 'Best First'.
Re^2: [OT]What is "buffers" and "cached" memory in Linux system box?
by sunshine_august (Scribe) on Sep 20, 2008 at 05:07 UTC

    From my test, the kernel take back all of the "buffers" mem, but leave some for the "cached".

    My box:
    Linux localhost.localdomain 2.6.22.9 #1 SMP Wed Sep 17 10:54:46 CST 2008 x86_64 x86_64 x86_64 GNU/Linux
    And the program I run mainly deal with the network data through loop-back address.