All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Dirk Henning Gerdes <mail@dirk-gerdes.de>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/4] linux-2.6-block: deactivating pagecache for benchmarks
Date: Thu, 1 Dec 2005 15:36:55 +0100	[thread overview]
Message-ID: <20051201143655.GA2835@suse.de> (raw)
In-Reply-To: <1133443051.6110.32.camel@noti>

On Thu, Dec 01 2005, Dirk Henning Gerdes wrote:
> Hi Jens!
> 
> For doing benchmarks on the I/O-Schedulers, I thought it would be very
> useful to disable the pagecache.
> 
> I didn't want to make it so complicated so I just mark pages as
> not-uptodate, so they have to be read again. Another reason was, that I
> wanted to keep the conditions as near to reality as possible.
> 
> Further I thought it would be useful, if you could turn the pagecache on
> and off without rebooting the system.
> 
> I implemented a proc-fs entry "/proc/benchmark/pagecache" for this.
> 
> Probably this patch can be useful for anyone else, who wants to do  some
> benchmarks on block-layer stuff.
> And if not, I would appreciate if you could have a look on it.

This is rather odd, if you ask me, I don't like it. If you are doing
serious benchmarking, you do it on a seperate disk / file system which
you can just umount/mount before starting over. Or you reboot the
machine in between.

-- 
Jens Axboe


  parent reply	other threads:[~2005-12-01 14:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01 13:17 [PATCH 0/4] linux-2.6-block: deactivating pagecache for benchmarks Dirk Henning Gerdes
2005-12-01 13:29 ` Arjan van de Ven
2005-12-01 13:43   ` Dirk Henning Gerdes
2005-12-01 14:36 ` Jens Axboe [this message]
2005-12-02  1:25 ` Andrew Morton
2005-12-02  1:34   ` Jeff Garzik
2005-12-02 19:19     ` Badari Pulavarty
2005-12-02 19:17   ` Badari Pulavarty
2005-12-02 21:24   ` Badari Pulavarty
2005-12-02 21:44     ` Andrew Morton
2005-12-02 22:33       ` Badari Pulavarty
2005-12-05  2:13   ` Rob Landley
2005-12-05 16:20     ` Lee Revell
2005-12-05 17:28       ` Rob Landley
2005-12-05 16:54   ` Badari Pulavarty
2005-12-05  2:03 ` [uml-devel] Fwd: " Rob Landley
2005-12-05 19:21   ` Jeff Dike
2005-12-05 20:18     ` Rob Landley
     [not found] <5f08L-Um-413@gated-at.bofh.it>
2005-12-01 22:48 ` Bodo Eggert
     [not found] ` <5f7UE-3FH-13@gated-at.bofh.it>
2005-12-03  2:05   ` Bodo Eggert

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=20051201143655.GA2835@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mail@dirk-gerdes.de \
    /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.