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

straggler thread in new_parallel? #44

Open
crclark opened this issue Feb 10, 2025 · 0 comments
Open

straggler thread in new_parallel? #44

crclark opened this issue Feb 10, 2025 · 0 comments

Comments

@crclark
Copy link

crclark commented Feb 10, 2025

I gave the no key hash map new_parallel function a vec of about 41 billion u64s. I left it unattended for several hours on a machine with 100 cores and came back to find one thread still busy. perf record shows all time is being spent in boomphf::Mphf<T>::hash and boomphf::hashmap::NoKeyBoomHashMap<K,D1>::new_parallel.

I haven't looked at the code closely but I am guessing it may be a straggler thread in one of the two par_chunks loops here.

Any possible mitigations I can take to avoid this?

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

1 participant