free, buff, cache memory on Debian
Hi,
What it's the difference between buff(ered) and cache portions of memory? Code:
# vmstat |
From wikipedia
Quote:
|
Quote:
That Wikipedia page looked like it was influenced by the meanings of buffer vs. cache that are specific to Linux. But it certainly wasn't focused on those meanings. My understanding/recall of what I've read on this question (but don't remember where) is: Cache holds only aligned page size chunks of files. Buffers are used in various situations in which aligned page size chunks of files are not practical. I think the buffers are tied to chunks of the media (the partition for a typical filesystem) rather than chunks of a specific file. But don't trust me on the above, because I'm not sure I trust the pages I read that gave me that info and I'm not sure I understood/recall them accurately. So I'm just posting this while we wait for someone who actually knows to post something more accurate. |
Quote:
|
All times are GMT -5. The time now is 04:45 AM. |