11
在Linux中,缓冲区与缓存之间有什么区别?
对我来说,尚不清楚两个Linux内存概念buffer和之间有什么区别cache。我已经阅读了这篇文章,在我看来,它们之间的区别在于有效期政策: 缓冲区的策略是先进先出 缓存的策略是“最近最少使用”。 我对吗? 特别是,我正在查看两个命令:free和vmstat james@utopia:~$ vmstat -S M procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 5 0 0 173 67 912 0 0 19 59 75 1087 24 4 71 1 james@utopia:~$ free -m …