Bacula-users

Re: [Bacula-users] Bacula Catalog Server - MySQL - 1 Core Used Max ?

2015-03-24 17:20:23
Subject: Re: [Bacula-users] Bacula Catalog Server - MySQL - 1 Core Used Max ?
From: Phil Stracchino <phils AT caerllewys DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 24 Mar 2015 17:18:22 -0400
On 03/24/15 11:47, Robert Heinzmann wrote:
> Hello,
> 
> we have a rather large Bacula setup - ~600 Clients, database for catalog
> is 19GB large. File table is ~65 million records.
> 
> Right now, bacula director can not run backups as scheduled and delays
> the jobs for up to 2 hours, as it seems the catalog is not keeping up.
> 
> SD has not hit it’s storage IO limit, as I/O Wait is almost zero (24x
> 10k spindles in Hardware Raid, doing ~50MB/s avg).
> 
> Also we have defined 20 parallel backup drives doing backups, so drives
> is not a blocker I guess.
> 
> It seems that the bacula catalog is CPU bound and that only a single
> core is used (of 4).
> 
> How can I parallelize database access with Bacula Director to speed up
> the backup process.

If you have queries being executed serially by only a single connection,
then they cannot be parallelized across multiple cores, because MySQL
can use only a single core on a single query (trying to parallelize
below the query level doesn't work out well).  I don't know whether the
Bacula director's DB accesses *could* be parallelized, but I suspect
many of them cannot.


-- 
  Phil Stracchino
  Babylon Communications
  phils AT caerllewys DOT net
  phil AT co.ordinate DOT org
  Landline: 603.293.8485

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users