Subject: Re: Slow 486 seems really slow
To: Andrew Gillham <gillhaa@ghost.whirlpool.com>
From: Jonathan R. Hinds <jon@fork.yi.org>
List: port-i386
Date: 02/14/2000 18:49:05
On Mon, 14 Feb 2000, Andrew Gillham wrote:

> How about installing 'bonnie' or 'iozone' from pkgsrc and running some
> quick benchmarks?  Or, just use 'dd' for some quite simple benchmarks
> as well.
> 
> On a P-133 with 48MB: 1.4Q, GENERIC (so no SOFTDEP)
> wdc0 at isa0 port 0x1f0-0x1f7 irq 14
> wd0 at wdc0 channel 0 drive 0: <QUANTUM FIREBALL1080A>
> wd0: drive supports 8-sector pio transfers, lba addressing
> wd0: 1039 MB, 2112 cyl, 16 head, 63 sec, 512 bytes/sect x 2128896 sectors
> wd0: drive supports PIO mode 4, DMA mode 2
> 
> dd if=/dev/zero of=junk bs=1m count=20
> 20971520 bytes transferred in 8 secs (2621440 bytes/sec)
> dd if=junk of=/dev/null bs=1m
> 20971520 bytes transferred in 9 secs (2330168 bytes/sec)

Ok, on my Pentium Overdrive 83mhz with 32MB, 1.4.1
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <QUANTUM FIREBALL1280A>
wd0: drive supports 8-sector pio transfers, lba addressing
wd0: 1222MB, 2484 cyl, 16 head, 63 sec, 512 bytes/sect x 2503872 sectors
wd0: drive supports PIO mode 4, DMA mode 2

with the following lines in my kernel config:
wdc0    at isa? port 0x1f0 irq 14 flags 0x01
wd*    at wdc? channel ? drive ? flags 0x0f9b

Note: These were set to:
wdc0    at isa? port 0x1f0 irq 14 flags 0x00
wd*    at wdc? channel ? drive ? flags 0x0000
But changing to the above made no difference in dmesg output.

Yeilds the following:

jagger:/tmp# dd if=/dev/zero of=junk bs=1m count=20
20+0 records in
20+0 records out
20971520 bytes transferred in 13 secs (1613193 bytes/sec)
jagger:/tmp# dd if=junk of=/dev/null bs=1m                                     
20+0 records in
20+0 records out
20971520 bytes transferred in 11 secs (1906501 bytes/sec)

This does not seem to be too much slower. And the kernel is still taking
upwards of 12 hours to compile.

--jon