On Thu, Jan 11, 2007 at 03:43:11PM -0500, Ye ilho wrote: > This may sound stupid but I was wondering if there is any way to empty > the cache. I know that there are so many kinds of cache so here is > what I am trying to do. > > I am currently taking measurement of certain programs using various > applications such as firefox, cat, kernel make and etc. > I have a different setup for each measurement and thus I will have to > repeat the same measurement under different scenarios. I realized that > if I download the same web page, it runs faster because it is from the > cache. So I have to reboot the system each time for taking > measurement. > Is there any better way to do this? echo 3 > /proc/sys/vm/drop_caches See Documentation/filesystems/proc.txt for full documentation. Note that this will not empty your web browsers own cache! Erik -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
Attachment:
signature.asc
Description: Digital signature