====== FS Cache ======
===== Cache takarítás =====
* https://discuss.aerospike.com/t/tuning-kernel-memory-for-performance/4195
* Flush RW cache:
sync
* To free pagecache:
echo 1 > /proc/sys/vm/drop_caches
* To free dentries and inodes:
echo 2 > /proc/sys/vm/drop_caches
* To free pagecache, dentries and inodes:
echo 3 > /proc/sys/vm/drop_caches
===== Cache kikapcsolás =====
* http://serverfault.com/questions/500874/ext3-with-no-write-cache
* Mountolás:
mount -o sync -t ext3 /dev/sda1 /mnt/foo
* Újra mountolás:
mount -o remount,sync /mnt/foo
===== cache állapota =====
* https://medium.com/marionete/linux-disk-cache-was-always-there-741bef097e7f
vmtouch -v server.tar.gz
server.tar.gz
[ ] 0/2
Files: 1
Directories: 0
Resident Pages: 0/2 0/8K 0%
Elapsed: 5.8e-05 seconds