[1531] in linux-scsi channel archive
5400rpm HP outperforms 7200rpm NEW IBM Ultrastar?!
daemon@ATHENA.MIT.EDU (Jakob Sandgren)
Fri Mar 7 15:37:28 1997
Date: Fri, 7 Mar 1997 21:34:33 +0100
From: jakob@idefix.campus.luth.se (Jakob Sandgren)
To: linux-scsi@vger.rutgers.edu
I have a realy strange performance problem with my linux computer.
It's a P75 with a Tekram UW-SCSI (NCR875) controller. On the wide connector is
an IBM DFHS 1GB (Ultrastar) connected and on the narrow an HP Surestor 1000S+
(1GB) and a Mediavsion SCSI cdrom.
I recently upgraded from a NCR810 based controller and bought the
UW-controller and the IBM disk. I thought that this would give me a REALY fast
SCSI disk to work with (6-10MB/sec xfer, sub 9 ms access). But the result was
REALY disapointing.
The "old" HP disk is better than the IBM disk in a lot of my benchmarks. I
realy dont know if this is a linux specific problem, since I've tried some dos
benchmarks to and they indicate the same thing.
ct303 results;
hp bufferd read ~8MB/sec
hp sequential read ~5MB/sec
ibm bufferd read ~4MB/sec (!?!?! WHY?!)
ibm sequential read ~5MB/sec
hdparm results;
hp ~5MB/sec
ibm ~3.5MB/sec
bonnie results; the ibm is overall better (but just ~5.5MB read).
dd results;
ibm ~3.5MB/sec (that's LOW).
hp a little bit _faster_
Info about the IBM disk can be found at:
http://www.storage.ibm.com/techsup/hddtech/dfhs/dfhstek.htm
Info about the HP disk can be found at:
http://www.Basilica-Computing.co.uk/Buds/storage/ssdisk.htm
PLEASE advise, I think I have tried every settings cable configurations etc.
and I dont have a clue any more!
Below is the complete benchmarks and information about the system.
NOTE: sda is HP disk sdb is IBM DFHS.
/Jakob
jakob@idefix.campus.luth.se
-------
idefix:/home/jakob# hdparm -ft /dev/sda
/dev/sda:
Timing buffered disk reads: 16 MB in 3.34 seconds = 4.79 MB/sec
idefix:/home/jakob# bonnie
File './Bonnie.551', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 2432 90.4 3207 37.6 1435 30.4 2173 81.4 3427 27.9 41.4 7.5
idefix:/home/jakob# cd
idefix:~# hdparm -ft /dev/sdb
/dev/sdb:
Timing buffered disk reads: 16 MB in 4.38 seconds = 3.65 MB/sec
idefix:~# mount /dev/sdb1 /mnt
idefix:~# bonnie -d /mnt
File '/mnt/Bonnie.429', size: 104857600
Writing with putc()...Mar 5 02:55:32 idefix su: (to root) jakob on /dev/tty2
done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 3...Seeker 2...Seeker 1...start 'em...done...done...done...
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 2454 91.2 6011 76.1 2181 46.2 2375 89.0 5641 47.7 64.1 11.2
idefix:~# cat /proc/pci
PCI devices found:
Bus 0, device 19, function 0:
SCSI storage controller: NCR Unknown device (rev 1).
Vendor id=1000. Device id=f.
Medium devsel. IRQ 12. Master Capable. Latency=32. Min Gnt=8.Max Lat=64.
I/O at 0xfc00.
Non-prefetchable 32 bit memory at 0xffbdff00.
Non-prefetchable 32 bit memory at 0xffbde000.
Bus 0, device 18, function 0:
VGA compatible device: S3 Inc. Vision 964-P (rev 0).
Medium devsel.
Non-prefetchable 32 bit memory at 0xff000000.
Bus 0, device 7, function 1:
IDE interface: Intel 82371 Triton PIIX (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
I/O at 0x8000.
Bus 0, device 7, function 0:
ISA bridge: Intel 82371 Triton PIIX (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
Bus 0, device 0, function 0:
Host bridge: Intel 82437 (rev 1).
Medium devsel. Master Capable. Latency=32.
idefix:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: HP Model: C3724S Rev: 5153
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: MEDIAVIS Model: CDR-H93MV Rev: 1.31
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: IBM Model: DFHSS1W Rev: 4141
Type: Direct-Access ANSI SCSI revision: 02
idefix:~# cat /proc/scsi/ncr53c8xx/0
General information:
Chip NCR53C875, device id 0xf, revision id 0x1
IO port address 0xfc00, IRQ number 12
Using memory mapped IO at virtual address 0xc2805f00
Profiling information:
num_trans = 19913
num_kbytes = 706696
num_disc = 33979
num_break = 7885
num_int = 7915
num_fly = 19915
ms_setup = 11780
ms_data = 210910
ms_disc = 268150
ms_post = 1220
idefix:~# time dd if=/dev/sdb of=/dev/null bs=512k count=200
200+0 records in
200+0 records out
0.01user 9.93system 0:27.79elapsed 35%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (69major+136minor)pagefaults 0swaps
idefix:~# time dd if=/dev/sda of=/dev/null bs=512k count=200
200+0 records in
200+0 records out
0.01user 9.88system 0:23.67elapsed 41%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (69major+136minor)pagefaults 0swaps
idefix:~#