Jump to content


Affinity calculator

Recommended Posts

I noticed that a lot of people have difficulty finding the correct affinity code. I have made  a little (portable) app which calculates the codes for you. You simply mark the cores you want to use and it will generate the appropriate figures. It will generate the decimal code for use in the config file and the hex code for those who use batch files with the /affinity option.

Free to use and share.

Download here :


  • Like 3

Share this post

Link to post
Posted (edited)

Every windows calculator will do the same thing for you. You just need to go to programmer mode, select BIN (binary) and type in a 1 or 0 for the cores you want to enable disable. The AF No will be displayed under DEC (decimal).

Note: the cores will be entered backwards in the BIN (Core 1 is the last digit, core n the first).

e.g.: For a Qad core with 8 threads you will enter 01 01 01 01 to get all main cores running. The last 01 pair stands for the first core and the first thread

Edited by GEKtheReaper

Share this post

Link to post

Many thanks Willy, much appreciated. I've been experimenting with HT "on" Affinity values and forgot the process. This tool is very easy to use.

Share this post

Link to post

Thanks for your effort.

Personally I use Process Lasso to permanently set core affinity for P3D. Always tells me which cores it's running on, select specifically which cores I want to use, avoid logical cores (HT) etc. probably the easiest solution I've come across.

Share this post

Link to post

So.....how many people know which cores to use? Witchcraft.....sigh......Doug

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...