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

后端 未结 12 1251
慢半拍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:21

    buffer and cache.

    A buffer is something that has yet to be "written" to disk.

    A cache is something that has been "read" from the disk and stored for later use.

提交回复
热议问题