Mandi! Cejka Rudolf via Bacula-users
  In chel di` si favelave...

> - Spool Data = yes, attribute spooling is automatically enabled too

Done.

> In device storage section:
> - Maximum File Size = 32 GB, for LTO-6 and older you can think about 16 GB

i have:
        Maximum File Size = 50G

> - Sufficient Maximum Job Spool Size or Maximum Spool Size, so overall write 
> speed
>   could be effective, I use 200 GB and 1000 GB

i have:
        Maximum Spool Size = 400G
        #Maximum Job Spool Size = 50G


> - Maximum Block Size = 262144 or 131072, for LTO-6 and older 65536 (this is 
> tested
>   on my FreeBSD system, Linux or another systems may need higher values - but 
> do not
>   use too big, because probability of write errors increases)

i have:
        Maximum blocksize = 512K


> - SSD based disk spooling, M2 or SATA RAID

I've just tried with an dedicated SSD disk:

        31-Jan 18:07 svpve3-sd JobId 16548: Committing spooled data to Volume 
"SVPVE3_0003". Despooling 131,278,620,424 bytes ...
        31-Jan 18:21 svpve3-sd JobId 16548: Despooling elapsed time = 00:14:22, 
Transfer rate = 152.2 M Bytes/second

I've tried a quick fio test on SSD disk leading to:

root@svpve3:~# fio --name TEST --eta-newline=5s 
--filename=/rpool-backup/bacula/spool/temp.file --rw=read --size=20g 
--io_size=50g --blocksize=1024k --ioengine=libaio --fsync=10000 --iodepth=32 
--direct=1 --numjobs=1 --runtime=60 --group_reporting
TEST: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 
1024KiB-1024KiB, ioengine=libaio, iodepth=32
fio-3.12
Starting 1 process
TEST: Laying out IO file (1 file / 20480MiB)
Jobs: 1 (f=1): [R(1)][13.1%][r=521MiB/s][r=520 IOPS][eta 00m:53s]
Jobs: 1 (f=1): [R(1)][23.0%][r=521MiB/s][r=520 IOPS][eta 00m:47s] 
Jobs: 1 (f=1): [R(1)][32.8%][r=520MiB/s][r=520 IOPS][eta 00m:41s] 
Jobs: 1 (f=1): [R(1)][42.6%][r=522MiB/s][r=521 IOPS][eta 00m:35s] 
Jobs: 1 (f=1): [R(1)][52.5%][r=520MiB/s][r=519 IOPS][eta 00m:29s] 
Jobs: 1 (f=1): [R(1)][62.3%][r=520MiB/s][r=520 IOPS][eta 00m:23s] 
Jobs: 1 (f=1): [R(1)][72.1%][r=521MiB/s][r=520 IOPS][eta 00m:17s] 
Jobs: 1 (f=1): [R(1)][82.0%][r=521MiB/s][r=520 IOPS][eta 00m:11s] 
Jobs: 1 (f=1): [R(1)][91.8%][r=521MiB/s][r=521 IOPS][eta 00m:05s] 
Jobs: 1 (f=1): [R(1)][100.0%][r=520MiB/s][r=520 IOPS][eta 00m:00s]
TEST: (groupid=0, jobs=1): err= 0: pid=29942: Wed Jan 31 18:32:54 2024
  read: IOPS=519, BW=520MiB/s (545MB/s)(30.5GiB/60061msec)
    slat (usec): min=72, max=563, avg=113.95, stdev=17.64
    clat (msec): min=2, max=120, avg=61.42, stdev= 1.93
     lat (msec): min=2, max=120, avg=61.53, stdev= 1.93
    clat percentiles (msec):
     |  1.00th=[   62],  5.00th=[   62], 10.00th=[   62], 20.00th=[   62],
     | 30.00th=[   62], 40.00th=[   62], 50.00th=[   62], 60.00th=[   62],
     | 70.00th=[   62], 80.00th=[   62], 90.00th=[   62], 95.00th=[   62],
     | 99.00th=[   62], 99.50th=[   63], 99.90th=[   90], 99.95th=[  106],
     | 99.99th=[  117]
   bw (  KiB/s): min=487424, max=534528, per=100.00%, avg=532325.72, 
stdev=4251.46, samples=120
   iops        : min=  476, max=  522, avg=519.83, stdev= 4.15, samples=120
  lat (msec)   : 4=0.01%, 10=0.01%, 20=0.02%, 50=0.07%, 100=99.83%
  lat (msec)   : 250=0.06%
  cpu          : usr=0.86%, sys=7.44%, ctx=31284, majf=7, minf=8203
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=99.8%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, >=64=0.0%
     issued rwts: total=31224,0,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=32

Run status group 0 (all jobs):
   READ: bw=520MiB/s (545MB/s), 520MiB/s-520MiB/s (545MB/s-545MB/s), io=30.5GiB 
(32.7GB), run=60061-60061msec

Disk stats (read/write):
  sde: ios=31220/4, merge=0/1, ticks=1914913/325, in_queue=1872640, util=99.90%


So disk seems to perform at least 500MB/s on reading, but bacula still write
on tape at 150MB/s...

-- 
  Se vuoi navigare, comprati una barca.
                                                (sysmen dei.unipd.it)




_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to