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
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:
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.
More information about the Pvfs2-developers