Jump to content

CPU Mask bit pattern to use


cpuMask

Recommended Posts

Can anyone give me examples of cpu bit masks to use for a 4-core multithreaded cpu?

 

I tried variations such as 1001 for cores 1 and 4, 0xFF00FF00 for cores 1 and 3, etc.

 

None of these work as expected.  Do I need a prepend or postpend for binary?  The default for hex was 0x.

 

Thanks!

Link to comment
Share on other sites

It all depends on the logical processor ordering of your operating system.  On Vista and later Windowses ordering goes as:

 

Core #1 / HTT Unit #1

Core #1 / HTT Unit #2

Core #2 / HTT Unit #1

Core #2 / HTT Unit #2

... etc.

 

So to select Core #1 and Core #4, you would have to use a binary bit mask of 01000001 which is hex 41.

 

Regards,

Fiery

Link to comment
Share on other sites

Thank you, Fiery, that worked.

 

Initial run of Haswell i7 4770k at 1.15 vcore at 4 GHz produced these temps in AIDA64 stress test:

 

Mask:0x40 core1:36c core2:36c core3:42c core4:49c**

Mask:0x10 core1:36c core2: 39c core3:51c** core4:37c

Mask:0x08 core1:39c core2:51c** core3:41c core4:33c

Mask:0x01 core1:52c** core2:41c core3:42c core4:33c

 

 

Now I can push core 1 to it's peak and use adaptive with per-core.

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...