From: Soeren Sonnenburg <kernel@nn7.de>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: how to empty buffers/cache?
Date: Fri, 09 May 2008 21:49:47 +0000 [thread overview]
Message-ID: <1210369787.4142.24.camel@localhost> (raw)
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?
Thanks,
Soeren
next reply other threads:[~2008-05-09 21:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 21:49 Soeren Sonnenburg [this message]
2008-05-09 22:11 ` how to empty buffers/cache? Alejandro Riveira Fernández
2008-05-13 16:58 ` Soeren Sonnenburg
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=1210369787.4142.24.camel@localhost \
--to=kernel@nn7.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.