On 6/24/24 11:04, Marco Gaiarin wrote:
Mandi! Josh Fisher via Bacula-users
In chel di` si favelave...
Except when the MaximumSpoolSize for the Device resource is reached or
the Spool Directory becomes full. When there is no more storage space
for data spool files, all jobs writing to that device are paused and the
spool files for each of those jobs are written to the device, one at a
time. I'm not sure if every job's spool file is written to tape at that
time, or if the forced despooling stops once some threshold for
sufficient space has been freed up. So, more accurately, other jobs
continue spooling IFF there is sufficient space in the spool directory.
Ok, doing some more test in real condition (and still arguing on why logs
row are not ordered by date...) i've splitted a job:
...
Sicerily, i hoped there's some more 'smart' way to manage despooling in
bacula; the only way to boost performance seems to me tune MaximumSpoolSize
so tapes it takes more or less the same time to despool of the other
tasks(to) to spool, so dead time interleaved can be minimized.
Seems an hard task. ;-)
When you set MaximumSpoolSize in the Device resource, that sets the
maximum storage available for all spool files, not for each spool file.
When that is reached, it means there is no more space for any job's
spool file, so they all must pause and write their spool files to tape.
Another way that might be better for your case is to leave
MaximumSpoolSize = 0 (unlimited) and specify a MaximumJobSpoolSize in
the Device resource instead. The difference is that when one job reaches
the MaximumJobSpoolSize it will begin writing its spool file to tape,
but it will not cause the other job(s) to pause until they also reach
the MaximumJobSpoolSize. Then by starting one job a few minutes after
the other it should be possible to mostly avoid both jobs pausing
(de-spooling) at the same time.
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users