• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Does setting affinity for cores in task manager make AMD Threadripper gamemode irrelevant?

Joined
May 19, 2017
Messages
443 (0.18/day)
Processor i7 4790k / ryzen 1700
Motherboard Asus Maximus VI Extreme / gigabyte b350 mini itx
Cooling Corsair H70 / cooler master master liquid
Memory 32gb DDR3 / 32gb ddr4
Video Card(s) Gtx 1080 / gtx 1080
Storage 128gb Samsung 850 Pro, 2tb hdd / 500gb 850 evo
Case Thermaltake Chaser Mk-1 / Silverstone m13b
Power Supply 1000W OCZ Gold Full Modular / seasonic focus 850w
Mouse Proteus Core G502
Keyboard Corsair K95 RGB
As far as I can tell, gamemode and disabling SMT for better gaming performance basically results in locking down half the cores on the CPU. Wouldn't simply only allowing the application to use 8 or 16 threads via task manager set affinity bypass that issue and make it so you don't lose those threads for other applications, or am I mistaken? If so, wouldn't that effectively render gamemode irrelevant? Or am I mistaken on how setting affinity works?
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.65/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Do a test? Run a game with a built in benchmark. I doubt changing affinity settings will impact anymore than Game Mode does.

Affinity basically instructs the Windows thread scheduler which logical processors the process can use. Normally, there's no restrictions so it balances the load. If a process starts using >50% on one logical processor, it usually moves unrelated threads to another core that isn't carrying so much burden; however, if you have aggressive power saving features enabled, it will do the opposite: try to pile threads together so it can power logical processors down. If you set it to high performance power profile as AMD recommends, the former is the case.
 
Last edited:
Joined
Mar 23, 2016
Messages
4,839 (1.65/day)
Processor Ryzen 9 5900X
Motherboard MSI B450 Tomahawk ATX
Cooling Cooler Master Hyper 212 Black Edition
Memory VENGEANCE LPX 2 x 16GB DDR4-3600 C18 OCed 3800
Video Card(s) XFX Speedster SWFT309 AMD Radeon RX 6700 XT CORE Gaming
Storage 970 EVO NVMe M.2 500 GB, 870 QVO 1 TB
Display(s) Samsung 28” 4K monitor
Case Phantek Eclipse P400S (PH-EC416PS)
Audio Device(s) EVGA NU Audio
Power Supply EVGA 850 BQ
Mouse SteelSeries Rival 310
Keyboard Logitech G G413 Silver
Software Windows 10 Professional 64-bit v22H2
Game mode prevents the Windows scheduler from bouncing threads around but also tries to keep the game in RAM nearest to the cores the game is utilizing (reduction in memory latency for far away cores.)

Another name I see it referred to is Local Mode, the other is NUMA mode.
 
