[concurrency-interest] To Hyper-Thread or not

Rahul Saksena rahul.jan83 at gmail.com
Fri Dec 23 14:57:24 EST 2011


Assuming we have 8 physical cores (intel xeon SMP) and the java process has
more than 12 threads running  through out its life cycle (no shared
variables),

Would you enable hyperthreading and have 16 logical cores?
Does enabling hyperthreading result in far less number of context switches
in this case?
Does the jvm recognize that these threads have no shared data/contention
and pin/bind it to different cores?

Thanks,
Rahul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20111223/4c7d5662/attachment.html>


More information about the Concurrency-interest mailing list