lkml.org 
[lkml]   [2005]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/4] linux-2.6-block: deactivating pagecache for benchmarks
From
Date
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.

Signed-off-by: Dirk Gerdes <mail@dirk-gerdes.de>



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-01 14:21    [W:0.097 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site