Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 1997 03:00:26 +0000 (GMT)
From:      Jason Young <doogie@forbidden-donut.anet-stl.com>
To:        john hood <cgull@smoke.marlboro.vt.us>
Cc:        Søren Schmidt <sos@sos.freebsd.dk>, freebsd-current@FreeBSD.ORG
Subject:   Re: code talks:  announcing EIDE bus master patches
Message-ID:  <Pine.BSF.3.96.970730025009.27091A-100000@forbidden-donut.anet-stl.com>
In-Reply-To: <199707290424.AAA23424@smoke.marlboro.vt.us>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----


On Tue, 29 Jul 1997, john hood wrote:

> I've been coding up bus-mastering support for EIDE drives, and I'm at
> a point where I can release it to the world.  I've got a patch against
> 2.2.2 available and various notes for the enjoyment of the curious
> kernel hacker.  The wd driver is enough of a living fossil that the
> patches should apply easily to any kernel since then, though.

I'm not sure what this driver did to my 1GB Seagate, but all I have to say
is buy this man a beer. :)  The machine: AMD 5x86-133, 1GB seagate and
1.2GB WD EIDE drives, 32MB RAM.  I ran these stats several times on an
idle system without appreciable changes each time I ran them. 

The 'before' picture:

%dd if=/dev/rwd0 of=/dev/null bs=1024 count=20000
20000+0 records in
20000+0 records out
20480000 bytes transferred in 37.234251 secs (550031 bytes/sec)
%dd if=/dev/rwd0 of=/dev/null bs=1024 count=20000
20000+0 records in
20000+0 records out
20480000 bytes transferred in 19.194747 secs (1066959 bytes/sec)

The 'after' picture:

%dd if=/dev/rwd0 of=/dev/null bs=1024 count=20000
20000+0 records in
20000+0 records out
20480000 bytes transferred in 8.717158 secs (2349390 bytes/sec)
%dd if=/dev/rwd0 of=/dev/null bs=1024 count=20000
20000+0 records in
20000+0 records out
20480000 bytes transferred in 19.363463 secs (1057662 bytes/sec)

- -----

Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Wed Jul 30 01:44:36 CDT 1997
    doogie@toybox.anet-stl.com:/usr/src/sys/compile/TOYBOX
CPU: AMD Am5x86 Write-Back (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x4f4  Stepping=4
  Features=0x1<FPU>
real memory  = 33554432 (32768K bytes)
avail memory = 31006720 (30280K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 5 on isa
ed0: address 00:40:95:26:a1:d0, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <ST51080A>, 32-bit, multi-block-32
wd0: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <WDC AC31200F>, 32-bit, multi-block-16
wd1: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
npx0 on motherboard
npx0: INT 16 interface

I'll be happy to answer any questions or do any additional testing that
anyone's interested in. 

Jason Young
ANET Technical Staff

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQB1AwUBM96uTKInE6ybC66VAQFX5AL/UKNaLG1pr71QTYxqWIhcJQMcyp2D21iz
0vYZ0L3keCqlq0ZRU7nFJUbHexgBaSBhkOMTc6xROBOi/hBrfEAfAC+tzoDIc3Fz
XxHdWSUSJ4TXW00ez8QIBFDs3VKaibek
=BhEi
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970730025009.27091A-100000>