我想知道Linux的磁盘缓存机制的确切含义和意义。在我读过的一篇文章中,页面缓存和 dentry 缓存是其中的两种形式。
有人可以向我解释这些概念吗?
linux filesystems
我注意到,find <dir> -depth第一次在目录上使用时,它会消耗相当多的时间,但下次即使搜索不同的模式,它看起来也很快。
find <dir> -depth
这是为什么?这种行为是否可以进一步用于实现更好的性能?
performance find
filesystems ×1
find ×1
linux ×1
performance ×1