Using Bacula’s btape speed test on FreeBSD 10.2 and an LTO-4 tape drive

Let’s try the speed test which comes with Bacula’s btape utility.

This is Bacula 7.4.0 on FreeBSD 10.2, with a Dell TL4000 LTO-4 tape library.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
$ sudo mt -f /dev/sa1  /dev/sa1 status                                                                                                                         
Drive: sa1: <IBM ULT3580-HH4 C7Q1> Serial Number: 1K10012996
---------------------------------
Mode      Density              Blocksize      bpi      Compression
Current:  0x46:LTO-4           variable       323215   enabled (0x1)
---------------------------------
Current Driver State: at rest.
---------------------------------
Partition:   0      Calc File Number:   0     Calc Record Number: 0
Residual:    0  Reported File Number:   0 Reported Record Number: 0
Flags: BOP
 
$ sudo btape -c /usr/local/etc/bacula/bacula-sd.conf /dev/nsa1
Tape block granularity is 1024 bytes.
btape: butil.c:291-0 Using device: "/dev/nsa1" for writing.
btape: btape.c:471-0 open device "LTO_0" (/dev/nsa1): OK
*rewind
btape: btape.c:576-0 Rewound "LTO_0" (/dev/nsa1)
*speed
btape: btape.c:1055-0 Test with zero data, should give the maximum throughput.
btape: btape.c:904-0 Begin writing 3 files of 1.073 GB with raw blocks of 64512 bytes.
++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 119.3 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 134.2 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 153.4 MB/s
btape: btape.c:379-0 Total Volume bytes=3.221 GB. Total Write rate = 134.2 MB/s
 
btape: btape.c:904-0 Begin writing 3 files of 2.147 GB with raw blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 165.1 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 165.1 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 178.9 MB/s
btape: btape.c:379-0 Total Volume bytes=6.442 GB. Total Write rate = 169.5 MB/s
 
btape: btape.c:904-0 Begin writing 3 files of 4.294 GB with raw blocks of 64512 bytes.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 178.9 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 186.7 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 178.9 MB/s
btape: btape.c:379-0 Total Volume bytes=12.88 GB. Total Write rate = 181.4 MB/s
 
btape: btape.c:1067-0 Test with random data, should give the minimum throughput.
btape: btape.c:904-0 Begin writing 3 files of 1.073 GB with raw blocks of 64512 bytes.
++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 39.77 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 71.58 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 71.58 MB/s
btape: btape.c:379-0 Total Volume bytes=3.221 GB. Total Write rate = 56.51 MB/s
 
btape: btape.c:904-0 Begin writing 3 files of 2.147 GB with raw blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 89.48 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 89.48 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 89.48 MB/s
btape: btape.c:379-0 Total Volume bytes=6.442 GB. Total Write rate = 89.48 MB/s
 
btape: btape.c:904-0 Begin writing 3 files of 4.294 GB with raw blocks of 64512 bytes.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 102.2 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 95.44 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 102.2 MB/s
btape: btape.c:379-0 Total Volume bytes=12.88 GB. Total Write rate = 99.88 MB/s
 
btape: btape.c:1081-0 Test with zero data and bacula block structure.
btape: btape.c:959-0 Begin writing 3 files of 1.073 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 76.70 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 97.61 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 97.61 MB/s
btape: btape.c:379-0 Total Volume bytes=3.221 GB. Total Write rate = 89.48 MB/s
 
btape: btape.c:959-0 Begin writing 3 files of 2.147 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 107.3 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 102.2 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 107.3 MB/s
btape: btape.c:379-0 Total Volume bytes=6.442 GB. Total Write rate = 105.6 MB/s
 
btape: btape.c:959-0 Begin writing 3 files of 4.294 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 113.0 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 113.0 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 113.0 MB/s
btape: btape.c:379-0 Total Volume bytes=12.88 GB. Total Write rate = 113.0 MB/s
 
btape: btape.c:1093-0 Test with random data, should give the minimum throughput.
btape: btape.c:959-0 Begin writing 3 files of 1.073 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 27.53 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 51.13 MB/s
+++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=1.073 GB. Write rate = 48.80 MB/s
btape: btape.c:379-0 Total Volume bytes=3.221 GB. Total Write rate = 39.28 MB/s
 
btape: btape.c:959-0 Begin writing 3 files of 2.147 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 58.04 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 59.65 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=2.147 GB. Write rate = 58.04 MB/s
btape: btape.c:379-0 Total Volume bytes=6.442 GB. Total Write rate = 58.56 MB/s
 
btape: btape.c:959-0 Begin writing 3 files of 4.294 GB with blocks of 64512 bytes.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 64.10 MB/s
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 61.35 MB/s
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
btape: btape.c:606-0 Wrote 1 EOF to "LTO_0" (/dev/nsa1)
btape: btape.c:405-0 Volume bytes=4.295 GB. Write rate = 64.10 MB/s
btape: btape.c:379-0 Total Volume bytes=12.88 GB. Total Write rate = 63.16 MB/s
 
*
Website Pin Facebook
Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment