[SOLVED] BMLIMIT for ZSTD backups

May 18, 2019
231
15
38
Varies
I know I can use
Code:
zstd: N
and I have
Code:
BWLIMIT: 49152
set in /etc/vzdump.conf, but I am not sure zstd takes bwlimit in consideration. the process executing the back shows
Code:
... cstream -t 50331648 | zstd --rsyncable '--threads=2' ...

I need to lower the bandwidth bc it's straining the disk and applications are unable to perform well (CPU usage is over # of cores). I have been using zstd for almost 1 year and it has worked well (CPU usage stays reasonable) but since the last PVE update (which asked to implement a new template for vzdump.conf) something related to the backup changed. I can't say this is to blame for sure, so the question is how to limit bandwidth for vzbackups when using zstd?
 
Last edited:
the cstream -t 50331648 is the limit taking place (before the data hits zstd, so the effect should be even bigger since it works on the uncompressed backup stream ;))