szunami/xwords-rs

Experiment with different work sharing

Closed this issue · 3 comments

Consider N queues, one per thread, where each output goes to a randomly assigned queue

Eh, based on https://raw.githubusercontent.com/szunami/flamegraph-example/main/flamegraph.svg it is not obvious that lock contention is a real issue.

I currently believe that lock contention is not the issue, but actually CPU starving.