From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.43)
	id 1E5bbV-0006z1-JZ
	for garchives@archives.gentoo.org; Thu, 18 Aug 2005 04:02:10 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7I3xiw9020532;
	Thu, 18 Aug 2005 03:59:44 GMT
Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204])
	by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7I3tFfb016760
	for <gentoo-user@lists.gentoo.org>; Thu, 18 Aug 2005 03:55:16 GMT
Received: by zproxy.gmail.com with SMTP id x7so234033nzc
        for <gentoo-user@lists.gentoo.org>; Wed, 17 Aug 2005 20:56:13 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=bzBvJpgyT+kEEENj35PuKbi6jxOiRQd31c1ivtNlobw9xgvRKmYeakM7+6Cja/ip6cLZuxs+K3PydrN/wnxUiOn09kZskSKw61fn626G9UOAeiMdTKGaPoHHGHZeM/2YUhwkDWUziOSvn86Vo8a39k80drp7zW79wL8FwNSpFRY=
Received: by 10.36.57.11 with SMTP id f11mr1095062nza;
        Wed, 17 Aug 2005 20:56:12 -0700 (PDT)
Received: by 10.36.58.18 with HTTP; Wed, 17 Aug 2005 20:56:12 -0700 (PDT)
Message-ID: <5bdc1c8b05081720564d765917@mail.gmail.com>
Date: Wed, 17 Aug 2005 20:56:12 -0700
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Slow HD
In-Reply-To: <200508180016.06437.pupeno@pupeno.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <200508171813.12154.pablo.fernandez@reliable.com.ar>
	 <5bdc1c8b0508171930db1d639@mail.gmail.com>
	 <200508172352.39649.pupeno@pupeno.com>
	 <200508180016.06437.pupeno@pupeno.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j7I3tFfb016760
X-Archives-Salt: db0a4575-182c-4d01-9ec9-5f7785477017
X-Archives-Hash: 8efe497dbe51c277bfd2790084a9e43d

On 8/17/05, Pupeno <pupeno@pupeno.com> wrote:
> On Wednesday 17 August 2005 23:52, Pupeno wrote:
> > I have this as module and it seem to be loaded automatically because lsmod
> > shows:
> > piix                    9476  0 [permanent]
> >
> > Maybe it has to be compiled on the kernel (not as a module) to work ?
> I compiled it in the kernel and now DMA is on by default.
> 
> # hdparm /dev/hda
> 
> /dev/hda:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 65535/16/63, sectors = 40007761920, start = 0
> 
> 
> and the tests are better:
> /dev/hda:
>  Timing cached reads:   1332 MB in  2.01 seconds = 664.11 MB/sec
>  Timing buffered disk reads:   76 MB in  3.01 seconds =  25.25 MB/sec
> 
> well, at least the buffered one. Can it be tuned more ?
> 
> Thanks
> --
> Pupeno

Hey, much better results. Cool. The results look pretty reasonable.
You can play around with the read ahead a bit if you want. Try it with
unmaskirq both ways, etc.

Do a reboot also and make sure your settings stick. They probably will
but it's good to do a check while you're looking at this vs. tomorrow
when you're not.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list