Bacula-users

Re: [Bacula-users] LTO5 performance

2013-03-22 15:46:52
Subject: Re: [Bacula-users] LTO5 performance
From: Sergio Belkin <sebelk AT gmail DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 22 Mar 2013 16:43:30 -0300
2013/3/14 John Drescher <drescherjm AT gmail DOT com>:
> On Thu, Mar 14, 2013 at 3:04 PM, Sergio Belkin <sebelk AT gmail DOT com> 
> wrote:
>> Hi folks,
>>
>> The performance is very poor, its around 6MB/s !!!
>> The tape device is an IBM ULT3580-HH5
>>
>> Host: scsi3 Channel: 00 Id: 00 Lun: 00
>>   Vendor: IBM      Model: ULT3580-HH5      Rev: BBN3
>>   Type:   Sequential-Access                ANSI SCSI revision: 06
>>
>> Bacula version is 5.2.13
>>
>> My sd daemon config:
>>
>> Storage {                             # definition of myself
>>   Name = clair.example.edu-sd
>>   SDPort = 9103                  # Director's port
>>   WorkingDirectory = "/usr/local/opt/bacula/working"
>>   Pid Directory = "/var/run"
>>   Maximum Concurrent Jobs = 20
>> }
>> Director {
>>   Name = noc-dir
>>   Password = "something"
>> }
>> Director {
>>   Name = clair.example.edu-mon
>>   Password = "something"
>>   Monitor = yes
>> }
>> Device {
>>   Name = LTO5
>>   Media Type = LTO-4
>>   Archive Device = /dev/IBMtape0n
>>   AutomaticMount = yes;               # when device opened, read it
>>   AlwaysOpen = yes;
>>   RemovableMedia = yes;
>>   RandomAccess = no;
>>   Maximum File Size = 200GB
>>  Alert Command = "sh -c 'smartctl -d scsi -H -l error /dev/sg6'"
>> }
>> Messages {
>>   Name = Standard
>>   director = clair.example.edu-dir = all
>>
>>
>> Using netcat I've found that network speed is around 100 MB/s
>>
>> Could you help to find a solution?
>
> You need to enable spooling and to run your jobs concurrently. Also
> set the Maximum block size and Minimum block size. On top of that I
> would not have set Maximum File Size = 200GB set that to a few GB or
> leave that parameter alone.
>
> John

I've added Data Spool in a job resource and the following options to
Storage Device resource :

Maximum Spool Size = 10gb
  Maximum Job Spool Size = 5gb
  Spool Directory = /extra/bacula_spool
   Fast Forward Space File = yes
  Maximum Block Size = 262144
  Maximum Network Buffer Size = 262144
  Maximum File Size = 5GB

But it causes a mess it crashes others services (a segfault in a imap
server) and the bacula error was:

"Fatal error: Network error with FD during Backup: ERR=Interrupted system call"

Am I doing something wrong?

Thanks in advance!
-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>