Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Moyer
Date: Monday, July 19, 2010 - 9:08 am

Vivek Goyal <vgoyal@redhat.com> writes:



Forwarded privately.


Agreed.

Here are the results again with barriers disabled for Corrado's patch:

fs_mark: 348.2 files/sec
fio: 53324.6 KB/s

Remember that deadline was seeing 450 files/sec and 78 MB/s.  So, in
this case, the buffered reader appears to be starved.  Looking into this
further, I found that the journal thread is running with I/O priority 0,
while the fio and fs_mark processes are running at the default (4).
Because the jbd thread has a higher I/O priority, its requests are
always closer to the front of the sort list, and thus the sync-noidle
workload is chosen more often than the sync workload.  This essentially
results in an elevated I/O priority for the fs_mark process as well.
While troubling, that problem is not directly related to the problem
we're looking at.

So, I'm still in favor of Corrado's approach.  Are there any remaining
dissenting opinions on this?

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

Messages in current thread:
[PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Corrado Zoccolo, (Wed Jul 7, 8:22 am)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Corrado Zoccolo, (Wed Jul 7, 8:56 am)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Corrado Zoccolo, (Wed Jul 7, 10:39 am)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Corrado Zoccolo, (Thu Jul 8, 7:38 am)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Corrado Zoccolo, (Thu Jul 8, 7:45 am)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Corrado Zoccolo, (Fri Jul 9, 3:33 am)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Corrado Zoccolo, (Fri Jul 9, 12:45 pm)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Vivek Goyal, (Tue Jul 13, 12:56 pm)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Jeff Moyer, (Mon Jul 19, 9:08 am)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Christoph Hellwig, (Tue Jul 20, 7:11 am)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Corrado Zoccolo, (Tue Jul 20, 12:10 pm)
Re: [PATCH 0/2] cfq-iosched: fixing RQ_NOIDLE handling., Vivek Goyal, (Tue Jul 20, 12:32 pm)