Re: [git patches] IDE update

Jens Axboe
2005-07-05T12:53:52Z

On Tue, 2005-07-05 at 14:35 +0200, Ondrej Zary wrote:
> >>>>2.4.26
> >>>>root@pentium:/home/rainbow# time dd if=/dev/hda of=/dev/null bs=512
> >>>>count=1048576
> >>>>1048576+0 records in
> >>>>1048576+0 records out
> >>>>
> >>>>real 0m23.858s
> >>>>user 0m1.750s
> >>>>sys 0m15.180s
> >>>
> >>>
> >>>Perhaps some read-ahead bug. What happens if you use bs=128k for
> >>>instance?
> >>>
> >>
> >>Nothing - it's still the same.
> >>
> >>root@pentium:/home/rainbow# time dd if=/dev/hda of=/dev/null bs=128k
> >>count=4096
> >>4096+0 records in
> >>4096+0 records out
> >>
> >>real 0m32.832s
> >>user 0m0.040s
> >>sys 0m15.670s
> >
> >
> > Can you post full dmesg of 2.4 and 2.6 kernel boot? What does hdparm
> > -I/-i say for both kernels?
> >
>
> The 2.4.26 kernel is the one from Slackware 10.0 bootable install CD.
> dmesg outputs attached, hdparm -i and hdparm -I shows the same in both
> kernels (compared using diff) - attached too.

Ok, looks alright for both. Your machine is quite slow, perhaps that is
showing the slower performance. Can you try and make HZ 100 in 2.6 and
test again? 2.6.13-recent has it as a config option, otherwise edit
include/asm/param.h appropriately.

--
Jens Axboe <axboe@suse.de>