Yet More CMD640

Jochen Toppe (jtoppe@hiwaay.net)
Thu, 1 Aug 1996 01:38:50 -0500 (CDT)


[Compare linux 2.0.0 performance: 3.38MB/sec]

Here are the results from cmd640.c Version 0.91, both after a cold start.

First with the parameters ide0=autotune ide1=autotune:

Performance

/dev/hda:
Timing buffer-cache reads: 32 MB in 1.39 seconds =23.02 MB/sec
Timing buffered disk reads: 16 MB in 10.54 seconds = 2.42 MB/sec

Dmesg [SCSI errors due to missing disk in easy drive ;)]

ide_setup: ide0=autotune
ide_setup: ide1=autotune
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fb360
pcibios_init : BIOS32 Service Directory entry at 0xfb710
pcibios_init : PCI BIOS revision 2.00 entry at 0xfb740
Probing PCI hardware.
Calibrating delay loop.. ok - 39.94 BogoMIPS
Memory: 14720k/16384k available (752k kernel code, 384k reserved, 528k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.12 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Swansea University Computer Society IPX 0.34 for NET3.035
IPX Portions Copyright (c) 1995 Caldera, Inc.
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.10 (root@Kolabaer) (gcc version 2.7.2) #2 Wed Jul 31 12:45:21 CDT 1996
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
tty03 at 0x02e8 (irq = 3) is a 16550A
lp1 at 0x0378, (polling)
Sound initialization started
<Pro AudioSpectrum 16D rev 255> at 0x388 irq 12 dma 6
<Yamaha OPL3 FM> at 0x388
Sound initialization complete
loop: registered device at major 7
ide: buggy cmd640B interface on pci1, serialized, secondary interface already enabled
hda: WDC AC31000F, 1033MB w/64kB Cache, LBA, CHS=525/64/63
hdb: WDC AC2420F, 405MB w/64kB Cache, CHS=989/15/56
hdc: TOSHIBA CD-ROM XM-5302TA, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15 (serialized with ide0)
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2
FDC 0 is an 8272A
scsi0 : AM53/79C974 PCscsi driver rev. 0.5; host I/O address: 0x6000; irq: 10

scsi : 1 host.
Vendor: SyQuest Model: EZ135S Rev: 1_13
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 2, lun 0
scsi : detected 1 SCSI disk total.
sda : READ CAPACITY failed.
sda : status = 0, message = 00, host = 0, driver = 28
sda : extended sense code = 2
sda : block size assumed to be 512 bytes, disk size 1GB.
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
wd.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
eth0: WD80x3 at 0x300, 00 00 C0 23 F1 25 WD8003, IRQ 5, shared memory at 0xe0000-0xe1fff.
Partition check:
sda:scsidisk I/O error: dev 08:00, sector 0
unable to read partition table
hda:hda: selected cmd640 PIO mode3 (180ns) w/IORDY (overriding vendor mode)
hda1 hda2 hda3
hdb:hdb: selected cmd640 PIO mode3 (180ns) w/IORDY (overriding vendor mode)
hdb1 hdb2 hdb3 hdb4
JAVA Binary support v1.01 for Linux 1.3.98 (C)1996 Brian A. Lantz
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 25168k swap-space
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
ide0: reset: success

Above, the error after/while adding the swap.

Without Parameters:

Performance:

/dev/hda:
Timing buffer-cache reads: 32 MB in 1.39 seconds =23.02 MB/sec
Timing buffered disk reads: 16 MB in 10.54 seconds = 1.52 MB/sec =(

Dmesg:

Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fb360
pcibios_init : BIOS32 Service Directory entry at 0xfb710
pcibios_init : PCI BIOS revision 2.00 entry at 0xfb740
Probing PCI hardware.
Calibrating delay loop.. ok - 39.94 BogoMIPS
Memory: 14720k/16384k available (752k kernel code, 384k reserved, 528k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.12 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Swansea University Computer Society IPX 0.34 for NET3.035
IPX Portions Copyright (c) 1995 Caldera, Inc.
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.10 (root@Kolabaer) (gcc version 2.7.2) #2 Wed Jul 31 12:45:21 CDT 1996
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
tty03 at 0x02e8 (irq = 3) is a 16550A
lp1 at 0x0378, (polling)
Sound initialization started
<Pro AudioSpectrum 16D rev 255> at 0x388 irq 12 dma 6
<Yamaha OPL3 FM> at 0x388
Sound initialization complete
loop: registered device at major 7
ide: buggy cmd640B interface on pci1, serialized, secondary interface already enabled
hda: WDC AC31000F, 1033MB w/64kB Cache, LBA, CHS=525/64/63
hdb: WDC AC2420F, 405MB w/64kB Cache, CHS=989/15/56
hdc: TOSHIBA CD-ROM XM-5302TA, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15 (serialized with ide0)
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2
FDC 0 is an 8272A
scsi0 : AM53/79C974 PCscsi driver rev. 0.5; host I/O address: 0x6000; irq: 10

scsi : 1 host.
Vendor: SyQuest Model: EZ135S Rev: 1_13
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 2, lun 0
scsi : detected 1 SCSI disk total.
sda : READ CAPACITY failed.
sda : status = 0, message = 00, host = 0, driver = 28
sda : extended sense code = 2
sda : block size assumed to be 512 bytes, disk size 1GB.
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
wd.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
eth0: WD80x3 at 0x300, 00 00 C0 23 F1 25 WD8003, IRQ 5, shared memory at 0xe0000-0xe1fff.
Partition check:
sda:scsidisk I/O error: dev 08:00, sector 0
unable to read partition table
hda: hda1 hda2 hda3
hdb: hdb1 hdb2 hdb3 hdb4
JAVA Binary support v1.01 for Linux 1.3.98 (C)1996 Brian A. Lantz
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 25168k swap-space
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
ide0: reset: success

I will try Gadi Oxman's "not yet understood" patch tomorrow sometime;
by the way, e2fsck repaired the disk in a fly.
Hope you can figure this out,

__ _____
/ / _ __ /7 __ _ /_ _/_ _ _ __ Jochen Toppe
n_/ /,'o|,','/ \,'o// \/7 / /,'o| /o| /o|,'o/ Email:jtoppe@cs.uah.edu
\_,' |_,'\_\/n_/|_(/_n_/ /_/ |_,'/_,'/_,'|_( Tel. : (205) 880-1**5
// //
---->>> http://fly.hiwaay.net/~jtoppe <<<----