Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Java Threads in a specific core

marcusrogerio
Beginner
132 Views

Can I force a Java thread to execute in a specific core in a multicore processor?

0 Kudos
1 Reply
TimP
Black Belt
132 Views
The answer seems to be "it depends." If you do a short web search, you should find the recommendation to use the Windows affinity control in Task Manager, if that is your OS. That might at least give you a way to find out whether affinity control is useful in your scenario, whatever that may be. For linux, you might be able to use taskset.
Reply