Improve comment about zstd core limit

This commit is contained in:
Orsiris de Jong 2025-04-29 16:52:38 +02:00 committed by GitHub
parent 2c009be6ce
commit 0f98814efd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ use Capture::Tiny ':all';
my $mbuffer_size = "16M"; my $mbuffer_size = "16M";
my $pvoptions = "-p -t -e -r -b"; my $pvoptions = "-p -t -e -r -b";
# Get number of CPUs for zstd threading, but leave at least two cores empty # Get number of CPUs for zstd threading, but leave at least two cores empty for system responsiveness
my $ncpus = int(`nproc`); my $ncpus = int(`nproc`);
if ($ncpus > 2) { $ncpus -= 2;} if ($ncpus > 2) { $ncpus -= 2;}