Re: [RFC PATCH] Fix Readahead stalling by plugged device queues

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wu Fengguang
Date: Wednesday, March 10, 2010 - 6:45 pm

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH] Fix Readahead stalling by plugged device queues, Christian Ehrhardt, (Wed Mar 10, 5:31 am)
Re: [RFC PATCH] Fix Readahead stalling by plugged device q ..., Christian Ehrhardt, (Wed Mar 10, 7:31 am)
Re: [RFC PATCH] Fix Readahead stalling by plugged device q ..., Wu Fengguang, (Wed Mar 10, 6:45 pm)
Re: [RFC PATCH] Fix Readahead stalling by plugged device q ..., Christian Ehrhardt, (Thu Mar 11, 2:58 am)