Bacula-users

Re: [Bacula-users] Copy disk to tape is 4x slower than tar

2016-03-09 18:58:34
Subject: Re: [Bacula-users] Copy disk to tape is 4x slower than tar
From: Heitor Faria <heitor AT bacula.com DOT br>
To: Dan Langille <dan AT langille DOT org>
Date: Wed, 9 Mar 2016 20:52:25 -0300 (BRT)
I have a copy to tape job which copies from disk to tape using Bacula 7.4.0 and PostgreSQL 9.4 on FreeBSD 10.2

Everything is within one SD


The job summary:

 Start time:             09-Mar-2016 19:41:54
 End time:               09-Mar-2016 20:51:02
 Elapsed time:           1 hour 9 mins 8 secs
 Priority:               410
 SD Files Written:       1
 SD Bytes Written:       52,897,660,928 (52.89 GB)
 Rate:                   12752.6 KB/s

If I tar the volumes directly to tape, it takes only 16 minutes.


$ time sudo tar -cf /dev/nsa1 IncrAuto-4525 IncrAuto-4320 IncrAuto-4324 IncrAuto-4321 \
> IncrAuto-4055 IncrAuto-4322 IncrAuto-4319 IncrAuto-3969 IncrAuto-3972 \
> IncrAuto-3973 IncrAuto-3971 IncrAuto-4058

real    15m47.508s
user    0m5.844s
sys     1m51.834s

Spooling attributes is trivial:

09-Mar 20:51 crey-sd JobId 232945: Sending spooled attrs to the Director. Despooling 321 bytes ...
09-Mar 20:51 bacula-dir JobId 232944: Bacula bacula-dir 7.4.0 (16Jan16):

I am not sure where to look to figure this out.
Hello, Dan: maybe there is nothing to figure it out. Packing volumes with tar directly to tapes makes you unable to restore a single file or even a single job (with bootstrap) from an entire tape. I think it's a trade-off.
-- 
Dan Langille - BSDCan / PGCon
Regards,
--
=======================================================================
Heitor Medrado de Faria  - LPIC-III | ITIL-F |  Bacula Systems Certified Administrator II
Próximas aulas telepresencial ao-vivo - 15 de fevereiro: http://www.bacula.com.br/agenda/
Ministro treinamento e implementação in-company Bacula: http://www.bacula.com.br/in-company/
Ou assista minhas videoaulas on-line: http://www.bacula.com.br/treinamento-bacula-ed/
Site: www.bacula.com.br | Facebook: heitor.faria
========================================================================
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users