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

Multiprocessing improvement #12

Open
phigas opened this issue Jan 23, 2024 · 1 comment
Open

Multiprocessing improvement #12

phigas opened this issue Jan 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@phigas
Copy link
Contributor

phigas commented Jan 23, 2024

Currently the Multiprocessing works by assigning the phonons to the subprocesses before they are started which results in some finishing before others.
Ideally this should be handled by a worker pool which assigns the phonons to the subprocesses while they run.

@anufrievroman anufrievroman added the enhancement New feature or request label Feb 22, 2024
@anufrievroman
Copy link
Owner

This is true, but it appears that it's only a problem for a small number of phonons. For a sufficiently large number, all workers will take roughly the same time, so that the benefit of this optimization would be rather small.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants