[Pvfs2-developers] pvfs2-drop-caches

Phil Carns carns at mcs.anl.gov
Fri Jun 6 13:20:22 EDT 2008


There is a new command line utility in trunk now called 
"pvfs2-drop-caches".  It sends a SETPARAM request to all servers for a 
given file system to have them try to sync() and and drop all file 
system caches.

This is linux specific, but it will compile and just return an error at 
runtime on other OSs (or older kernels).  Here is the Linux kernel 
documentation for the drop_caches feature if anyone is curious:

http://lxr.linux.no/linux/Documentation/filesystems/proc.txt#L1394

Hopefully its not too invasive, but we can easily back it out if needed. 
  This is might be helpful for benchmarking purposes if you want the 
servers to work from a clean slate rather than hitting the buffer cache 
(or having to evict old caches) during the test run.

-Phil


More information about the Pvfs2-developers mailing list