Last edited:

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
40,435 (6.61/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
Affinity helps windows prioritize processes, if you make the game at highest it will try to give the most resources to the game.

It is another trick that worked in XP well, however I feel it is less important now...
 
Joined
May 19, 2017
Messages
443 (0.18/day)
Processor i7 4790k / ryzen 1700
Motherboard Asus Maximus VI Extreme / gigabyte b350 mini itx
Cooling Corsair H70 / cooler master master liquid
Memory 32gb DDR3 / 32gb ddr4
Video Card(s) Gtx 1080 / gtx 1080
Storage 128gb Samsung 850 Pro, 2tb hdd / 500gb 850 evo
Case Thermaltake Chaser Mk-1 / Silverstone m13b
Power Supply 1000W OCZ Gold Full Modular / seasonic focus 850w
Mouse Proteus Core G502
Keyboard Corsair K95 RGB
Do a test? Run a game with a built in benchmark. I doubt changing affinity settings will impact anymore than Game Mode does.

Affinity basically instructs the Windows thread schedule which logical processors the process can use. Normally, there's no restrictions so it balances the load. If a process starts using >50% on one logical processor, it usually moves unrelated threads to another core that isn't carrying so much burden; however, if you have aggressive power saving features enabled, it will do the opposite: try to pile threads together so it can power logical processors down. If you set it to high performance power profile as AMD recommends, the former is the case.

I would try this, but sadly I only have an i7 4790k and I don't actually have a threadripper processor to test it out with (at least yet).

Game mode prevents the Windows scheduler from bouncing threads around but also tries to keep the game in RAM nearest to the cores the game is utilizing (reduction in memory latency for far away cores.)

Another name I see it referred to is Local Mode, the other is NUMA mode.

Affinity helps windows prioritize processes, if you make the game at highest it will try to give the most resources to the game.

It is another trick that worked in XP well, however I feel it is less important now...

I was watching a video where having localized memory mode on didn't really hurt performance in games, but that it didn't necessarily make a significant bump up in frame. So I was wondering if having memory mode in default but having the task affinity in the task manager only allow access to say 8 threads to games that seem to suffer with a higher core count cpu it that would effectively enable game mode (for that application) and let me have access to the rest of the processor to do something else with while I'm using it?
 
Joined
Sep 15, 2012
Messages
11 (0.00/day)
System Name Ryzen 5
Processor AMD Ryzen 5 1600
Motherboard Asus B350m Plus
Cooling Cooler Master 212
Memory Team elite 2400 DRR4
Video Card(s) MSI RX 470
Storage 4 hard drives 4TB total
Display(s) SamSung S24C23ol
Case Cooler Master 590III
Power Supply Corsair 750M
Mouse Logitech g400s
Keyboard Devastator 2
Software win 10 and games
most of the games we AMD ryzen buyers are playing, where NOT made with the RYZEN kits sent out. they had not test bench to test them on, so most companies never used them. intel packs allowed companies to use up to 4 cores, so the companies did not have to worry about getting the games to run on anything passed 4 cores. when the companies becomes less lazy and store going passed 4 core, will amd fx and ryzen line really be useful.
 

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
40,435 (6.61/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
most of the games we AMD ryzen buyers are playing, where NOT made with the RYZEN kits sent out. they had not test bench to test them on, so most companies never used them. intel packs allowed companies to use up to 4 cores, so the companies did not have to worry about getting the games to run on anything passed 4 cores. when the companies becomes less lazy and store going passed 4 core, will amd fx and ryzen line really be useful.


Even the Phenom 2
 
Joined
Dec 20, 2016
Messages
107 (0.04/day)
Location
Italy
System Name Frankenstin 2.0, Alienware X17 R2
Processor Ryzen 5 3600 @ 4400mhz, 1,248v fixed
Motherboard Fatal1ty B450 Gaming-ITX/ac
Cooling Swiftech Apogee drive 2 + XSPC x360 + generic GPU Waterblock
Memory 32Gb G.skill 3200 cl16
Video Card(s) Powercolor RX Vega 56, Custom watercooling - @ 64 mod
Storage Sabrent Rocket 1TB NVME
Display(s) Samsung LC27JG500
Case Thermaltake Core G3
Audio Device(s) Integrated + Denon AVR 2800
Power Supply Enermax Revolution SFX 650w
Mouse Trust GXT 152
Keyboard Logitech G413
Software Windows 10 Pro x64
There's an application called system explorer that lets you set proc affinity and priority , and retains user Choices after reboot. I use it to prevent threads to bounce around. I think it would be as effective as using game mode, without loosing 8 cores. You can set other programs to work on the other die
 
Joined
Dec 14, 2006
Messages
536 (0.08/day)
System Name Ed-PC
Processor Intel i5-12600k
Motherboard Asus TUF Z690 PLUS Wifi D4
Cooling Noctua NH-14S
Memory Crucial Ballistix DDR4 C16@3600 16GB
Video Card(s) Nvidia MSI 970
Storage Samsung 980, 860evo
Case Lian Li Lancool II mesh Perf
Audio Device(s) onboard
Power Supply Corsair RM750x
Software Win10 Pro 64bit
Hey guys
Those that use Processlassoor or want to, ver 9.0.0.513beta now supports NUMA, so you can set your node/affinity per application and it will save settings.
 
Last edited:

baryluk

New Member
Joined
Nov 3, 2018
Messages
17 (0.01/day)
System Name newblack
Processor AMD Ryzen Threadripper 2950X 16-Core Processor
Motherboard MSI MEG X399 CREATION (MS-7B92)
Cooling Enermax Liqtech TR4 II 360
Memory 4x 16GB Samsung M391A2K43BB1-CRC (2400MT/s) running at DDR4-3200 tCL=17 (10.6ns)
Video Card(s) AMD Fury X (by Powercolor)
Storage 2x Samsung PM983 U.2 4TB, ZFS, NFS, iSCSI, SSHFS, 10Gbps fiber optical Ethernet to 300TB NAS
Display(s) Tripple monitor setup via DisplayPort (Eizo FlexScan EV2730Q)
Case Fractal Design R6 USB-C Blackout
Audio Device(s) USB DAC
Power Supply Seasonic Prime Titanium Ultra 1000W @ 230V + Eaton online UPS
Software Debian sid
Benchmark Scores 400GFLOPS+
+1 for Process Lasso from Bitsum. I talked to devs few days ago, and they were very responsive, and I suggested to do few improvements to make automatic affinity on Windows handle 2970X/2990WX better. The new version also helps with other CPUs, 2950X, and even some Intel ones HEDTs. (If you know how to use it). The new Dynamic Mode in Ryzen Master Tool is also apparently doing pretty good job according to Bitsum, but Process Lasso will give you more control and be sure it works as intended for specific apps.
 
Joined
Oct 17, 2012
Messages
9,781 (2.34/day)
Location
Massachusetts
System Name Americas cure is the death of Social Justice & Political Correctness
Processor i7-11700K
Motherboard Asrock Z590 Extreme wifi 6E
Cooling Noctua NH-U12A
Memory 32GB Corsair RGB fancy boi 5000
Video Card(s) RTX 3090 Reference
Storage Samsung 970 Evo 1Tb + Samsung 970 Evo 500Gb
Display(s) Dell - 27" LED QHD G-SYNC x2
Case Fractal Design Meshify-C
Audio Device(s) on board
Power Supply Seasonic Focus+ Gold 1000 Watt
Mouse Logitech G502 spectrum
Keyboard AZIO MGK-1 RGB (Kaith Blue)
Software Win 10 Professional 64 bit
Benchmark Scores the MLGeesiest
I've tested with process lasso, or task manager and from my experience with a very limited CPU at the time, it didn't help, windows managed all the threads just fine on its own
 
Joined
Oct 8, 2015
Messages
712 (0.23/day)
Location
Earth's Troposphere
System Name 3 "rigs"-gaming/spare pc/cruncher
Processor R7-5800X3D/i7-7700K/R9-7950X
Motherboard Asus ROG Crosshair VI Extreme/Asus Ranger Z170/Asus ROG Crosshair X670E-GENE
Cooling Bitspower monoblock ,custom open loop,both passive and active/air tower cooler/air tower cooler
Memory 32GB DDR4/32GB DDR4/64GB DDR5
Video Card(s) Gigabyte RX6900XT Alphacooled/AMD RX5700XT 50th Aniv./SOC(onboard)
Storage mix of sata ssds/m.2 ssds/mix of sata ssds+an m.2 ssd
Display(s) Dell UltraSharp U2410 , HP 24x
Case mb box/Silverstone Raven RV-05/CoolerMaster Q300L
Audio Device(s) onboard/onboard/onboard
Power Supply 3 Seasonics, a DeltaElectronics, a FractalDesing
Mouse various/various/various
Keyboard various wired and wireless
VR HMD -
Software W10.someting or another,all 3
Off the top of my head I answer you with a question , witch one of the 2 you mentioned has the greater ctrl on what instructs are prioritized?, I can see one favoring another , conficts that are yeldng diminishing returns, a win , yet these are merely some scenarios as I've not fiddled with these new ones at such affinity so a grain of salt is implied for my this forum post.
 

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
40,435 (6.61/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
I've tested with process lasso, or task manager and from my experience with a very limited CPU at the time, it didn't help, windows managed all the threads just fine on its own

Isn't this where Ryzen Master comes into play for local dynamic mode?
 
Joined
Dec 14, 2006
Messages
536 (0.08/day)
System Name Ed-PC
Processor Intel i5-12600k
Motherboard Asus TUF Z690 PLUS Wifi D4
Cooling Noctua NH-14S
Memory Crucial Ballistix DDR4 C16@3600 16GB
Video Card(s) Nvidia MSI 970
Storage Samsung 980, 860evo
Case Lian Li Lancool II mesh Perf
Audio Device(s) onboard
Power Supply Corsair RM750x
Software Win10 Pro 64bit
Off the top of my head I answer you with a question , witch one of the 2 you mentioned has the greater ctrl on what instructs are prioritized?, I can see one favoring another , conficts that are yeldng diminishing returns, a win , yet these are merely some scenarios as I've not fiddled with these new ones at such affinity so a grain of salt is implied for my this forum post.
ProcessLasso can prioritize CPU Affinity and CPU priority per application, which the settings are saved.
There also a bunch of other features (ProBalnce, performance mode, etc) but the above pertain to this post mostly.

Ryzen Master Dynamic local mode is a global fix, so it tries to fix latency of the nodes by trying to keep the CPU load on certain nodes that have direct access to memory (nothing per app).
 
Last edited:

baryluk

New Member
Joined
Nov 3, 2018
Messages
17 (0.01/day)
System Name newblack
Processor AMD Ryzen Threadripper 2950X 16-Core Processor
Motherboard MSI MEG X399 CREATION (MS-7B92)
Cooling Enermax Liqtech TR4 II 360
Memory 4x 16GB Samsung M391A2K43BB1-CRC (2400MT/s) running at DDR4-3200 tCL=17 (10.6ns)
Video Card(s) AMD Fury X (by Powercolor)
Storage 2x Samsung PM983 U.2 4TB, ZFS, NFS, iSCSI, SSHFS, 10Gbps fiber optical Ethernet to 300TB NAS
Display(s) Tripple monitor setup via DisplayPort (Eizo FlexScan EV2730Q)
Case Fractal Design R6 USB-C Blackout
Audio Device(s) USB DAC
Power Supply Seasonic Prime Titanium Ultra 1000W @ 230V + Eaton online UPS
Software Debian sid
Benchmark Scores 400GFLOPS+
Ryzen Master Dynamic Local Mode, is observing multithreaded processes and see which ones do significant amount of memory operations, and if such process is detected it changes process / thread affinity for it. The important part it is doing this automatically and universally to any app, and if app no longer uses all cpu or memory operations, it will undo affinity fixation for the process.
 
Joined
Dec 14, 2006
Messages
536 (0.08/day)
System Name Ed-PC
Processor Intel i5-12600k
Motherboard Asus TUF Z690 PLUS Wifi D4
Cooling Noctua NH-14S
Memory Crucial Ballistix DDR4 C16@3600 16GB
Video Card(s) Nvidia MSI 970
Storage Samsung 980, 860evo
Case Lian Li Lancool II mesh Perf
Audio Device(s) onboard
Power Supply Corsair RM750x
Software Win10 Pro 64bit
Joined
Nov 13, 2007
Messages
10,209 (1.71/day)
Location
Austin Texas
Processor 13700KF Undervolted @ 5.6/ 5.5, 4.8Ghz Ring 200W PL1
Motherboard MSI 690-I PRO
Cooling Thermalright Peerless Assassin 120 w/ Arctic P12 Fans
Memory 48 GB DDR5 7600 MHZ CL36
Video Card(s) RTX 4090 FE
Storage 2x 2TB WDC SN850, 1TB Samsung 960 prr
Display(s) Alienware 32" 4k 240hz OLED
Case SLIGER S620
Audio Device(s) Yes
Power Supply Corsair SF750
Mouse Xlite V2
Keyboard RoyalAxe
Software Windows 11
Benchmark Scores They're pretty good, nothing crazy.
Nice I like Bitsum's stuff... really helps out on the workstation.
 
Joined
Dec 14, 2006
Messages
536 (0.08/day)
System Name Ed-PC
Processor Intel i5-12600k
Motherboard Asus TUF Z690 PLUS Wifi D4
Cooling Noctua NH-14S
Memory Crucial Ballistix DDR4 C16@3600 16GB
Video Card(s) Nvidia MSI 970
Storage Samsung 980, 860evo
Case Lian Li Lancool II mesh Perf
Audio Device(s) onboard
Power Supply Corsair RM750x
Software Win10 Pro 64bit
Just an update on CorePrio, It now has a GUI and startup service.
Small footprint with some tweakable setting for ThreadRipper 2990wx and 2970wx to support Dynamic Local Mode.

A How-to explained.

https://bitsum.com/portfolio/coreprio/
 
Joined
Mar 18, 2015
Messages
2,960 (0.90/day)
Location
Long Island
I have turned off cores starting with 8 on several Intel CPUs and say no impact until I want from 4 to 3 ... it was about 2 fps
 
Joined
Dec 14, 2006
Messages
536 (0.08/day)
System Name Ed-PC
Processor Intel i5-12600k
Motherboard Asus TUF Z690 PLUS Wifi D4
Cooling Noctua NH-14S
Memory Crucial Ballistix DDR4 C16@3600 16GB
Video Card(s) Nvidia MSI 970
Storage Samsung 980, 860evo
Case Lian Li Lancool II mesh Perf
Audio Device(s) onboard
Power Supply Corsair RM750x
Software Win10 Pro 64bit
I have turned off cores starting with 8 on several Intel CPUs and say no impact until I want from 4 to 3 ... it was about 2 fps
If I follow you there won't be too many places Intel CPU would get helped out doing this.
The main issue with Threadripper is the only die 0 and 2 have direct memory channels (only 4 channels for 4 dies's/nodes), so the software prioritizes those 2 to limit latency.

The only thing that might help Intel is to prioritize the fastest core or say your running 2 application that needs to be contained, no thread thrashing. like, for example, you have an 8core CPU and want to stream your game on the same system. You could prioritize the game and also set low limit affinity on stream threads that you never want the game to use. This might run better than not micromanaging the affinity.
You would need to test all this for whatever software combo to see if it benefits performance (on Intel side).
 
Joined
Oct 8, 2015
Messages
712 (0.23/day)
Location
Earth's Troposphere
System Name 3 "rigs"-gaming/spare pc/cruncher
Processor R7-5800X3D/i7-7700K/R9-7950X
Motherboard Asus ROG Crosshair VI Extreme/Asus Ranger Z170/Asus ROG Crosshair X670E-GENE
Cooling Bitspower monoblock ,custom open loop,both passive and active/air tower cooler/air tower cooler
Memory 32GB DDR4/32GB DDR4/64GB DDR5
Video Card(s) Gigabyte RX6900XT Alphacooled/AMD RX5700XT 50th Aniv./SOC(onboard)
Storage mix of sata ssds/m.2 ssds/mix of sata ssds+an m.2 ssd
Display(s) Dell UltraSharp U2410 , HP 24x
Case mb box/Silverstone Raven RV-05/CoolerMaster Q300L
Audio Device(s) onboard/onboard/onboard
Power Supply 3 Seasonics, a DeltaElectronics, a FractalDesing
Mouse various/various/various
Keyboard various wired and wireless
VR HMD -
Software W10.someting or another,all 3
@Ed_1
micromanaging the affinity
thankyou as such is some tedious work doing so right after every boot for one, I am not running my pc 24/7 , yet I have done so on a less performant PC and the results where there as in app(game) responsiveness compared to not "micromanaging the affinity".
 
Joined
Dec 14, 2006
Messages
536 (0.08/day)
System Name Ed-PC
Processor Intel i5-12600k
Motherboard Asus TUF Z690 PLUS Wifi D4
Cooling Noctua NH-14S
Memory Crucial Ballistix DDR4 C16@3600 16GB
Video Card(s) Nvidia MSI 970
Storage Samsung 980, 860evo
Case Lian Li Lancool II mesh Perf
Audio Device(s) onboard
Power Supply Corsair RM750x
Software Win10 Pro 64bit
@Ed_1 thankyou as such is some tedious work doing so right after every boot for one, I am not running my pc 24/7 , yet I have done so on a less performant PC and the results where there as in app(game) responsiveness compared to not "micromanaging the affinity".
Right, Just to remind Process lasso can handle persistent process and affinities along with its Probalance module, but this thread is about high core count TR.
I don't know, maybe Coreprio might get integrated into PL in the future if demand is high from users.
 
Top