* [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda
@ 2006-06-07 20:07 Mivz
2006-06-07 20:27 ` Greg KH
2006-06-07 21:00 ` Daniel Drake
0 siblings, 2 replies; 3+ messages in thread
From: Mivz @ 2006-06-07 20:07 UTC (permalink / raw
To: gentoo-dev
Hello,
I have a Intel SATA controler in my laptop and it is adressed as
/dev/sda. My cdrom is /dev/hdc.
My cdrom drive I can configure with hdparm to use dma and 32-bit io and
it has a nice speed:
/dev/hdc:
Timing cached reads: 1408 MB in 2.00 seconds = 702.55 MB/sec
Timing buffered disk reads: 4 MB in 5.56 seconds = 736.64 kB/sec
I can not use hdparm to configure /dev/sda, also sdparm can not set
anything:
sdparm --set UDMA6=1 /dev/sg0
/dev/sg0: ATA HTS726060M9AT00 MH4O
change_mode_page: failed setting page: SAT pATA control
This happens with all options, also awre, arre and wce. The speed of
this disk:
/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.
It was almost 4 times as fast.
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?
Mivz
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda
2006-06-07 20:07 [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda Mivz
@ 2006-06-07 20:27 ` Greg KH
2006-06-07 21:00 ` Daniel Drake
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2006-06-07 20:27 UTC (permalink / raw
To: gentoo-dev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda
2006-06-07 20:07 [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda Mivz
2006-06-07 20:27 ` Greg KH
@ 2006-06-07 21:00 ` Daniel Drake
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Drake @ 2006-06-07 21:00 UTC (permalink / raw
To: gentoo-dev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-07 21:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07 20:07 [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda Mivz
2006-06-07 20:27 ` Greg KH
2006-06-07 21:00 ` Daniel Drake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox