Gentoo Archives: gentoo-user

From: Mark Shields <laebshade@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Incredibly slow disk access
Date: Tue, 08 Jan 2008 01:51:27
Message-Id: 642958cc0801071751r726bd332y6da3b55974e046a5@mail.gmail.com
In Reply to: Re: [gentoo-user] Incredibly slow disk access by Dale
1 On Jan 7, 2008 8:37 PM, Dale <dalek1967@×××××××××.net> wrote:
2
3 > William Kenworthy wrote:
4 > > Check the options for your chipset in the kernel - look at device
5 > > drivers and ata/... devices. Looks like its just defaulted to the
6 > > minimum as it hasnt seen what chipset you are using.
7 > >
8 > > Also consider moving to libata - seems better where I have tried it.
9 > >
10 > > BillK
11 > >
12 > >
13 > > On Tue, 2008-01-08 at 02:26 +0200, Wayn0 wrote:
14 > >
15 > >> Hi All,
16 > >>
17 > >> I have installed gentoo on my laptop recently and I am having a huge
18 > >> problem with speed.
19 > >>
20 > >> The problem is the insanely slow disk access that I am getting.
21 > >>
22 > >> here is some output:
23 > >>
24 > >> manticore ~ # hdparm -tT /dev/hda
25 > >>
26 > >> /dev/hda:
27 > >> Timing cached reads: 5702 MB in 2.00 seconds = 2857.11 MB/sec
28 > >> Timing buffered disk reads: 6 MB in 3.37 seconds = 1.78 MB/sec
29 > >>
30 > >> manticore ~ # /etc/init.d/hdparm start
31 > >> * Running hdparm on /dev/hda ...
32 > >> HDIO_SET_DMA failed: Operation not permitted
33 > >> [ ok ]
34 > >> * Running hdparm on /dev/hdd ...
35 > >> HDIO_SET_DMA failed: Operation not permitted
36 > >> [ ok ]
37 > >>
38 > >>
39 > >> I read on a forum somewhere that this could be caused by the HAL daemon
40 > >> so I shut that down and no luck :-(
41 > >>
42 > >> Any ideas?
43 > >>
44 > >> Thanks
45 > >> Wayn0
46 > >>
47 >
48 > Also check that DMA is enabled. If you have the wrong or no chipset
49 > selected in your kernel, it won't be there. lspci may be a good one to
50 > check as well.
51 >
52 > Dang, that is slow tho.
53 >
54 > Dale
55 >
56 > :-) :-)
57 > --
58 > gentoo-user@l.g.o mailing list
59 >
60 >
61 I'd also recommending after checking for the above, also check what level of
62 UDMA is set. Try this: hdparm -I /dev/hda | grep -i dma
63
64 Yours should say probably either udma3 or udma4. My SATA-I drive is set to
65 udma5, for example:
66
67 hdparm -I /dev/sda | grep -i dma
68 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
69
70 --
71 - Mark Shields

Replies

Subject Author
Re: [gentoo-user] Incredibly slow disk access Renat Golubchyk <ragermany@×××.net>