From owner-freebsd-questions Thu Jun 17 9:38:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hyperreal.org (taz.hyperreal.org [209.133.83.16]) by hub.freebsd.org (Postfix) with SMTP id BC9DF1506E for ; Thu, 17 Jun 1999 09:38:19 -0700 (PDT) (envelope-from mike@hyperreal.org) Received: (qmail 14716 invoked by uid 12); 17 Jun 1999 16:38:19 -0000 Message-ID: <19990617163819.14715.qmail@hyperreal.org> From: mike@hyperreal.org Subject: Optimizing IDE performance revisited To: freebsd-questions@freebsd.org Date: Thu, 17 Jun 1999 09:38:19 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL51 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OK, from posts here and on the newsgroup, and the 'wd' man page, I found that flags 0xb0ffb0ff were sufficient to enable the kernel to use an IDE controller's 32-bit transfer, bus mastering, LBA addressing and multi-sector transfer capabilities: controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xb0ffb0ff I saw a reference on the newsgroup to the fact that FreeBSD 3.0 and up supports "PIO".. I've looked at the source in /sys/i386/isa/wd.c and only saw one reference to PIO as some kind of fallback. My controller is capable of PIO mode 3 (11.1 MB/s in theory). No info about DMA modes. My question is: is this as optimized as it can be, or no? I haven't really noticed an improvement, is why I ask. FWIW, I've tried a couple of benchmark programs from the ports collection. IOZONE reports 1.8 MB/s write and 5.5 MB/s read for a 25 MB file. Bonnie reports 1.8 MB/s write (char), 2.8 MB/s write (block), 4.4 MB/s read (char), 14.9 MB/s read (block), for a 100 MB file. - Mike ______________________________________________________________________ Mike Brown / Hyperreal | Director, Hyperreal Music Archive PO Box 61334 | http://www.hyperreal.org/music/ Denver CO 80206-8334 USA | Software Engineer, www.netIgnite.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message