Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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

by themage (Friar)
on Sep 19, 2008 at 09:51 UTC ( #712493=note: print w/replies, xml ) Need Help??

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

Hi sunshine_august,

Buffers and Cached is memory used by the kernel to optimize access to slow access data, usually disks.

You can think of that as free memory, but you are much better while kernel have memory to use that way.

I wrote some software that update several thousands of files, and that was a slow process. Later, as that updates repeated, the Kernel allocated near 2GB of memory to cached, and the performance was really (I can't make enought enfase on that really) improved.

Memory in not something you may consider as enougth. It is only enougth if you can spare some to the kernel, it won't abuse it.

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://712493]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2016-10-26 11:58 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (340 votes). Check out past polls.