Limelight Forums
Increase FPS by 10-30 frames by isolating GMod to other cores - Printable Version

+- Limelight Forums (https://limelightgaming.net/forums)
+-- Forum: Community (https://limelightgaming.net/forums/forum-195.html)
+--- Forum: Help and Support (https://limelightgaming.net/forums/forum-203.html)
+---- Forum: Guides (https://limelightgaming.net/forums/forum-253.html)
+---- Thread: Increase FPS by 10-30 frames by isolating GMod to other cores (/thread-22696.html)



Increase FPS by 10-30 frames by isolating GMod to other cores - goigle - Aug 24, 2018




RE: Increase FPS by 10-30 frames by isolating GMod to other cores - Markus - Aug 25, 2018

While this is indeed very helpful, if a game needs this amount of dedication to run properly, we can see that there are some serious problems here.


RE: Increase FPS by 10-30 frames by isolating GMod to other cores - Vimpto - Aug 25, 2018

I don't have Set Affinity.

Only have: Collapse, End Task, Resource Values, Create Dump File, Goto details, Open File Location, Search Online & Properties.


RE: Increase FPS by 10-30 frames by isolating GMod to other cores - Markus - Aug 25, 2018

(Aug 25, 2018, 12:27 PM)Vimpto Wrote: I don't have Set Affinity.

Only have: Collapse, End Task, Resource Values, Create Dump File, Goto details, Open File Location, Search Online & Properties.

You have the "Processes" (1st) tab open instead of "Details" (6th).


RE: Increase FPS by 10-30 frames by isolating GMod to other cores - goigle - Aug 25, 2018

(Aug 25, 2018, 12:14 PM)Markus Wrote: While this is indeed very helpful, if a game needs this amount of dedication to run properly, we can see that there are some serious problems here.

For sure, it's just there's unfortunately no easy fix in sight. Making the engine take advantage of multiple cores is a significant rewrite FP likely will never do.

Theoretically someone could write a program that automated this but I can't be bothered


RE: Increase FPS by 10-30 frames by isolating GMod to other cores - bimkx - Aug 25, 2018




RE: Increase FPS by 10-30 frames by isolating GMod to other cores - goigle - Aug 26, 2018

Looks good, I should probably learn powershell one day.

How hard would it be to make it read process names from a text file? That way you can have it limit more than just one process and don't have to type the process names every time. Might play around and try myself...


RE: Increase FPS by 10-30 frames by isolating GMod to other cores - bimkx - Aug 27, 2018

(Aug 26, 2018, 11:06 PM)goigle Wrote: Looks good, I should probably learn powershell one day.

How hard would it be to make it read process names from a text file? That way you can have it limit more than just one process and don't have to type the process names every time. Might play around and try myself...

Hey man. If you just want it so that it targets a different process to Steam then you can replace "Steam" in the PS1 file where it targets it to something else. If you want to make it so that it reads from a text file, that's pretty easy too, however I'm assuming you just mean a text file containing one process. If you want to make it so it applies this to a few processes it's a bit different and I can provide some examples over PM. For just the one, pop this at the top of the script:

Code:
$secondtarget = Get-Content -Path C:\users\noop\desktop\blabla.txt

And then modify these lines as shown below:

Code:
Write-Host "Set affinity of" $secondtarget "to use other half of logical cores" -BackgroundColor DarkGreen
(Get-Process $secondtarget).ProcessorAffinity = [int]$otheraffin

Liv


RE: Increase FPS by 10-30 frames by isolating GMod to other cores - TiddyMan - Aug 27, 2018

Did and it was great from 10 to 30 thanks you Smile


RE: Increase FPS by 10-30 frames by isolating GMod to other cores - goigle - Sep 2, 2018

(Aug 27, 2018, 12:07 PM)LiVHDX Wrote: Hey man. If you just want it so that it targets a different process to Steam then you can replace "Steam" in the PS1 file where it targets it to something else. If you want to make it so that it reads from a text file, that's pretty easy too, however I'm assuming you just mean a text file containing one process. If you want to make it so it applies this to a few processes it's a bit different and I can provide some examples over PM

I was thinking just putting a few processes (5-10) in a text file and have it loop through em.

I actually just bought a new CPU though so I don't even need this guide anymore :')

Appreciate the explanation though ofc


RE: Increase FPS by 10-30 frames by isolating GMod to other cores - bimkx - Sep 2, 2018

(Sep 2, 2018, 06:13 PM)goigle Wrote:
(Aug 27, 2018, 12:07 PM)LiVHDX Wrote: Hey man. If you just want it so that it targets a different process to Steam then you can replace "Steam" in the PS1 file where it targets it to something else. If you want to make it so that it reads from a text file, that's pretty easy too, however I'm assuming you just mean a text file containing one process. If you want to make it so it applies this to a few processes it's a bit different and I can provide some examples over PM

I was thinking just putting a few processes (5-10) in a text file and have it loop through em.

I actually just bought a new CPU though so I don't even need this guide anymore :')

Appreciate the explanation though ofc

Ah fair enough mate. That's easy to do anyway. Format list as CSV, make sure it has a key (header),
Code:
import-csv C:\blabla.csv | ForEach {

do some function with variable $_.headername

}