Re: CFQ read performance regression

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Corrado Zoccolo
Date: Saturday, April 17, 2010 - 5:46 am

Hi Miklos,
I don't think this is related to CFQ. I've made a graph of the
accessed (read) sectors (see attached).
You can see that the green cloud (2.6.16) is much more concentrated,
while the red one (2.6.32) is split in two, and you can better
recognize the different lines.
This means that the FS put more distance between the blocks of the
files written by the tio threads, and the read time is therefore
impacted, since the disk head has to perform longer seeks. On the
other hand, if you read those files sequentially with a single thread,
the performance may be better with the new layout, so YMMV. When
testing 2.6.32 and up, you should consider testing also with
low_latency setting disabled, since tuning for latency can negatively
affect throughput.

Thanks,
Corrado

On Fri, Apr 16, 2010 at 2:27 PM, Miklos Szeredi <mszeredi@suse.cz> wrote:



-- 
__________________________________________________________________________

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:
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)