HP Ultrium 230 Performance

From Wikistix

Drive info

st1 at scsibus1 target 6 lun 0: <HP, Ultrium 1-SCSI, E16V> tape removable
st1: drive empty
st1: sync (25.00ns offset 15), 16-bit (80.000MB/s) transfers

Controller info

ahc0 at pci2 dev 12 function 0: Adaptec 29160B Ultra160 SCSI adapter
ahc0: interrupting at ioapic0 pin 20 (irq 5)
ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc0: 16 targets, 8 luns per target

System info

NetBSD 3.0 (ZION) #4: Thu Jan 19 17:07:58 EST 2006
total memory = 1023 MB
avail memory = 996 MB
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium 4 (686-class), 2806.50 MHz, id 0xf25
cpu0: "Intel(R) Pentium(R) 4 CPU 2.80GHz"

Raw/native tape performance

Using a pseudo-random stream:

zion:ksh$ fblckgen -rb 64k -c 160k > /dev/nrst1
10737418240 bytes written in 703.142 secs (14912.720 KB/sec)
zion:ksh$ mt -f /dev/nrst1 rewind
zion:ksh$ dd if=/dev/nrst1 bs=64k of=/dev/null
163840+0 records in
163840+0 records out
10737418240 bytes transferred in 711.374 secs (15093914 bytes/sec)

Compressible data performance

Using a repeating ASCII sequence:

zion:ksh$ fblckgen -ab 64k -c 160k > /dev/nrst1
10737418240 bytes written in 166.968 secs (62801.003 KB/sec)
zion:ksh$ mt -f /dev/nrst1 rewind
zion:ksh$ dd if=/dev/nrst1 bs=64k of=/dev/null
163840+0 records in
163840+0 records out
10737418240 bytes transferred in 219.937 secs (48820426 bytes/sec)

Raw/native capacity

zion:ksh$ fblckgen -r -b 64k -c 0 > /dev/nrst1
Write failed: Input/output error
-1 bytes, 1613201 full blocks written.
105722740736 bytes written in 7064.506 secs (14614.590 KB/sec)

Integrity check

zion:ksh$ mkfifo /tmp/f
zion:ksh$ sha1 /tmp/f &
[1] 3998
zion:ksh$ fblckgen -r -b 64k -c 16k | tee /tmp/f | dd obs=64k of=/dev/nrst1
1073741824 bytes written in 69.365 secs (15116.847 KB/sec)
SHA1 (/tmp/f) = 55e6bb7e75fdbee7b751eade6831bc382c3c3169
2097152+0 records in
16384+0 records out
1073741824 bytes transferred in 72.644 secs (14780874 bytes/sec)
[1] + Done                 sha1 /tmp/f 
zion:ksh$ mt -f /dev/nrst1 rewind
zion:ksh$ dd if=/dev/nrst1 bs=64k | sha1
16384+0 records in
16384+0 records out
55e6bb7e75fdbee7b751eade6831bc382c3c3169
1073741824 bytes transferred in 69.454 secs (15459755 bytes/sec)

Thorough Integrity Check

zion:ksh$ fblckgen -vrb 64k -c 1500k | mbdd -n 640 /dev/nrst0 | sha1
| 6842.4s  98299008.0 KiB    15381 KiB/s decaying avg  100.0% done  ETR   0.3s
100663296000 bytes written in 6843.219 secs (14365.169 KiB/sec)
201326592000 bytes transferred in 6845.848 secs (28719.305 KiB/sec)
0 partial reads, 319.519 average buffers full
82ea8af67cbd4be231f16a54f14e98ddf9137d73
zion:ksh$ mt -f /dev/nrst0 rewind
zion:ksh$ mbdd -vc 1500k -n 640 < /dev/nrst0 | sha1
/ 6603.1s  98303936.0 KiB    15358 KiB/s decaying avg  100.0% done  ETR   0.0s
100663296000 bytes transferred in 6605.813 secs (14881.437 KiB/sec)
0 partial reads, 0.264 average buffers full
82ea8af67cbd4be231f16a54f14e98ddf9137d73