Re: 2.6.20-rc2+: CFQ halving disk throughput.

From: Jan Engelhardt
Date: Tue Jan 02 2007 - 12:15:01 EST



On Jan 2 2007 10:01, Mark Lord wrote:
> Jens Axboe wrote:
>>
>> > But surely one of (not sure which) sync+async or async+sync may also
>> > be okay?
>> > Or would it?
>>
>> Async merge to sync request should be ok. But I wonder what happens with
>> hdparm, since it seems to trigger one of these tests. Very puzzling.
>> I'll dive in and take a look.
>
> The code (written 10 years ago) isn't the best in the world,
> and will be redone entirely for hdparm-7.0 this year.
>
> But right now, it essentially does this:
>
> loop:
> seek( to sector zero );
> read( 2MBytes );
> repeat loop for 3 seconds

Well for pure reading speed, I already use dd_rescue -d /dev/hda /dev/null
Gives the same as hdparm -t when acting on uncached data.


-`J'
--
-
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/