Date: Mon, 1 Apr 2002 16:28:52 -0500 (EST) From: Kenneth Culver <culverk@alpha.yumyumyum.org> To: George Georgalis <george@galis.org> Cc: Kevin Stevens <Kevin_Stevens@pursued-with.net>, Nick Lozinsky <nl3481@wi.rr.com>, <questions@FreeBSD.ORG> Subject: Re: EIDE drive performance improvements Message-ID: <20020401162402.K40027-100000@alpha.yumyumyum.org> In-Reply-To: <20020401120222.G23357@trot.haven.dom>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <IBM-DJSA-220> [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 <IBM-DJSA-220> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020401162402.K40027-100000>