Re: [PATCH 1/4] cfq-iosched: Keep track of average think time for the sync-noidle workload.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Moyer
Date: Tuesday, June 1, 2010 - 12:31 pm

Vivek Goyal <vgoyal@redhat.com> writes:



I think you know the answer to that.  ;-)  Thanks for catching this.


The idea behind the patch is to optimize the idling such that we don't
wait needlessly for more sync-noidle I/O when it likely isn't coming.
As mentioned in the patch description, it aims to bring the sync-noidle
workload, which is treated like a single cfqq, more in-line with the
handling of a single cfqq.


I'm not sure I follow 100%.  Are you saying we should disable idling for
the sync-noidle workload if the think time is too long?  That sounds
reasonable.


Again, looking for clarification on this point.


Right, thanks for pointing this out.  Do we have a test case that
exposes this issue?  We really need to start a regression test suite for
CFQ.  Also, I had promised to run some numbers for you with cgroups
enabled and I didn't.  I'll get that data before the next posting.

Thanks for the review, Vivek!

-Jeff
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/4] cfq-iosched: Keep track of average think t ..., Jeff Moyer, (Tue Jun 1, 12:31 pm)