Re: Bad SSD performance with recent kernels

From: Wu Fengguang
Date: Sun Jan 29 2012 - 01:09:31 EST


On Sat, Jan 28, 2012 at 02:33:31PM +0100, Eric Dumazet wrote:
> Le samedi 28 janvier 2012 Ã 20:51 +0800, Wu Fengguang a Ãcrit :
>
> > Would you please create a filesystem and large file on sda and run the
> > tests on the file? There was some performance bug on reading the raw
> > /dev/sda device file..
>
> Hmm... latest kernel has the performance bug right now.
>
> Really if /dev/sda is slow, we are stuck.

What's the block size? If it's < 4k, performance might be hurt.

blockdev --getbsz /dev/sda

> FYI, I started a bisection.

Thank you! If the bisection would take much human time, it should be
easier to collect some blktrace data on reading /dev/sda for analyzes.

Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/