From owner-freebsd-hardware Mon Apr 20 09:31:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA01430 for freebsd-hardware-outgoing; Mon, 20 Apr 1998 09:31:40 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA01183; Mon, 20 Apr 1998 16:30:32 GMT (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id JAA00670; Mon, 20 Apr 1998 09:26:39 -0700 (PDT) Message-Id: <199804201626.JAA00670@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bruce Evans cc: mike@smith.net.au, dburr@POBoxes.com, hardware@FreeBSD.ORG, stable@FreeBSD.ORG, Studded@san.rr.com Subject: Re: best wdc0 flags ? In-reply-to: Your message of "Tue, 21 Apr 1998 02:05:03 +1000." <199804201605.CAA04114@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 20 Apr 1998 09:26:38 -0700 From: Mike Smith Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> > I tried those flags and noticed that it turned on 32-bit transfers for > >> >my wd0, resulting in a 20% increase in throughput. Out of curiosity, why > >> >aren't these flags included in GENERIC? > >> > >> Becuase they break operation of drives that don't support them. > > > >Do we have any examples of controllers that don't? > > I thought I did, but my oldest accessible drive (all 400MB of it from > 4 years ago) supports them. The probe seems to handle any that don't. OK. Should we make it the default then? > Setting the multi-block flag is not such a good optimization, since it > pessimizes throughput on some drives and it increases interrupt latency. Can you qualify "some drives" again? The overall performance improvement in general use is marked, and it decreases interrupt load in the DMA case. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message