Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by themage (Friar)
on Sep 19, 2008 at 09:51 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found