>>108512681
there is some kernel proc file you can write into to clear disk cache. excellent for cold start benchmarks
echo 3 | sudo tee /proc/sys/vm/drop_caches
>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 slab objects (includes dentries and inodes):
Comment too long. Click here to view the full text.