Re: CFQ read performance regression

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Corrado Zoccolo
Date: Saturday, April 24, 2010 - 1:36 pm

On Fri, Apr 23, 2010 at 12:57 PM, Miklos Szeredi <mszeredi@suse.cz> wrote:
Hi Vivek,
I tried to implement exactly what you are proposing, see the attached patches.
I leverage the queue merging features to let multiple cfqqs share the
disk in the same timeslice.
I changed the queue split code to trigger on throughput drop instead
of on seeky pattern, so diverging queues can remain merged if they
have good throughput. Moreover, I measure the max bandwidth reached by
single queues and merged queues (you can see the values in the
bandwidth sysfs file).
If merged queues can outperform non-merged ones, the queue merging
code will try to opportunistically merge together queues that cannot
submit enough requests to fill half of the NCQ slots. I'd like to know
if you can see any improvements out of this on your hardware. There
are some magic numbers in the code, you may want to try tuning them.
Note that, since the opportunistic queue merging will start happening
only after merged queues have shown to reach higher bandwidth than
non-merged queues, you should use the disk for a while before trying
the test (and you can check sysfs), or the merging will not happen.

Is the BW for 1 single reader also better on 2.6.16, or the
improvement is only seen with more concurrent readers?

Thanks,
Corrado
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
CFQ read performance regression, Miklos Szeredi, (Fri Apr 16, 5:27 am)
Re: CFQ read performance regression, Chris, (Fri Apr 16, 10:06 am)
Re: CFQ read performance regression, Corrado Zoccolo, (Sat Apr 17, 5:46 am)
Re: CFQ read performance regression, Miklos Szeredi, (Mon Apr 19, 4:46 am)
Re: CFQ read performance regression, Corrado Zoccolo, (Tue Apr 20, 1:50 pm)
Re: CFQ read performance regression, Miklos Szeredi, (Wed Apr 21, 6:25 am)
Re: CFQ read performance regression, Miklos Szeredi, (Wed Apr 21, 9:05 am)
Re: CFQ read performance regression, Corrado Zoccolo, (Thu Apr 22, 12:59 am)
Re: CFQ read performance regression, Miklos Szeredi, (Thu Apr 22, 3:23 am)
Re: CFQ read performance regression, Jan Kara, (Thu Apr 22, 8:53 am)
Re: CFQ read performance regression, Vivek Goyal, (Thu Apr 22, 1:31 pm)
Re: CFQ read performance regression, Miklos Szeredi, (Fri Apr 23, 3:48 am)
Re: CFQ read performance regression, Miklos Szeredi, (Fri Apr 23, 3:57 am)
Re: CFQ read performance regression, Corrado Zoccolo, (Sat Apr 24, 1:36 pm)
Re: CFQ read performance regression, Vivek Goyal, (Mon Apr 26, 6:50 am)
Re: CFQ read performance regression, Vivek Goyal, (Mon Apr 26, 12:14 pm)
Re: CFQ read performance regression, Corrado Zoccolo, (Tue Apr 27, 10:25 am)
Re: CFQ read performance regression, Vivek Goyal, (Wed Apr 28, 1:02 pm)
Re: CFQ read performance regression, Corrado Zoccolo, (Sat May 1, 5:13 am)
Re: CFQ read performance regression, Miklos Szeredi, (Mon Jun 14, 10:59 am)
Re: CFQ read performance regression, Vivek Goyal, (Mon Jun 14, 11:06 am)