From owner-freebsd-hardware Sat Apr 18 01:09:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA21775 for freebsd-hardware-outgoing; Sat, 18 Apr 1998 01:09:49 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA21766; Sat, 18 Apr 1998 08:09:45 GMT (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id KAA08148; Sat, 18 Apr 1998 10:09:36 +0200 (MEST) (envelope-from sos) Message-Id: <199804180809.KAA08148@sos.freebsd.dk> Subject: Re: best wdc0 flags ? In-Reply-To: <19980418023307.34709@vmunix.com> from Mark Mayo at "Apr 18, 98 02:33:07 am" To: mark@vmunix.com (Mark Mayo) Date: Sat, 18 Apr 1998 10:09:36 +0200 (MEST) Cc: stable@FreeBSD.ORG, hardware@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Mark Mayo who 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 > > 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 > > Now that is horrible. :-) Same results with block-size of 8K. > I think I'll try without the flag option at all and see how it performs. Hmm, you should see about 9M/s from a drive like this.. I havn't run 2.2.x for ages but I've made two NFS servers with 4 of those exact disks using -current, and it gets ~9M/s, so the facts are there... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message