From owner-freebsd-questions Thu Apr 4 9:30:34 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 3D64137B41F for ; Thu, 4 Apr 2002 09:30:21 -0800 (PST) Received: (qmail 62082 invoked from network); 4 Apr 2002 17:29:35 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 4 Apr 2002 17:29:35 -0000 Date: Thu, 4 Apr 2002 12:29:35 -0500 (EST) From: Kenneth Culver To: George Georgalis Cc: Kevin Stevens , Nick Lozinsky , Subject: Re: EIDE drive performance improvements In-Reply-To: <20020404115030.B10503@trot.haven.dom> Message-ID: <20020404121933.S62032-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 cdrom on this laptop) I added hw.ata.tags=1 to > /boot/loader.conf and will try a reboot momentarily, can I get around > the reboot? If it doesn't boot, how can I fix it? if it doesn't boot, when you get that screen when you first boot that counts down a timer, hit something other than enter, and type ?. Then look for an option that allows you to unset variables, and unset the hw.ata one. Ken > As for 80-conductor cable on my drive, I don't know and won't be opening > my laptop to find out... how could the OS tell how many conductors > anyway? it's still 40 pin on each side right? The laptop was advertised > as having a 100mhz bus and, not sure 66 or 100 DMA so I expect it has > the 80 conductor cable. The os believe it or not does know, I've tried using ata66 drives on old ide cables, and it gave me a message about not supporting ata66 on 40 conductor cables. > Humm, dmesg identifies an ata33 controler... I _was_ able to speed things up under linux, whether they are the same speed now, not sure. > > atapci0: port 0xfcb0-0xfcbf at device 7.1 on pci0 > ad0: 19077MB [38760/16/63] at ata0-master UDMA33 > > > // George > > > On Mon, Apr 01, 2002 at 04:28:52PM -0500, Kenneth Culver wrote: > >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 > > > > -- > 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