Re: how to turn off, or to clear read cache?

From: John Bradford
Date: Wed Aug 20 2003 - 08:12:38 EST


> I need to make some performance tests. I need to switch off or to clear
> read cache, so that consequent reading of the same file will take the
> same amount of time.
>
> Is there an easy way to do it, without rebuilding the kernel?

Unmount and remount the filesystem.

John.
-
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/