How to do auto affinity?
Guys, i have single core game, how to AUTOMATICLY set the affinity of the background app(system) so it use 3 core, then the game can use the spare core (can do manually) so in theory the game will get less lag, any idea?
i know i can set affinity one by one, but is there's method to do it automatically?
Terakhir diedit oleh BlueLightning; 24 Feb 2017 @ 5:23pm
< >
Menampilkan 1-10 dari 10 komentar
If its single core it will only use 1 core anyways.

But yeah google if you want auto set affinity I think there is a program for it if not you have to manually do it in taskmanager.
Starting parameters of the executeable. Keep in mind though, it does not mean that the core is exclusive for just your game.
Diposting pertama kali oleh Teh Anarchist!!!:
If its single core it will only use 1 core anyways.

But yeah google if you want auto set affinity I think there is a program for it if not you have to manually do it in taskmanager.
people says this script, however, this doesnt turn services to 3 core, which is in my pc, is many. this only works for apps, and only help sightly, until i had to manually affinity set again.
is there's a better idea?

POWERSHELL
to make app only run on core 0:
$instances = Get-Process
foreach ($i in $instances) { $i.ProcessorAffinity=1 }

core0-5 (This what i do, but not all app affected)
$instances = Get-Process
foreach ($i in $instances) { $i.ProcessorAffinity=63 }

core0-6
$instances = Get-Process
foreach ($i in $instances) { $i.ProcessorAffinity=127 }

to make app use all core:
$instances = Get-Process
foreach ($i in $instances) { $i.ProcessorAffinity=255 }

Diposting pertama kali oleh kamk:
Starting parameters of the executeable. Keep in mind though, it does not mean that the core is exclusive for just your game.
i know, i can set app afinity by taskmanager for the game, what i ask, how to automate other app so it could only use the remaining 3 core...

ok maybe you dont get it. i mean i could set apps to use core 0-5, sparing core 6 and 7 (1 core 2 thread i7) for the game and set affinity of the game to 6&7. but setting apps to core 0-5 manually is pain...
Terakhir diedit oleh BlueLightning; 24 Feb 2017 @ 5:21pm
You can also make a BAT file that launches the game EXE and then applies those changes you want with regards to the above.

Just ensure that if the game requires a game client, launch that first before the BAT file
Diposting pertama kali oleh Bad-Motha:
You can also make a BAT file that launches the game EXE and then applies those changes you want with regards to the above.

Just ensure that if the game requires a game client, launch that first before the BAT file
actually, i need to say to OTHER app so they could only use 3 core (0-5). setting affinity to game is easy, but to apps one by one is pain, i ask, how to set affinity of apps automatically
I did get you, and i didn't mention the task manager either.

What you are trying to do is just not feasible in modern Windows, nor intended. It will also not solve lag issues, keep that in mind.
Diposting pertama kali oleh kamk:
I did get you, and i didn't mention the task manager either.

What you are trying to do is just not feasible in modern Windows, nor intended. It will also not solve lag issues, keep that in mind.
as i know, if a game use only one core, then it boost the speed of the game, but MOST GAMES nowaday are multicore. Just because this game is single core, doesn't mean its not important.
That is not correct. Certain CPUs will clock higher though in such load scenarios - still a very minor difference.

Anyways, just tried to help, so you arent running circles around the wrong solution.
Diposting pertama kali oleh kamk:
That is not correct. Certain CPUs will clock higher though in such load scenarios - still a very minor difference.

Anyways, just tried to help, so you arent running circles around the wrong solution.
This is true, turbo kicks in for low threaded programs and all the power goes to ramping up clock speed while the idle cores dont use power
Diposting pertama kali oleh Teh Anarchist!!!:
Diposting pertama kali oleh kamk:
That is not correct. Certain CPUs will clock higher though in such load scenarios - still a very minor difference.

Anyways, just tried to help, so you arent running circles around the wrong solution.
This is true, turbo kicks in for low threaded programs and all the power goes to ramping up clock speed while the idle cores dont use power

hmm, so leave it as is?
< >
Menampilkan 1-10 dari 10 komentar
Per halaman: 1530 50

Tanggal Diposting: 24 Feb 2017 @ 4:40pm
Postingan: 10