From owner-freebsd-hardware Sat Apr 18 18:40:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA19080 for freebsd-hardware-outgoing; Sat, 18 Apr 1998 18:40:58 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from colossus.dyn.ml.org (dburr@206-18-112-191.la.inreach.net [206.18.112.191]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA19044; Sun, 19 Apr 1998 01:40:49 GMT (envelope-from dburr@colossus.dyn.ml.org) Received: (from dburr@localhost) by colossus.dyn.ml.org (8.8.8/8.8.7) id SAA02024; Sat, 18 Apr 1998 18:35:36 -0700 (PDT) (envelope-from dburr) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19980418023307.34709@vmunix.com> Date: Sat, 18 Apr 1998 18:35:34 -0700 (PDT) Organization: Computer Help From: Donald Burr To: Mark Mayo Subject: RE: best wdc0 flags ? Cc: hardware@FreeBSD.ORG, stable@FreeBSD.ORG Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----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 - 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