In linux OS, you can type command "echo 3 > /proc/sys/vm/drop_cache" to release memory, and you can type command "sync" to release the memory. And in linux kernel there are two kind of cache, one is page cache and the other is buffer cache, so what 's the difference?

  • 1
    – Bratchley
    Dec 19 '14 at 1:35
  • @Bratchley Why don't you make that an answer? Dec 19 '14 at 1:37
  • I don't know it well enough to write a good answer. Plus it's just something I found while googling this so it seem disingenuous to post an answer like I knew it to begin with.
    – Bratchley
    Dec 19 '14 at 1:38
  • thanks, it's helpful! Buffer cache has be combined into page cache.
    – Casa
    Dec 19 '14 at 1:55

Since kernel 2.4 there is no difference between these cache types, there is only the page cache left.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.