Manual page proc(5) line 1967 (press h for help or q to quit) /proc/sys/vm This directory contains files for memory management tuning, buffer and cache management. /proc/sys/vm/drop_caches (since Linux 2.6.16) Writing to this file causes the kernel t
关于drop_caches文件:系统默认为0 在Documentation/sysctl/vm.txt中有如下描述: drop_caches Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free. To free pagecache:仅清除页面缓存(PageCache) echo 1 > /pro
drop_caches Writing to this will cause the kernel to drop clean caches, as well as reclaimable slab objects like dentries and inodes. Once dropped, their memory becomes free. To free pagecache: echo 1 > /proc/sys/vm/drop_caches To free reclaimable sl