Have you checked borgbackup docs, FAQ, and open GitHub issues?
YES
Is this a BUG / ISSUE report or a QUESTION?
ISSUE / QUESTION
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
Borg 1.2.8
Operating system (distribution) and version.
Gentoo Linux
Hardware / network configuration, and filesystems used.
amd64, btrfs, fiber 1gbit/s. Remote storage via ssh.
How much data is handled by borg?
~1TB
Full borg commandline that lead to the problem (leave away excludes and passwords)
borg create --compression zstd,10
Describe the problem you're observing.
When using too high compression level, the Borg process gets pinned at 100% CPU of one core.
zstd supports multithreading which can greatly improve its performance. zstd -T1 shows roughly the same bandwidth i see with Borg, which leads me to believe that MT option is not enabled.
https://pyzstd.readthedocs.io/en/latest/#mt-compression
Another improvement, if not already used, is to use the --long option. It allows zstd to use a bigger window for higher gains.
Have you checked borgbackup docs, FAQ, and open GitHub issues?
YES
Is this a BUG / ISSUE report or a QUESTION?
ISSUE / QUESTION
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
Borg 1.2.8
Operating system (distribution) and version.
Gentoo Linux
Hardware / network configuration, and filesystems used.
amd64, btrfs, fiber 1gbit/s. Remote storage via ssh.
How much data is handled by borg?
~1TB
Full borg commandline that lead to the problem (leave away excludes and passwords)
borg create --compression zstd,10Describe the problem you're observing.
When using too high compression level, the Borg process gets pinned at 100% CPU of one core.
zstd supports multithreading which can greatly improve its performance.
zstd -T1shows roughly the same bandwidth i see with Borg, which leads me to believe that MT option is not enabled.https://pyzstd.readthedocs.io/en/latest/#mt-compression
Another improvement, if not already used, is to use the
--longoption. It allows zstd to use a bigger window for higher gains.