On Fri, 28 Oct 2005, Gillow, Jeremy wrote:

I'm seeing very low throughput when doing a full backup to DDS-4 tape from one Solaris machine to another over 100Mbit ethernet. When using rmt I typically get about 1.5MB/sec transfer rate, and when using bacula the throughput varies between 100KB/sec to 450KB/sec with an average of 350KB/sec. Average CPU usage for bacula-sd was 10% and the average for bacula-fd was 8%. For example, a system that normally takes 30 minutes to back up fully took 2 hours with bacula.

I may be stating the obvious. If so, I apologize in advance...

The "Rate" of backup reported by bacula is the number of bytes divided by the total time (in seconds) the backup job takes. The job may include any number of components:

* stuff run before the job
* identifying files to be archived
* spooling the data to storage
* spooling attributes to the directory
* stuff run after the job

The log snippet below doesn't include any run-before/after tasks so it's fairly simple. It takes about 10 1/2 minutes to run:

* 3 minutes to spool files to disk, then tape
* 7 minutes to spool attributes to database

(The times are approximate within one minute.)

27-Oct 23:47 xxx-dir: Start Backup JobId 696, Job=yyy-backup.2005-10-27_23.30.07
27-Oct 23:47 xxx-sd: Spooling data ...
27-Oct 23:49 xxx-sd: Committing spooled data to Volume. Despooling 
1,231,664,896 bytes ...
27-Oct 23:50 xxx-sd: Sending spooled attrs to the Director. Despooling 
7,634,852 bytes ...
27-Oct 23:57 xxx-dir: Bacula 1.36.3 (22Apr05): 27-Oct-2005 23:57:56
  JobId:                  696
  Job:                    yyy-backup.2005-10-27_23.30.07
  Backup Level:           Incremental, since=2005-10-27 00:31:05
  Client:                 yyy-fd
  FileSet:                "yyy-fileset" 2005-08-12 23:45:03
  Pool:                   "daily-tape"
  Storage:                "PV122T"
  Start time:             27-Oct-2005 23:47:14
  End time:               27-Oct-2005 23:57:56
  FD Files Written:       23,597
  SD Files Written:       23,597
  FD Bytes Written:       1,225,548,154
  SD Bytes Written:       1,229,580,582
  Rate:                   1909.0 KB/s

The "Rate" would be much higher if it included only the time needed to spool files to tape; it's the attribute spooling that lowers the average B/s.

--
Paul Heinlein <> [EMAIL PROTECTED] <> www.madboa.com


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to