您的位置:首页 > Web前端

The difference between buffers and cache

2011-05-09 00:55 519 查看

The difference between buffers and cache

Buffers are
associated with a specific block device, and cover caching of filesystem
metadata as well as tracking in-flight pages. The cache only contains
parked file data. That is, the buffers remember what's in directories,
what file permissions are, and keep track of what memory is being
written from or read to for a particular block device. The cache only
contains the contents of the files themselves.

Corrections and
additions to this section welcome; I've done a bit of guesswork based on
tracing how /proc/meminfo is produced to arrive at these conclusions.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息