Gentoo Archives: gentoo-dev

From: Daniel Drake <dsd@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda
Date: Wed, 07 Jun 2006 21:04:55
Message-Id: 44873E5B.4030506@gentoo.org
In Reply to: [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda by Mivz
1 Mivz wrote:
2 > /dev/sda:
3 > Timing cached reads: 1424 MB in 2.00 seconds = 711.96 MB/sec
4 > HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
5 > ioctl for device
6 > Timing buffered disk reads: 114 MB in 3.00 seconds = 37.95 MB/sec
7 > HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
8 > ioctl for device
9 >
10 > Now I tryed a old Gentoo 1.4-rc1 livecd, cause this one loads the disk
11 > still as /dev/hda and not sda.
12 > After enabling dma, 32bit io and udma: hdparm -X66 -c1 -d1
13 >
14 > It had a speed of 2560.00 MB/sec bufferd
15 > and 37,65 unbufferd.
16 >
17
18 The unbuffered speed is identical, the cached read is the only
19 difference. Cached reads are not a test of hard disk performance, this
20 is a mostly useless benchmark (note that on that metric, your cdrom
21 drive performs at the same speed as your hard disk...)
22
23 Daniel
24 --
25 gentoo-dev@g.o mailing list