Jump to content

CPU Affinity and FPS in games.

SImoHayha
Go to solution Solved by Silyy097,

So what does CPU Affinity do exactly? I was messing around with some things playing BF4 and when I sent the affinity to cores 0-4 it completely and utterly tanks. It goes to 72 FPS then 10 then 15 then 68 then so on and so on. However when all of the cores for affinity are on it plays perfectly fine. So what is the big idea ?  And waht does CPU Affinity help with?

CPU Affinity helps when you want a certain number of cores tasked to this certain workload and the rest of the cores tasked to this other workload (Eg on a 6300, 4 cores to editing and the other 2 to idle, used for everything else) so that the computer will not lag like crap on older computers.

 

When you are gaming, dont set the affinity, just leave it to utilize all cores.

So what does CPU Affinity do exactly? I was messing around with some things playing BF4 and when I sent the affinity to cores 0-4 it completely and utterly tanks. It goes to 72 FPS then 10 then 15 then 68 then so on and so on. However when all of the cores for affinity are on it plays perfectly fine. So what is the big idea ?  And waht does CPU Affinity help with?

NEVER GIVE UP. NEVER STOP LEARNING. DONT LET THE PAST HURT YOU. YOU CAN DOOOOO IT

Link to comment
Share on other sites

Link to post
Share on other sites

Very old software used to have issues where it couldn't handle multi-core CPUs and you could set affinity to force it into only "seeing" 1 core.

 

Nowadays you should never need to touch affinity.

Workstation:  14700nonk || Asus Z790 ProArt Creator || MSI Gaming Trio 4090 Shunt || Crucial Pro Overclocking 32GB @ 5600 || Corsair AX1600i@240V || whole-house loop.

LANRig/GuestGamingBox: 9900nonK || Gigabyte Z390 Master || ASUS TUF 3090 650W shunt || Corsair SF600 || CPU+GPU watercooled 280 rad pull only || whole-house loop.

Server Router (Untangle): 13600k @ Stock || ASRock Z690 ITX || All 10Gbe || 2x8GB 3200 || PicoPSU 150W 24pin + AX1200i on CPU|| whole-house loop

Server Compute/Storage: 10850K @ 5.1Ghz || Gigabyte Z490 Ultra || EVGA FTW3 3090 1000W || LSI 9280i-24 port || 4TB Samsung 860 Evo, 5x10TB Seagate Enterprise Raid 6, 4x8TB Seagate Archive Backup ||  whole-house loop.

Laptop: HP Elitebook 840 G8 (Intel 1185G7) + 3080Ti Thunderbolt Dock, Razer Blade Stealth 13" 2017 (Intel 8550U)

Link to comment
Share on other sites

Link to post
Share on other sites

Setting affinity is good if you have an old game that will crash if you OS tries to spread its single-core usage over multiple CPU cores. This was a serious problem back when dual cores were new and Windows Vista tried to do this a lot.

 

I haven't had the need to manually set CPU affinity for a long time though, even with really old games so it seems like the OS has stopped causing problems here.

 

BF4 is a game that can use up to 8 cores effectively. It stands to reason that it would lose performance if you tell it not to use a decent amount of your CPU.

Link to comment
Share on other sites

Link to post
Share on other sites

So what does CPU Affinity do exactly? I was messing around with some things playing BF4 and when I sent the affinity to cores 0-4 it completely and utterly tanks. It goes to 72 FPS then 10 then 15 then 68 then so on and so on. However when all of the cores for affinity are on it plays perfectly fine. So what is the big idea ?  And waht does CPU Affinity help with?

CPU Affinity helps when you want a certain number of cores tasked to this certain workload and the rest of the cores tasked to this other workload (Eg on a 6300, 4 cores to editing and the other 2 to idle, used for everything else) so that the computer will not lag like crap on older computers.

 

When you are gaming, dont set the affinity, just leave it to utilize all cores.

Quote me if you want me to see your message. Like my post if it helped. Click "Show More" to see things that I use.

 

Desktop (2014): CPU: Intel Core i5 4690k @ 3.50GHz | GPU: MSi GTX 970 Gaming 4G | Motherboard: MSi Z97 Gaming 5 | RAM: 2x4GB G.Skill RipJaws X 1600MHz + 2x4GB HyperX Black 1600MHz | SSD: Samsung 750 Evo 120GB | HDD: WD Black 1TB | Cooler: Cooler Master Hyper 212x | PSU: Corsair VS650 | Case: Cooler Master Elite 431 Plus | OS: Windows 10 Home

 

Laptop (2017): Model: Asus UX310U


Peripherals: Monitor: Samsung S24D300 OC@75Hz + Viewsonic XG2401 (144Hz) | Mouse: Logitech G305 | Keyboard: Razer Blackwidow Chroma V2 | Headset: HyperX Cloud Core | Speakers: Logitech Z333 | Additional: Logitech G29

 

Mobiles: Samsung Pixon (2010-2012) | Samsung Galaxy Ace (2012-2013) | Samsung Galaxy S3 (2013-2016) | Samsung Note 4 (2015)(Lost) | Samsung Galaxy S7 (2016-2019) | Samsung Galaxy S10 (2019 - Current) | Additional: ASUS Zenwatch 2 (2016)

Link to comment
Share on other sites

Link to post
Share on other sites

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

×