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

Distribute the work more evenly between faster and slower workers #276

Open
hyungukangphd opened this issue Oct 11, 2024 · 1 comment
Open

Comments

@hyungukangphd
Copy link

Looking for a feature to distribute the work unequally to each worker. Often, I have one or two cores that are running slower than others, or get started up and running after others. Once some of the faster cores are done, they sit idle while I wait for the other cores to catch up. Often the faster cores will do its allotment in half the time.

Request: some way to distribute work such that the faster cores either get more work or help out the other thread. I know that dynamic allocation is difficult during the run, so perhaps processor binding, unequal allocation, or spawning more workers than processor cores, etc.

Spawning more workers does speed up things somewhat, but I don't know which core will pick up which work.

@HiCiChlid
Copy link

For me, I always deal with pandas dataframe, and before multi-core working, I am used to shuffle the dataframe first.

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