Wow, that's a cool - and brave - attempt!
Do yourself a favor: prepare everything as you describe. Then (on the PBS and inside the storage folder used for PBS-storage) run a common benchmark similar like this:
Code:
fio --name=randrw --ioengine=libaio --direct=1 --sync=1 --rw=randrw --bs=3M --numjobs=1 --iodepth=1 --size=20G --runtime=120 --time_based --rwmixread=75
This is just an example; depending on "iodepth", "bs" etc the result will vary drastically. "size" should be larger than Ram/Cache. The
actual "bs" is
max 4 MiB, so testing with three MiB seems reasonable. (Not the usual 4k.)
Please note that PBS needs IOPS, IOPS and... IOPS. The
recommended storage is mentioned here:
https://pbs.proxmox.com/docs/installation.html#recommended-server-system-requirements
Please post the output of fio in
[code]...[/code]
-tags
----
Question to other readers: what is a good parameter set for fio-for-PBS? The above is just a dirty first idea.
fio --name=randrw --ioengine=libaio --direct=1 --sync=1 --rw=randrw --bs=3M --numjobs=1 --iodepth=1 --size=20G --runtime=120 --time_based --rwmixread=75
randrw: (g=0): rw=randrw, bs=(R) 3072KiB-3072KiB, (W) 3072KiB-3072KiB, (T) 3072KiB-3072KiB, ioengine=libaio, iodepth=1
fio-3.33
Starting 1 process
randrw: Laying out IO file (1 file / 20480MiB)
Jobs: 1 (f=1): [m(1)][100.0%][r=51.0MiB/s,w=12.0MiB/s][r=17,w=4 IOPS][eta 00m:00s]
randrw: (groupid=0, jobs=1): err= 0: pid=17888: Wed Jun 25 23:32:10 2025
read: IOPS=13, BW=40.3MiB/s (42.3MB/s)(4836MiB/120012msec)
slat (usec): min=96, max=559, avg=124.43, stdev=25.73
clat (msec): min=39, max=3352, avg=59.77, stdev=138.94
lat (msec): min=39, max=3352, avg=59.89, stdev=138.94
clat percentiles (msec):
| 1.00th=[ 42], 5.00th=[ 44], 10.00th=[ 44], 20.00th=[ 45],
| 30.00th=[ 46], 40.00th=[ 47], 50.00th=[ 47], 60.00th=[ 48],
| 70.00th=[ 50], 80.00th=[ 51], 90.00th=[ 55], 95.00th=[ 59],
| 99.00th=[ 169], 99.50th=[ 793], 99.90th=[ 2265], 99.95th=[ 3339],
| 99.99th=[ 3339]
bw ( KiB/s): min= 6144, max=73728, per=100.00%, avg=46079.65, stdev=12051.62, samples=214
iops : min= 2, max= 24, avg=15.00, stdev= 3.93, samples=214
write: IOPS=4, BW=13.7MiB/s (14.4MB/s)(1650MiB/120012msec); 0 zone resets
slat (usec): min=1642, max=2291, avg=1833.89, stdev=102.56
clat (msec): min=34, max=117, avg=38.54, stdev= 6.01
lat (msec): min=36, max=118, avg=40.37, stdev= 6.00
clat percentiles (msec):
| 1.00th=[ 36], 5.00th=[ 36], 10.00th=[ 36], 20.00th=[ 37],
| 30.00th=[ 37], 40.00th=[ 38], 50.00th=[ 38], 60.00th=[ 39],
| 70.00th=[ 39], 80.00th=[ 40], 90.00th=[ 41], 95.00th=[ 43],
| 99.00th=[ 58], 99.50th=[ 99], 99.90th=[ 117], 99.95th=[ 117],
| 99.99th=[ 117]
bw ( KiB/s): min= 6144, max=43008, per=100.00%, avg=16834.25, stdev=8036.03, samples=200
iops : min= 2, max= 14, avg= 5.47, stdev= 2.61, samples=200
lat (msec) : 50=82.65%, 100=15.63%, 250=1.11%, 500=0.14%, 750=0.05%
lat (msec) : 1000=0.09%, 2000=0.19%, >=2000=0.14%
cpu : usr=0.15%, sys=0.93%, ctx=2177, majf=0, minf=10
IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=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.0%, 64=0.0%, >=64=0.0%
issued rwts: total=1612,550,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
READ: bw=40.3MiB/s (42.3MB/s), 40.3MiB/s-40.3MiB/s (42.3MB/s-42.3MB/s), io=4836MiB (5071MB), run=120012-120012msec
WRITE: bw=13.7MiB/s (14.4MB/s), 13.7MiB/s-13.7MiB/s (14.4MB/s-14.4MB/s), io=1650MiB (1730MB), run=120012-120012msec
notes:
The google drive uses the local disk like cache.
My drive grow in size, then, slowly down in size after send the file online.
The CPU with google drive was 4 cores. 40% usage.
The traffit on ethernet in 900mbps+, so, was the speed off switch and network card.
The local disk is important be bigger.
Windows 2019 essentials - 1809.
Google one - 30TB.
When restart computer, the shared is lost. You must login again. If use Administrator account, add to the share permissions and use him on credentials to mount on linux. This will free you geting a error permissions message on linux (after mount smb).
Command to mount:
mount -t cifs "//192.168.xxx.xx/g" /mnt/smb/gdrive_backup -o credentials=/etc/smbcredentials/backup.cred,domain=WORKGROUP,iocharset=utf8,vers=3.0,noserverino