invalidate/drop filesystem caches & io buffers

From: Yakov Lerner
Date: Wed Nov 08 2006 - 07:53:51 EST


I'd like to invalidate/free the filesystem caches and io buffer cache
How can I do this when I can't unmount the filesystem (and w/o reboot) ?

(I run filesystem I/O test that needs to start from fresh cache &
buffer state -- as emty as possible, like right after mount/boot).

I tried 'mount -o remount' but it didn't make any difference
on the timing. Apparently 'mount -o remount' did not invalidate
cases/buffers ? ( The difference between fresh run vs non-fresh
run timing is x5 times ).

Thanks
Yakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/