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

I have more than 20 active cpu #8

Open
abique opened this issue Feb 16, 2012 · 2 comments
Open

I have more than 20 active cpu #8

abique opened this issue Feb 16, 2012 · 2 comments
Assignees
Labels
under construction The issue is being worked on.

Comments

@abique
Copy link

abique commented Feb 16, 2012

Hi,

I have more than 20 active cpu (24), so why limiting the number of threads to 20 ?

Thanks.

@Rudde
Copy link
Collaborator

Rudde commented May 28, 2016

Threading creates overhead, I'm sure this could be solved if it's still an issue for you. However, multithreading something that reads from disk doesn't always have any benefits, even when you run drives in RAID0, one of your CPU threads can easily chew trough the data in the speed that your disks are able to feed. And when using more than one threads often end with slower creation time because of overhead.

Only benefit I've seen from multithreading here is when my files are cached in memory, it's slower at my SSD, dual disk RAID0, and 10x Disk RAID 6.

@Calinou
Copy link

Calinou commented May 19, 2020

If there are no real use cases for supporting more than 20 threads, this issue should probably be closed.

@pobrn pobrn self-assigned this Jan 10, 2021
@pobrn pobrn added this to the mktorrent 2.0 prototype milestone Jan 10, 2021
@pobrn pobrn added the under construction The issue is being worked on. label Jan 10, 2021
@pobrn pobrn modified the milestones: mktorrent 2.0-rc0, mktorrent 1.2 Apr 3, 2021
@pobrn pobrn modified the milestones: mktorrent 1.2, mktorrent 2.0-rc0 Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
under construction The issue is being worked on.
Projects
None yet
Development

No branches or pull requests

4 participants