Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 1999 11:48:53 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        Tetsuya Watanabe <tetsuya1@prodigy.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: intel piix4 tuning
Message-ID:  <376D3795.613E1B1D@3-cities.com>
References:  <376D310F.F7CEDE2B@prodigy.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
> wdc0 at 0x1f0-0x1f7 irq 14 on isa
> wdc0: unit 0 (wd0): <IBM-DHEA-36481>
> wd0: 6197MB (12692736 sectors), 12592 cyls, 16 heads, 63 S/T, 512 B/S
> wdc0: unit 1 (wd1): <ST33240A>
> 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): <IBM-DCAA-34330>
> wd2: 4134MB (8467200 sectors), 8400 cyls, 16 heads, 63 S/T, 512 B/S
> wdc1: unit 1 (atapi): <NEC                 CD-ROM DRIVE:28C/3.02>,
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?376D3795.613E1B1D>