... but bscan performance is horribly, horribly slow.  After dropping
and recreating the DB, bscan has been running for 16 hours and reports
it is 2% complete on scanning a 640GB Full backup volume that contains 5
Jobs.  Latest report:

bscan: bscan.c:705 229,376 file records. At file:blk=3:1,326,962,185
bytes=14,203,879,414

At this rate it's going to take it a month and a half (literally) to
scan this one volume.  Both iostat and vmstat report the system is
sitting almost totally idle, with typically 97% CPU idle, 2% system.
mysql and bscan *together* are occasionally approaching 1% combined CPU
usage.  bscan has used 2 minutes 50 seconds of CPU during the 16 hours
it's been running.  System load average is 0.13.  I've reniced both
bscan and mysql to the highest possible priority and bscan is still just
loafing along.  DB activity is almost nonexistent, DB performance is
pretty much optimal; it seems to be only bscan itself that's holding
things up.

bscan was invoked as follows:

/opt/bacula/sbin/bscan -c /opt/bacula/etc/sd.conf -vSsm -n bacula -u
bacula -D mysql -P MYSQL-PASSWORD -V FULL-20110905-04:30 /spool/bacula

This is unfortunately a 32-bit Bacula build because I can't seem to
figure out how to get a clean 64-bit build of Bacula on Solaris 10.


Now, I haven't previously used bscan in years, let alone on a volume
this size.  So I don't have a 5.0.3 baseline to compare to.  Still, I
have a hard time believing this is normal.

Am I missing something?  Surely this can't be the expected bscan
performance, can it...?  Or does compiling for 32-bit really hobble
bscan this badly?

If the latter, does anyone have any tips on compiling Bacula 64-bit for
Solaris 10?


My concern here is that bscan in 5.2.1 seems unusably slow, but I don't
have a recent baseline to compare to to know whether this is normal or
not.  It doesn't seem reasonable that it should be.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to