NUMA-aware constructs for java.util.concurrent

Posted by Dave on Oracle Blogs See other posts from Oracle Blogs or by Dave
Published on Thu, 25 Oct 2012 19:02:49 +0000 Indexed on 2012/10/25 23:08 UTC
Read the original article Hit count: 254

Filed under:

The constructs in the java.util.concurrent JSR-166 "JUC" concurrency library are currently NUMA-oblivious. That's because we currently don't have the topology discovery infrastructure and underpinnings in place that would allow and enable NUMA-awareness. But some quick throw-away prototypes show that it's possible to write NUMA-aware library code. I happened to use JUC Exchanger as a research vehicle. Another interesting idea is to adapt fork-join work-stealing to favor stealing from queues associated with 'nearby' threads.

© Oracle Blogs or respective owner

Related posts about /General