On Wed, Mar 10, 2010 at 10:31:46PM +0800, Christian Ehrhardt wrote:
OK, thanks!
I mean, when readahead windows A and B are submitted in one IO --
let's call it AB -- commit 65a80b4c61 will explicitly unplug on doing
readahead C. While in your trace, the unplug appears on AB.
The 68% improvement is very impressive. Wondering if commit 65a80b4c61
(the _conditional_ unplug) can achieve the same level of improvement :)
They are reasonable assumptions. However I'm not sure if this
unconditional unplug will defeat CFQ's anticipatory logic -- if there
are any. You know commit 65a80b4c61 is more about a *defensive*
protection against the rare case that two readahead windows get
merged.
Exactly one process per disk? Are they doing sequential reads or more
complicated access patterns?
Thanks,
Fengguang
--