1

How low can vm.vfs_cache_pressure get?

view story
linux-howto

https://bbs.archlinux.org – I read on the wiki article https://wiki.archlinux.org/index.php/Ma … erformance, about adjusting `vm.vfs_cache_pressure` and I did the test as suggested http://rudd-o.com/en/linux-and-free-sof … o-fix-thatsync echo 3 > /proc/sys/vm/drop_caches dd if=/dev/zero of=/tmp/testfile count=1 bs=900M sysctl -w vm.vfs_cache_pressure=100 find / > /dev/null cp /tmp/testfile /tmp/testfile2 time find / > /dev/null sysctl -w vm.vfs_cache_pressure=50 find / > /dev/null cp /tmp/testfile2 /tmp/testfile3 time find / > /dev/null rm -f /tmp/testfile /tmp/testfile2 /tmp/testfile3Then also tri (HowTos)