Skip to content

Instantly share code, notes, and snippets.

@omahn
Created March 14, 2016 08:46
Show Gist options
  • Save omahn/574b66f3028dd669cd98 to your computer and use it in GitHub Desktop.
Save omahn/574b66f3028dd669cd98 to your computer and use it in GitHub Desktop.
Bacula btape speed test on a HP LTO6 drive
root@striatum:~# btape -c /etc/bacula/bacula-sd.conf /dev/nitl1-nst2
Tape block granularity is 1024 bytes.
btape: butil.c:290 Using device: "/dev/nitl1-nst2" for writing.
14-Mar 08:28 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
14-Mar 08:28 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 3.
btape: btape.c:477 open device "nitl1-drive2-lto6" (/dev/nitl1-nst2): OK
*rewind
btape: btape.c:579 Rewound "nitl1-drive2-lto6" (/dev/nitl1-nst2)
*speed
btape: btape.c:1057 Test with zero data, should give the maximum throughput.
btape: btape.c:906 Begin writing 3 files of 1.073 GB with raw blocks of 64512 bytes.
++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 178.9 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 214.7 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 214.7 MB/s
btape: btape.c:385 Total Volume bytes=3.221 GB. Total Write rate = 201.3 MB/s
btape: btape.c:906 Begin writing 3 files of 2.147 GB with raw blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 268.4 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 268.4 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 238.6 MB/s
btape: btape.c:385 Total Volume bytes=6.442 GB. Total Write rate = 257.7 MB/s
btape: btape.c:906 Begin writing 3 files of 4.294 GB with raw blocks of 64512 bytes.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 286.3 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 286.3 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 268.4 MB/s
btape: btape.c:385 Total Volume bytes=12.88 GB. Total Write rate = 280.1 MB/s
btape: btape.c:1069 Test with random data, should give the minimum throughput.
btape: btape.c:906 Begin writing 3 files of 1.073 GB with raw blocks of 64512 bytes.
++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 82.60 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 76.70 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 82.60 MB/s
btape: btape.c:385 Total Volume bytes=3.221 GB. Total Write rate = 80.53 MB/s
btape: btape.c:906 Begin writing 3 files of 2.147 GB with raw blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 107.3 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 102.2 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 107.3 MB/s
btape: btape.c:385 Total Volume bytes=6.442 GB. Total Write rate = 105.6 MB/s
btape: btape.c:906 Begin writing 3 files of 4.294 GB with raw blocks of 64512 bytes.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 126.3 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 126.3 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 95.44 MB/s
btape: btape.c:385 Total Volume bytes=12.88 GB. Total Write rate = 114.0 MB/s
btape: btape.c:1083 Test with zero data and bacula block structure.
btape: btape.c:961 Begin writing 3 files of 1.073 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 153.4 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 134.2 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 153.4 MB/s
btape: btape.c:385 Total Volume bytes=3.221 GB. Total Write rate = 146.4 MB/s
btape: btape.c:961 Begin writing 3 files of 2.147 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 153.3 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 153.3 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 165.1 MB/s
btape: btape.c:385 Total Volume bytes=6.442 GB. Total Write rate = 157.1 MB/s
btape: btape.c:961 Begin writing 3 files of 4.294 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 165.1 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 186.7 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 178.9 MB/s
btape: btape.c:385 Total Volume bytes=12.88 GB. Total Write rate = 176.5 MB/s
btape: btape.c:1095 Test with random data, should give the minimum throughput.
btape: btape.c:961 Begin writing 3 files of 1.073 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 76.70 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 76.70 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=1.073 GB. Write rate = 76.70 MB/s
btape: btape.c:385 Total Volume bytes=3.221 GB. Total Write rate = 76.70 MB/s
btape: btape.c:961 Begin writing 3 files of 2.147 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 102.2 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 102.2 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=2.147 GB. Write rate = 102.2 MB/s
btape: btape.c:385 Total Volume bytes=6.442 GB. Total Write rate = 102.2 MB/s
btape: btape.c:961 Begin writing 3 files of 4.294 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 130.1 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 126.3 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:609 Wrote 1 EOF to "nitl1-drive2-lto6" (/dev/nitl1-nst2)
btape: btape.c:411 Volume bytes=4.295 GB. Write rate = 104.7 MB/s
btape: btape.c:385 Total Volume bytes=12.88 GB. Total Write rate = 119.3 MB/s
*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment