Add option to use logical cores for default threads

This commit is contained in:
Binh Vo committed 2021-06-16 15:46:17 -04:00
1 parent 0152435ab0
commit 6a46e38deb
5 files changed
+123 -47

No files matched your search

+3
View File
@@ -125,6 +125,9 @@ the last one takes effect.
This mode is the only one available when multithread support is disabled.
Single-thread mode features lower memory usage.
Final compressed result is slightly different from `-T1`.
* `--auto-threads={physical,logical} (default: physical)`:
When using a default amount of threads via `-T0`, choose the default based on the number
of detected physical or logical cores.
* `--adapt[=min=#,max=#]` :
`zstd` will dynamically adapt compression level to perceived I/O conditions.
Compression level adaptation can be observed live by using command `-v`.