willy647

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 :

https://willy648.stackstorage.com/s/p95TkbyJ7F2SlSx

  • Like 3

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

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

Thank you for your time and effort.

Share this post


Link to post

Thanks willy for the calculator. 

Share this post


Link to post

Great little program, thanks very much.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now