Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 1998 18:35:34 -0700 (PDT)
From:      Donald Burr <dburr@POBoxes.com>
To:        Mark Mayo <mark@vmunix.com>
Cc:        hardware@FreeBSD.ORG, stable@FreeBSD.ORG
Subject:   RE: best wdc0 flags ?
Message-ID:  <XFMail.980418183534.dburr@POBoxes.com>
In-Reply-To: <19980418023307.34709@vmunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

My secret spy satellite informs me that on 18-Apr-98, Mark Mayo wrote:

> Hi. I just put a shiney new IDE (Ultra33) drive in a machine, and
> I'm wondering what the best flags to use for the drive are.. I realize
> that I can't get DMA on -STABLE (cvsupping right now), but with the
> default LINT flags of:
> controller    wdc0    at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004
> which turns on 32-bit transfers and multi-block-4

The best combination of flags is 0x80ff, this will turn on 32-bit
transfers and will do multi-block up to the maximum that is supported by
the drive.

> I'm gettting really crappy performance.. 
> 
> vnode:{76}~ % iozone 160 32000
> ...
> IOZONE performance measurements:
>       2237052 bytes/second for writing the file
>       2264181 bytes/second for reading the file

My results are: (using flags 0x80ff80ff):

IOZONE performance measurements:
        4828250 bytes/second for writing the file
        5620741 bytes/second for reading the file

This is on a Maxtor 4.3 GB UDMA33 (84320D4).
- ---
Donald Burr <dburr@POBoxes.com> - Ask me for my PGP key | PGP: Your
WWW HomePage: http://DonaldBurr.base.org/  ICQ #1347455 | right to
Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
Phone: (805) 957-9666    FAX: (800) 492-5954            | USE IT.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNTlU4fjpixuAwagxAQGBrwP+No/b/QpXLcD2hHxuo2OBNXwy2hPJCqLx
VzrsURMgx94MPE0SMdDM5iTsvB0KNB1olzkAr9X7FU617BvsyQCoEdzkkgrRXN3k
a7eH3xbc6Bql5FI1fF2suvV46W2RjQ717/1QOWfl8C3mN/s+U24oGQw1Bs1qLEox
SQYUpr/hhPs=
=OYZo
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980418183534.dburr>