On Wednesday 18 January 2006 14:30, Marcin Wasilewski wrote:
> ----- Original Message -----
> From: "Florian Schnabel" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, January 18, 2006 11:53 AM
> Subject: Re: [Bacula-users] How to speed up the backup.
>
> > Marcin Wasilewski wrote:
> >> Hello,
> >>
> >> I wonder if You have any ideas how to speed up my bacula backup.
> >> I'm using Bacula 1.36.3 on Debian with MySQL 4.1.15 on machine 2x1.4GHz,
> >> 2Gb RAM, 2x80Gb HDD RAID1.
> >> Network connection is:
> >>
> >> FD Files Written: 515,401
> >>
> >> SD Files Written: 515,401
> >>
> >> FD Bytes Written: 232,278,974,474
> >>
> >> SD Bytes Written: 232,353,930,829
> >>
> >> Rate: 11186.1 KB/s
> >>
> >> It took about 6 hours to backup it..
> >
> > are you using spooling ?
> >
> > Florian
>
> I don't use spooling now, i tried this but the backup time was similar...

I agree with Florian, your speed looks quite good, probably better than what 
most of us are getting.

- It is possible you can squeeze a bit more speed by upgrading to 1.38.4 for 
several reasons:
1. It uses larger network buffer sizes.
2. It updates the database File records in one SQL statement rather than two.

- You should also ensure that you have an SQL index on JobId in the File 
table.  The manual discusses how to verify this if you are unsure.

- Make sure you are communicating to MySQL using a socket rather than TCP/IP 
if your MySQL server is on the same machine as the Director.

- Move your MySQL server to another machine or if you have plenty of CPU 
power, at least ensure that its databases are located on a dedicated fast 
disk, and that you have it configured to use lots of memory ...
 
- If you want more speed, how about doing a bit of performance testing?  
1. You can look at the #defines at the bottom of the src/version.h file. They 
allow you to disable parts of the backup so that you can time the different 
parts. This allows focusing on where the bottleneck is.
2. Someone should do a gprof on the Bacula components at some point to figure 
out where the various daemon bottlenecks are. I leave this to you if you are 
interested ...

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to