Gentoo Archives: gentoo-dev

From: Mivz <mivz@×××××××××××××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda
Date: Wed, 07 Jun 2006 20:18:46
Message-Id: 448731EB.8020401@alpha.spugium.net
1 Hello,
2 I have a Intel SATA controler in my laptop and it is adressed as
3 /dev/sda. My cdrom is /dev/hdc.
4 My cdrom drive I can configure with hdparm to use dma and 32-bit io and
5 it has a nice speed:
6
7 /dev/hdc:
8 Timing cached reads: 1408 MB in 2.00 seconds = 702.55 MB/sec
9 Timing buffered disk reads: 4 MB in 5.56 seconds = 736.64 kB/sec
10
11 I can not use hdparm to configure /dev/sda, also sdparm can not set
12 anything:
13
14 sdparm --set UDMA6=1 /dev/sg0
15 /dev/sg0: ATA HTS726060M9AT00 MH4O
16 change_mode_page: failed setting page: SAT pATA control
17
18 This happens with all options, also awre, arre and wce. The speed of
19 this disk:
20
21 /dev/sda:
22 Timing cached reads: 1424 MB in 2.00 seconds = 711.96 MB/sec
23 HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
24 ioctl for device
25 Timing buffered disk reads: 114 MB in 3.00 seconds = 37.95 MB/sec
26 HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
27 ioctl for device
28
29 Now I tryed a old Gentoo 1.4-rc1 livecd, cause this one loads the disk
30 still as /dev/hda and not sda.
31 After enabling dma, 32bit io and udma: hdparm -X66 -c1 -d1
32
33 It had a speed of 2560.00 MB/sec bufferd
34 and 37,65 unbufferd.
35
36 It was almost 4 times as fast.
37
38 Why is it that when I use the new kernel SATA drivers and load is as
39 /dev/sda it is slower as with the old IDE drivers?
40
41 Mivz
42 --
43 gentoo-dev@g.o mailing list

Replies