From: Paolo Ornati <ornati@fastwebnet.it>
To: WU Fengguang <wfg@mail.ustc.edu.cn>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Adaptive read-ahead: benchmarks
Date: Thu, 15 Sep 2005 16:28:56 +0200 [thread overview]
Message-ID: <20050915162856.1fd5bb38@localhost> (raw)
In-Reply-To: <20050915131651.GA5336@mail.ustc.edu.cn>
On Thu, 15 Sep 2005 21:16:51 +0800
WU Fengguang <wfg@mail.ustc.edu.cn> wrote:
> oprofile() {
> opcontrol --vmlinux=/temp/kernel/linux-2.6.13ra/vmlinux
> opcontrol --start
> opcontrol --reset
> echo $1 > /proc/sys/vm/readahead_ratio
> dd if=/temp/kernel/hugefile of=/dev/null bs=$bs
> opreport -l -o oprofile.$1.$bs /temp/kernel/linux-2.6.13ra/vmlinux
> opcontrol --stop
> }
just a side note: shouldn't you umount and remount "/temp" to remove
the pagecache? Or is the file so big that it doesn't matter?
PS: instead of unmount/remount you can use "fadvise":
http://www.zip.com.au/~akpm/linux/patches/stuff/ext3-tools.tar.gz
--
Paolo Ornati
Linux 2.6.14-rc1 on x86_64
next prev parent reply other threads:[~2005-09-15 14:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-15 13:16 Adaptive read-ahead: benchmarks WU Fengguang
2005-09-15 14:28 ` Paolo Ornati [this message]
2005-09-15 14:52 ` WU Fengguang
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=20050915162856.1fd5bb38@localhost \
--to=ornati@fastwebnet.it \
--cc=linux-kernel@vger.kernel.org \
--cc=wfg@mail.ustc.edu.cn \
/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