Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 1999 09:38:19 -0700 (PDT)
From:      mike@hyperreal.org
To:        freebsd-questions@freebsd.org
Subject:   Optimizing IDE performance revisited
Message-ID:  <19990617163819.14715.qmail@hyperreal.org>

next in thread | raw e-mail | index | archive | help
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




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