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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Corrado Zoccolo
Date: Friday, July 9, 2010 - 3:33 am

On Wed, Jul 7, 2010 at 10:06 PM, Jeff Moyer <jmoyer@redhat.com> wrote:

Wondering why deadline performs so well in the fs_mark workload. Is it
because it doesn't distinguish between sync and async writes?
Maybe we can achieve something similar by putting all sync writes
(that are marked as REQ_NOIDLE) in the noidle tree? This, coupled with
making jbd(2) perform sync writes, should make the yield automatic,
since they all live in the same tree for which we don't idle between
queues, and should be able to provide fairness compared to a
sequential reader (that lives in the other tree).

Can you test the attached patch, where I also added your changes to
make jbd(2) to perform sync writes?

Thanks,
Corrado




-- 
__________________________________________________________________________

dott. Corrado Zoccolo                          mailto:czoccolo@gmail.com
PhD - Department of Computer Science - University of Pisa, Italy
--------------------------------------------------------------------------
The self-confidence of a warrior is not the self-confidence of the average
man. The average man seeks certainty in the eyes of the onlooker and calls
that self-confidence. The warrior seeks impeccability in his own eyes and
calls that humbleness.
                               Tales of Power - C. Castaneda
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., 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)