Jump to content
Sign in to follow this  
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

i7-7700K @ 4.9 GHz, 32GB DDR4, GTX1080, 2 x Samsung 1TB NVMe, 1 x 3TB HDD, Windows 10 Prof

Share this post


Link to post

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

Gerald K. - Germany

Core i7 10700 / ASUS ROG Gaming-E / ASUS Strix  RTX 3090 OC / 32 Gb RAM GSKILL.

"Flightstick" = X56 HOTAS RGB Logitech

Share this post


Link to post

Thank you for your time and effort.


Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz 3.60GHz. RAM 32 GB 1 500GB SSD and 1 2TB HDD NVIDIA RTX2080Ti 11GB WATER COOLED

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.


Asus TUF X670E-PLUS | 7800X3D | G.Skill 32GB DDR @ CL30 6000MHz | RTX 4090 Founders Edition (Undervolted) | WD SNX 850X 2TB + 4TB + 4TB

Share this post


Link to post

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


Intel 10700K @ 5.1Ghz, Asus Hero Maximus motherboard, Noctua NH-U12A cooler, Corsair Vengeance Pro 32GB 3200 MHz RAM, RTX 2060 Super GPU, Cooler Master HAF 932 Tower, Thermaltake 1000W Toughpower PSU, Windows 10 Professional 64-Bit, 100TB of disk storage. Klaatu barada nickto.

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
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...