Re: [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda

2006-06-07 Thread Daniel Drake

Mivz wrote:

/dev/sda:
 Timing cached reads:   1424 MB in  2.00 seconds = 711.96 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
ioctl for device
 Timing buffered disk reads:  114 MB in  3.00 seconds =  37.95 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
ioctl for device

Now I tryed a old Gentoo 1.4-rc1 livecd, cause this one loads the disk
still as /dev/hda and not sda.
After enabling dma, 32bit io and udma: hdparm -X66 -c1 -d1

It had a speed of 2560.00 MB/sec bufferd
and 37,65 unbufferd.



The unbuffered speed is identical, the cached read is the only 
difference. Cached reads are not a test of hard disk performance, this 
is a mostly useless benchmark (note that on that metric, your cdrom 
drive performs at the same speed as your hard disk...)


Daniel
--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda

2006-06-07 Thread Greg KH
On Wed, Jun 07, 2006 at 10:07:07PM +0200, Mivz wrote:
> Why is it that when I use the new kernel SATA drivers and load is as
> /dev/sda it is slower as with the old IDE drivers?

You didn't tell us which sata drivers you were using, nor what kernel
version.

Either way, try asking this on the linux-kernel or linux-ide mailing
lists, gentoo-dev isn't the right place for it.

good luck,

greg k-h
-- 
gentoo-dev@gentoo.org mailing list