|
From: Bob H. <be...@ca...> - 2010-12-07 22:31:08
|
This comes up periodically on the list. Check this thread for more settings you'll need to tweak to get more write speed: http://marc.info/?t=128999803800006&r=1&w=2 > Subject: [Bacula-users] Copy Job performance issues > To: bacula-users <bac...@li...> > Message-ID: <D91...@un...> > Content-Type: text/plain; charset=us-ascii > > Dear bacula users, > > I have a problem concerning the speed of copy jobs. My setup is: > - bacula server is OpenSuSE 11.3, version 5.0.3 using postgres, 2 Xeons (4 cores) and 8 GB memory. > - Attached is an iSCSI-RAID containing File devices > - Copy Jobs run to a Quantum Scalar 50 Tapelibrary with 2 LTO4 tape drives. The library and the tapes are connected via eSATA. According to wikipedia, LTO4 should transfer 120MB/s without compression. Compression is enabled. > > My backups go to the iSCSI-RAID. I run CopyJObs every day to copy all uncopied jobs to tape. > My problem is, that my copy jobs run with max. 45 Mbyte/s > > I checked the following: > - btape shows a maximum speed of 80MByte/sec. > - I can read about 150 Mbyte/s from the RAID device > - Copying data from RAID to tape using dd I get rates about 80 MByte/s > - While copying the cpu load is about 20-50% (bacula-sd) > > So it seems as if bacula-sd itself slows the copy jobs down, but I cannot imagine, why. Maybe it is a configuration issue, but reading the manuals didn't help. > > Configuration of the tape device in bacula-sd.conf: > > Autochanger { > Name = "Scalar50-2" > Device = "LTO4-0" > Device = "LTO4-1" > Changer Device = /dev/tape/by-id/scsi-3500e09e0bb562001 > Changer Command = "/usr/lib64/bacula/mtx-changer %c %o %S %a %d" > } > > Device { > Name = "LTO4-0" > Device Type = Tape; > Media Type = LTO4 > Archive Device = /dev/tape/by-id/scsi-3500110a00104374e-nst > AutomaticMount = yes; > AlwaysOpen = yes; > RemovableMedia = yes; > RandomAccess = no; > Autochanger = yes > Drive Index = 0 > Spool Directory = /var/spool/bacula > } > > Device { > Name = "LTO4-1" > Device Type = Tape; > Media Type = LTO4 > Archive Device = /dev/tape/by-id/scsi-3500110a0012be1ee-nst > AutomaticMount = yes; > AlwaysOpen = yes; > RemovableMedia = yes; > RandomAccess = no; > Autochanger = yes > Drive Index = 1 > Spool Directory = /var/spool/bacula > } > > Any ideas? > > -- > Kind regards > Christoph > _________________________________________ > Christoph Litauer > Uni Koblenz, Computing Centre, Office A 022 > Postfach 201602, 56016 Koblenz > Fon: +49 261 287-1311, Fax: -100 1311 > > |