Subject: Re: [Bacula-users] Speed of backups

> I got the biggest gain by changing "Maximum File Size" to 5 GB. How
> fast is the disk where you spool file is locatet?
> A different test would be to create a 10 GB file with data from
> /dev/urandom in the spool directory and the write this file to tape
> (eg. nst0). Note: this will overwrite your existing data on tape and
> you might have to release the drive in bacula.
> dd if=/spoolfile-directory/testfile of=/dev/nst0 bs=xxxk (your bacula block
> size)
> Ralf

Ok, I made this:
[root@qsrpsbk1 spool]# dd if=/dev/urandom of=random.tst bs=1M count=10240

[root@qsrpsbk1 spool]# dd if=random.tst of=/dev/st0 bs=2048k count=5000
5000+0 records in
5000+0 records out
10485760000 bytes (10 GB) copied, 160.232 s, 65.4 MB/s

The block size of 2048k is the same I'm using at Bacula Storage Daemon
configuration (Maximum Block Size = 2097152). Why the speed of dd was
65 MB/s when my Despooling speed is about ~80-90 MB/s?

Well, these are my results of a bonnie++ test:

[root@qsrpsbk1 ~]# bonnie++ -d /opt/spool/ -u bacula
Using uid:500, gid:33.
Writing with putc()...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03e ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
qsrpsbk1.qui 36200M 77100 96 108223 ...

18 48701 7 77012 93 142733
8 681.7 0
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++,36200M,77100,96,108223,18,48701,7,77012,93,142733,8,681.7,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++

What do you think about these tests?

WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
Bacula-users mailing list