What is the difference between buffer and cache memory in Linux?

后端 未结 12 1291
慢半拍i
慢半拍i 2020-12-02 03:33

To me it\'s not clear what\'s the difference between the two Linux memory concepts : buffer and cache. I\'ve read through this post and it seems to

12条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 04:08

    "Buffers" represent how much portion of RAM is dedicated to cache disk blocks. "Cached" is similar like "Buffers", only this time it caches pages from file reading.

    quote from:

    • https://web.archive.org/web/20110207101856/http://www.linuxforums.org/articles/using-top-more-efficiently_89.html

提交回复
热议问题