Skip to content

linux-2.6-block: deactivating pagecache for benchmarks

Dirk Henning Gerdes linux-um lkml 1 version In review

Get series with b4
b4 am 1133443051.6110.32.camel@noti

Versions newest first

  1. v1 Latest4 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4linux-2.6-block: deactivating pagecache for benchmarks+0 -00 replies
2/4linux-2.6-block: deactivating pagecache for benchmarks+0 -00 replies
3/4linux-2.6-block: deactivating pagecache for benchmarks+0 -01 reply
4/4linux-2.6-block: deactivating pagecache for benchmarks+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] linux-2.6-block: deactivating pagecache for benchmarks

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.