mirror of https://github.com/jimsalterjrs/sanoid
Improve comment about zstd core limit
This commit is contained in:
parent
2c009be6ce
commit
0f98814efd
2
syncoid
2
syncoid
|
|
@ -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;}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue