From owner-freebsd-questions Sun Jun 20 11:49:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from revolution.3-cities.com (revolution.3-cities.com [204.203.224.155]) by hub.freebsd.org (Postfix) with ESMTP id 8B20B14C17 for ; Sun, 20 Jun 1999 11:49:54 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (kenn1210.bossig.com [208.26.241.210]) by revolution.3-cities.com (8.9.3/8.9.3) with ESMTP id LAA26233; Sun, 20 Jun 1999 11:49:50 -0700 (PDT) Message-ID: <376D3795.613E1B1D@3-cities.com> Date: Sun, 20 Jun 1999 11:48:53 -0700 From: Kent Stewart Reply-To: kstewart@3-cities.com Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.51 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Tetsuya Watanabe Cc: freebsd-questions@FreeBSD.ORG Subject: Re: intel piix4 tuning References: <376D310F.F7CEDE2B@prodigy.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tetsuya Watanabe wrote: > > Hello, > > I would like to know how to turn on DMA33 or piomode4, at least, of > intel piix4 chip. I am sure wdc0 is a dma33 hdd. Thank you. I use the flags from the wdc2 example in the /sys/i386/conf/LINT on my HD controllers. The read rate on my main drive went from 3.8MB/s to 14+MB/s. My main drive supports UDMA33 and the rest are PIO 4. I used the same setting for all four drives. It negotiated down to what the device supported. Kent > > I have the following parameters in my kernel: > controller wdc0 at isa? port "IO_WD1" bio irq 14 > disk wd0 at wdc0 drive 0 > disk wd1 at wdc0 drive 1 > > controller wdc1 at isa? port "IO_WD2" bio irq 15 > disk wd2 at wdc1 drive 0 > disk wd3 at wdc1 drive 1 > > options ATAPI #Enable ATAPI support for IDE bus > options ATAPI_STATIC #Don't do it as an LKM > device acd0 #IDE CD-ROM > > I now have the following dmesg output: > ide_pci0: rev 0x01 on pci0.7.1 > wdc0 at 0x1f0-0x1f7 irq 14 on isa > wdc0: unit 0 (wd0): > wd0: 6197MB (12692736 sectors), 12592 cyls, 16 heads, 63 S/T, 512 B/S > wdc0: unit 1 (wd1): > wd1: 3077MB (6303024 sectors), 6253 cyls, 16 heads, 63 S/T, 512 B/S > wdc1 at 0x170-0x177 irq 15 on isa > wdc1: unit 0 (wd2): > wd2: 4134MB (8467200 sectors), 8400 cyls, 16 heads, 63 S/T, 512 B/S > wdc1: unit 1 (atapi): , > removable, dma, iordy > acd0: drive speed 2412 - 5512KB/sec, 128KB cache > acd0: supported read types: CD-R, CD-RW, CD-DA > acd0: Audio: play, 256 volume levels > acd0: Mechanism: ejectable tray > acd0: Medium: no/blank disc inside, unlocked > > Tetsuya > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message