efficient / libcuckoo

A high-performance, concurrent hash table
Other
1.61k stars 275 forks source link

Horrible scalability of my experiment #152

Open Jiboxiake opened 1 year ago

Jiboxiake commented 1 year ago

I have an experiment testing scalability of hash maps under a certain workload. https://github.com/Jiboxiake/Concurrent-Hashmap-Experiments In the Global.hpp I control how many worker threads (readers and writers and hashmaps) I have. Libcuckoo's hash map performs OK with fewer than 16 threads but works extremely bad with more than that. I'm wondering if this is a bug or I did something wrong. You can find my experiment in Libcuckoo_Benchmark.hpp.

Thanks.

Jiboxiake commented 1 year ago

The experiment result is here: Libcuckoo Value.xlsx