[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080510001124.6bc3a5c6@Varda>
Date: Sat, 10 May 2008 00:11:24 +0200
From: Alejandro Riveira Fernández
<ariveira@...il.com>
To: Soeren Sonnenburg <kernel@....de>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: how to empty buffers/cache?
El Fri, 09 May 2008 21:49:47 +0000
Soeren Sonnenburg <kernel@....de> escribió:
> Dear all,
>
> I am trying to perform some benchmarks that involve reading the same big
> file a couple of times from disk. However I would want to make sure that
> the file is not buffered/cached by the kernel when I read the file a
> second/third/etc time.
>
> Is there a way (except rebooting/unmounting the disk) to clear the
> buffers?
echo 3 > /proc/sys/vm/drop_caches IIRC
>
> Thanks,
> Soeren
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists