Aug 24, 2018, 10:43 PM
This guide won't actually fully isolate it but it will isolate it enough.
This will not work on all systems and is largely dependent on your CPU.
This only works on Windows.
Open Task Manager (GMod must also already be open).
If you are in the bad view, click more details.
Now click the details tab and then sort by CPU usage.
Right hl2.exe and click "Set Affinity" (4th down for me).
You now have a window with all of your CPU cores and all of them are going to be checked. The number depends on your CPU. I have an 8 core CPU so I have 8. If you have an Intel quad core with hyperthreading you will also have 8. In this guide I'm assuming you are running at least a quad core CPU.
Uncheck the bottom half boxes like so:
Click OK.
Now look for another process using CPU. As low as 1% is enough to isolate, depending on your setup.
Right click the process and click "Set Affinity."
If you are having trouble because the process is moving around the list, sort by name and then right click.
Uncheck the boxes in the top half as shown and click OK.
Continue this for any processes using CPU.
What does this do?
It helps keep GMod on its own CPU core to maximize your FPS. GMod is single-threaded and thus will be significantly slowed if something else is running on the same core.
Why give it multiple cores if it is single-threaded?
You might not need too, but in my set-up and limited testing I've found it helps. Windows does try to efficiently use each CPU core so you can benefit from it being able to choose which core to put it on because you will not be able to isolate all of the processes running on your PC easily.
Depending on where I am in the map I get an increase of 20-30 FPS.
automated it:
Here's a script that will launch GMod, set it's affinity to use half of your cores, and another process to use the other half. You can either select the process yourself of leave blank, press enter and it will use Steam.exe. It's written in Powershell so you can read the script and decide yourself if you want to trust it or not. I've also repackaged it as an EXE using PS2EXE, but if you don't want to use it, just save the below link to the .ps1 file, right click and run with powershell. Ez to keep on your desktop and run next time you want to play GMod.
If you get any errors about execution policy, open powershell as admin, type "Set-ExecutionPolicy Unrestricted" and press enter.
You might get some smartscreen errors/warnings with the EXE, in which case, just download the PS1 and run it that way instead.
PS1 Source:
gmod.cykablyat.co.uk/LLGmodBooter.ps1
EXE File:
gmod.cykablyat.co.uk/LLGmodBooter.exe
This will not work on all systems and is largely dependent on your CPU.
This only works on Windows.
Open Task Manager (GMod must also already be open).
If you are in the bad view, click more details.
Now click the details tab and then sort by CPU usage.
Right hl2.exe and click "Set Affinity" (4th down for me).
You now have a window with all of your CPU cores and all of them are going to be checked. The number depends on your CPU. I have an 8 core CPU so I have 8. If you have an Intel quad core with hyperthreading you will also have 8. In this guide I'm assuming you are running at least a quad core CPU.
Uncheck the bottom half boxes like so:
Click OK.
Now look for another process using CPU. As low as 1% is enough to isolate, depending on your setup.
Right click the process and click "Set Affinity."
If you are having trouble because the process is moving around the list, sort by name and then right click.
Uncheck the boxes in the top half as shown and click OK.
Continue this for any processes using CPU.
What does this do?
It helps keep GMod on its own CPU core to maximize your FPS. GMod is single-threaded and thus will be significantly slowed if something else is running on the same core.
Why give it multiple cores if it is single-threaded?
You might not need too, but in my set-up and limited testing I've found it helps. Windows does try to efficiently use each CPU core so you can benefit from it being able to choose which core to put it on because you will not be able to isolate all of the processes running on your PC easily.
Depending on where I am in the map I get an increase of 20-30 FPS.
Here's a script that will launch GMod, set it's affinity to use half of your cores, and another process to use the other half. You can either select the process yourself of leave blank, press enter and it will use Steam.exe. It's written in Powershell so you can read the script and decide yourself if you want to trust it or not. I've also repackaged it as an EXE using PS2EXE, but if you don't want to use it, just save the below link to the .ps1 file, right click and run with powershell. Ez to keep on your desktop and run next time you want to play GMod.
If you get any errors about execution policy, open powershell as admin, type "Set-ExecutionPolicy Unrestricted" and press enter.
You might get some smartscreen errors/warnings with the EXE, in which case, just download the PS1 and run it that way instead.
PS1 Source:
EXE File:
Limelight - Link watcher |
|||||
You're about to enter the following site:
Please note: You should only visit trusted sites. We are not responsible for any loss of your privacy. |