# Page Cache 包含磁盘上块映射。
# Inode 表示文件的数据结构
# Dentries 表示目录的数据结构
清除Page Cache缓存:sync; echo 1 > /proc/sys/vm/drop_caches
清除Inode与Dentries缓存:sync; echo 2 > /proc/sys/vm/drop_caches
清除这三者的缓存:sync; echo 3 > /proc/sys/vm/drop_caches
参考文献
K4NZ / 内存缓存How to Clear RAM Memory Cache, Buffer and Swap Space on Linuxwhat are pagecache, dentries, inodes?