From owner-freebsd-questions Mon Apr 1 13:29:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 4E8FA37B416 for ; Mon, 1 Apr 2002 13:29:23 -0800 (PST) Received: (qmail 40163 invoked from network); 1 Apr 2002 21:28:53 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 1 Apr 2002 21:28:53 -0000 Date: Mon, 1 Apr 2002 16:28:52 -0500 (EST) From: Kenneth Culver To: George Georgalis Cc: Kevin Stevens , Nick Lozinsky , Subject: Re: EIDE drive performance improvements In-Reply-To: <20020401120222.G23357@trot.haven.dom> Message-ID: <20020401162402.K40027-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There's no real way to force it, FreeBSD by default chooses the fastest safe settings for a drive. if that is an IBM you might be able to turn on tagged queueing, which should speed things up however... hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 0 hw.ata.atapi_dma: 1 these are the sysctl options that you can change from /boot/loader.conf. if you do a sysctl hw.ata it should display these values. Make sure that hw.ata.wc is set to 1 (although this can sometimes be risky) and if you think your drive supports tagged queueing you can turn that on too, to do this just add the line hw.ata.tags=1 to /boot/loader.conf And you still didn't answer my question about having the 80-conductor cable. Also, if you have that ibm drive hooked to the same cable as an ata33 drive, the IBM will not go any faster than ata33. Ken On Mon, 1 Apr 2002, George Georgalis wrote: > re: using 80 wire cables, not sure. it's a sony laptop PCG505LS > >> ad0: 19077MB [38760/16/63] at ata0-master UDMA33 > > I did minimal experimentation under Linux but this line helped speed things up a lot > hdparm -c3 -m16 /dev/hda > > I do a fair amount of disk thrashing stuff and don't recall any problems. Can I force faster settings under FreeBSD? > > // George > > On Sun, Mar 31, 2002 at 11:18:41PM -0500, Kenneth Culver wrote: > >Are you using 80 wire cables? FreeBSD won't set it up in anything higher > >than UDMA33 if you aren't. > > > >Ken > > > >On Sun, 31 Mar 2002, George Georgalis wrote: > > > >> On Thu, Mar 28, 2002 at 12:55:13PM -0500, Kenneth Culver wrote: > >> >yeah, or just type dmesg, drive configuration will be at the end of a > >> >dmesg command > >> > > >> >Ken > >> > > >> >On Thu, 28 Mar 2002, Kevin Stevens wrote: > >> > > >> >> > >> >> > >> >> On Thu, 28 Mar 2002, Kenneth Culver wrote: > >> >> > >> >> > No, the driver automatically enables the fastest modes and such. > >> >> > > >> >> > Ken > >> >> > >> >> And you can check in /var/run/dmesg.boot to see what mode got configured. > >> >> > >> >> KeS > >> > >> I've been wondering about this... and it doesn't look is if it was probed correctly... > >> > >> ad0: 19077MB [38760/16/63] at ata0-master UDMA33 > >> > >> I set it faster under linux, what's up? > >> > >> // George > >> > >> > >> -- > >> GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229 > >> Security Services, Web, Mail, mailto:george@galis.org > >> File, Print, DB and DNS Servers. http://www.galis.org/george > >> > >> > > > > -- > GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229 > Security Services, Web, Mail, mailto:george@galis.org > File, Print, DB and DNS Servers. http://www.galis.org/george > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message