From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JC3cl-00078z-93 for garchives@archives.gentoo.org; Tue, 08 Jan 2008 01:51:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FB17E08C1; Tue, 8 Jan 2008 01:51:04 +0000 (UTC) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by pigeon.gentoo.org (Postfix) with ESMTP id 2C1E1E08C0 for ; Tue, 8 Jan 2008 01:51:03 +0000 (UTC) Received: by fk-out-0910.google.com with SMTP id 18so15394260fkq.2 for ; Mon, 07 Jan 2008 17:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Shb9ec28GVspF7fRhDXQHoEvvUm9QpVGRfBEUiNEdOU=; b=W20vi73QWQhEuZqHIkbewBD7+nssG1gJlYcYYtaUXdUjDAAIWw+iG26qiNTiNnya3whozUMBkMTa6873JrthFsGwVeLlSQTX65VEHZkkAvgtAMExRyWXYWC3hcbZOlqnlBukohdWeZcicdHkoq7bDXKU2Be2P2TghuROEm++99I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FR5gCjW2r9rujWrxYoWfZLCI+VcWrnBB1N0L608k40OgR30gWSt4hvWY9ReZUhD7iTD2XWNaxglVUfnAVnroGGwXpn0FiEvazdLx9wt+uWvMsxPj0M1Fd5AarO02kkm4q1y9XcCt1dcck5eBOyimfRzTu4zhDscUVByjdAO63AM= Received: by 10.78.134.2 with SMTP id h2mr64514hud.77.1199757062284; Mon, 07 Jan 2008 17:51:02 -0800 (PST) Received: by 10.78.129.17 with HTTP; Mon, 7 Jan 2008 17:51:02 -0800 (PST) Message-ID: <642958cc0801071751r726bd332y6da3b55974e046a5@mail.gmail.com> Date: Mon, 7 Jan 2008 20:51:02 -0500 From: "Mark Shields" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Incredibly slow disk access In-Reply-To: <4782D3DF.9050909@bellsouth.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_40332_32409950.1199757062277" References: <4782C33E.10200@gmail.com> <1199752521.31834.16.camel@rattus> <4782D3DF.9050909@bellsouth.net> X-Archives-Salt: fea796ac-13d4-4462-b000-a7ce43248cc5 X-Archives-Hash: 39db13e187a1e7d13c65b92bea9e776a ------=_Part_40332_32409950.1199757062277 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Jan 7, 2008 8:37 PM, Dale wrote: > William Kenworthy wrote: > > Check the options for your chipset in the kernel - look at device > > drivers and ata/... devices. Looks like its just defaulted to the > > minimum as it hasnt seen what chipset you are using. > > > > Also consider moving to libata - seems better where I have tried it. > > > > BillK > > > > > > On Tue, 2008-01-08 at 02:26 +0200, Wayn0 wrote: > > > >> Hi All, > >> > >> I have installed gentoo on my laptop recently and I am having a huge > >> problem with speed. > >> > >> The problem is the insanely slow disk access that I am getting. > >> > >> here is some output: > >> > >> manticore ~ # hdparm -tT /dev/hda > >> > >> /dev/hda: > >> Timing cached reads: 5702 MB in 2.00 seconds = 2857.11 MB/sec > >> Timing buffered disk reads: 6 MB in 3.37 seconds = 1.78 MB/sec > >> > >> manticore ~ # /etc/init.d/hdparm start > >> * Running hdparm on /dev/hda ... > >> HDIO_SET_DMA failed: Operation not permitted > >> [ ok ] > >> * Running hdparm on /dev/hdd ... > >> HDIO_SET_DMA failed: Operation not permitted > >> [ ok ] > >> > >> > >> I read on a forum somewhere that this could be caused by the HAL daemon > >> so I shut that down and no luck :-( > >> > >> Any ideas? > >> > >> Thanks > >> Wayn0 > >> > > Also check that DMA is enabled. If you have the wrong or no chipset > selected in your kernel, it won't be there. lspci may be a good one to > check as well. > > Dang, that is slow tho. > > Dale > > :-) :-) > -- > gentoo-user@lists.gentoo.org mailing list > > I'd also recommending after checking for the above, also check what level of UDMA is set. Try this: hdparm -I /dev/hda | grep -i dma Yours should say probably either udma3 or udma4. My SATA-I drive is set to udma5, for example: hdparm -I /dev/sda | grep -i dma DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6 -- - Mark Shields ------=_Part_40332_32409950.1199757062277 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Jan 7, 2008 8:37 PM, Dale <dalek1967@bellsouth.net> wrote:
William Kenworthy wrote:
> Check the options for your chipset in the kernel - look at device
> drivers and ata/... devices.  Looks like its just defaulted to the
> minimum as it hasnt seen what chipset you are using.
>
> Also consider moving to libata - seems better where I have tried it.
>
> BillK
>
>
> On Tue, 2008-01-08 at 02:26 +0200, Wayn0 wrote:
>
>> Hi All,
>>
>> I have installed gentoo on my laptop recently and I am having a huge
>> problem with speed.
>>
>> The problem is the insanely slow disk access that I am getting.
>>
>> here is some output:
>>
>> manticore ~ # hdparm -tT /dev/hda
>>
>> /dev/hda:
>>   Timing cached reads:   5702 MB in  2.00 seconds = 2857.11 MB/sec
>>   Timing buffered disk reads:    6 MB in   3.37 seconds =   1.78 MB/sec
>>
>> manticore ~ # /etc/init.d/hdparm start
>>   * Running hdparm on /dev/hda ...
>>   HDIO_SET_DMA failed: Operation not permitted
>>     [ ok ]
>>   * Running hdparm on /dev/hdd ...
>>   HDIO_SET_DMA failed: Operation not permitted
>>     [ ok ]
>>
>>
>> I read on a forum somewhere that this could be caused by the HAL daemon
>> so I shut that down and no luck :-(
>>
>> Any ideas?
>>
>> Thanks
>> Wayn0
>>

Also check that DMA is enabled.  If you have the wrong or no chipset
selected in your kernel, it won't be there.  lspci may be a good one to
check as well.

Dang, that is slow tho.

Dale

:-)  :-)

I'd also recommending after checking for the above, also check what level of UDMA is set.  Try this:  hdparm -I /dev/hda | grep -i dma

Yours should say probably either udma3 or udma4.  My SATA-I drive is set to udma5, for example:

hdparm -I /dev/sda | grep -i dma
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6

--
- Mark Shields ------=_Part_40332_32409950.1199757062277-- -- gentoo-user@lists.gentoo.org mailing list