Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit default number of threads for bgzip compression to max 4 instead of max CPUs. #36

Closed
ghuls opened this issue Sep 7, 2021 · 2 comments

Comments

@ghuls
Copy link
Contributor

ghuls commented Sep 7, 2021

Limit default number of threads for bgzip compression to max 4 instead of max CPUs.
4 threads for compression give a quite good compression speed vs CPU usage ratio.
Most servers nowadays have e.g. 40 or more CPU threads. Spawning that many threads by default is not great for performance.

@sstadick
Copy link
Owner

sstadick commented Sep 7, 2021

Totally reasonable! I'll make a release later today / tomorrow morning.

Thank you for the feedback!

@sstadick
Copy link
Owner

sstadick commented Sep 8, 2021

See v0.6.3

@sstadick sstadick closed this as completed Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants