From: Soeren Sonnenburg <kernel@nn7.de>
To: "Alejandro Riveira Fernández" <ariveira@gmail.com>,
"Carlos R. Mafra" <crmafra2@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: how to empty buffers/cache?
Date: Tue, 13 May 2008 18:58:16 +0200 [thread overview]
Message-ID: <1210697896.4964.104.camel@localhost> (raw)
In-Reply-To: <20080510001124.6bc3a5c6@Varda>
On Sat, 2008-05-10 at 00:11 +0200, Alejandro Riveira Fernández wrote:
> El Fri, 09 May 2008 21:49:47 +0000
> Soeren Sonnenburg <kernel@nn7.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
thank you both very much ( echo 3 > ... is what I was looking for)
Soeren
prev parent reply other threads:[~2008-05-13 16:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 21:49 how to empty buffers/cache? Soeren Sonnenburg
2008-05-09 22:11 ` Alejandro Riveira Fernández
2008-05-13 16:58 ` Soeren Sonnenburg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1210697896.4964.104.camel@localhost \
--to=kernel@nn7.de \
--cc=ariveira@gmail.com \
--cc=crmafra2@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox