Gentoo Archives: gentoo-user

From: Hal Martin <hal.martin@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Incredibly slow disk access
Date: Wed, 09 Jan 2008 02:51:19
Message-Id: 4784370E.1060304@gmail.com
In Reply to: Re: [gentoo-user] Incredibly slow disk access by Dale
1 I have a Western Digital 250GB SATA-II drive on an NForce4 integrated
2 SATA-II controller, here are my readings...
3
4 hdparm -I /dev/sda | grep -i dma
5 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
6
7 /dev/sda:
8 Timing cached reads: 1646 MB in 2.00 seconds = 823.19 MB/sec
9 Timing buffered disk reads: 172 MB in 3.03 seconds = 56.77 MB/sec
10
11 Machine is an Athlon X2 3800+ running Gentoo 2007.0 AMD64
12
13 A Western Digital 500GB SATA-II drive, connected through a SATA-I PCI
14 card on another Gentoo box reports:
15
16 hdparm -I /dev/sda | grep -i dma
17 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
18 DMA Setup Auto-Activate optimization
19
20 /dev/sda:
21 Timing cached reads: 312 MB in 2.01 seconds = 155.28 MB/sec
22 Timing buffered disk reads: 162 MB in 3.02 seconds = 53.65 MB/sec
23
24 The onboard Maxtor 60GB IDE drive reports:
25
26 hdparm -I /dev/hda | grep -i dma
27 DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
28
29 /dev/hda:
30 Timing cached reads: 312 MB in 2.01 seconds = 155.17 MB/sec
31 Timing buffered disk reads: 76 MB in 3.05 seconds = 24.88 MB/sec
32
33 Machine is a Dell PowerEdge 350, PIII server running Gentoo 2007.0 i386.
34
35 I'm curious, is your optical drive also SATA? If it's not, then how do
36 you intend to access it without ATA/ATAPI drivers?
37
38 -Hal
39
40 Dale wrote:
41 > Wayn0 wrote:
42 >
43 >> William Kenworthy wrote:
44 >>
45 >>> If you have sata drives, and they are showing up as hdx, you have
46 >>> something seriously misconfigured. They should be showing as sdx.
47 >>>
48 >>> Deselect everything in ATA/ATAPI/MFM/RLL and select the relevant boxes
49 >>> in serial ATA. Dont forget fstab will need redoing to match.
50 >>>
51 >>> I always thought that if you select both, serial ata should take
52 >>> precedence, and in some cases you can access via both, but I have at
53 >>> least one machine that will only work as sata with all the older ata
54 >>> stuff deselected.
55 >>>
56 >>> BillK
57 >>>
58 >> Thanks Bill,
59 >>
60 >> removing all the ATA/ATAPI/MFM/RLL stuff sorted it out.
61 >>
62 >> :-)
63 >>
64 >>
65 >> Wayn0
66 >>
67 >
68 > Would you mind posting what speeds you get now? I'm curious myself.
69 >
70 > Thanks
71 >
72 > Dale
73 >
74 > :-) :-)
75 >