Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

Is it possible to enable part of cores only?

sysprogerz
Beginner
101 Views
If i have 4 cpu, each 8 cores. Can i make it only run 6 core each??

i tried to google but only find limitted info about this and not so clear.
0 Kudos
2 Replies
jimdempseyatthecove
Black Belt
101 Views
Are you using Windows or Linux?

For a specific application or all applications?

For all applications except ....?

With code embedded into the application or external to the application?

For any 6 cores of 8 core processor or a specific set of 6 cores of 8 core processor?

Both Windows and Linux have a mens to control the applicaiton (also known as a process) to a specific hardware thread or set of hardware threads. Where the documentation usually refers to these as "processor". The key words to google are:

affinityprocess restrict
or
affinity programming site:wikipedia.org

The above searches should yield some useful links.

Jim Dempsey
Reply