Login
Sign Up


You are using the mobile version of the forum, some features have been disabled to have it responsive.
Limelight CityRP - v4b1Limelight CityRP - EU Build
Ares Defence Services DiscordAres Defence Services
Limelight Discord
Limelight CityRP - v4b1Limelight CityRP - EU BuildAres Defence Services DiscordAres Defence ServicesLimelight Discord

receiptDevelopment Blog:

Development Contributor Workflow

receiptHR Blog:

What *are* they doing over there?

receiptTeacher Blog:

Insight into the Teacher Team

receiptDevelopment Blog:

Infrastructure Upgrade 11/2019

receiptDevelopment Blog:

how suggestions???

receiptDevelopment Blog:

Planning for the future.


This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Increase FPS by 10-30 frames by isolating GMod to other cores
goigle radio_button_checked
hello there
Developer
Posts: 997
Threads: 96
Likes Given: 548
Likes Recieved: 600 in 272 posts
Joined: Aug 2015
Reputation: 18
#1
Aug 24, 2018, 09:43 PM
         [Image: s7Y0Ioo.png]
(This post was last modified: Aug 26, 2018, 11:13 PM by goigle. Edited 3 times in total.)
The following 8 users Like goigle's post:
  • Armard, Auston, jess, Markus, Taylor, TiddyMan, Tom*, Vimpto
Markus radio_button_checked
Roleplayin' since 2011
Contributor
Posts: 1,830
Threads: 184
Likes Given: 2154
Likes Recieved: 627 in 411 posts
Joined: Aug 2015
Reputation: 14
#2
Aug 25, 2018, 12:14 PM
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.
[Image: sigs.php?steamid=STEAM_0:1:36038228]
Vimpto radio_button_checked
Ur mum gay
Membership
Posts: 1,390
Threads: 143
Likes Given: 579
Likes Recieved: 476 in 351 posts
Joined: Apr 2016
Reputation: 16
#3
Aug 25, 2018, 12:27 PM
I don't have Set Affinity.

Only have: Collapse, End Task, Resource Values, Create Dump File, Goto details, Open File Location, Search Online & Properties.
[Image: A0-A2-E523-B403-43-A9-80-EC-8421-F403-FB56.jpg]
[Image: D1-AB9352-843-C-47-B8-A770-E1392-CD291-FA.jpg]

Markus radio_button_checked
Roleplayin' since 2011
Contributor
Posts: 1,830
Threads: 184
Likes Given: 2154
Likes Recieved: 627 in 411 posts
Joined: Aug 2015
Reputation: 14
#4
Aug 25, 2018, 12:42 PM
(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).
[Image: sigs.php?steamid=STEAM_0:1:36038228]
(This post was last modified: Aug 25, 2018, 12:42 PM by Markus.)
The following 2 users Like Markus's post:
  • goigle, Quest
goigle radio_button_checked
hello there
Developer
Posts: 997
Threads: 96
Likes Given: 548
Likes Recieved: 600 in 272 posts
Joined: Aug 2015
Reputation: 18
#5
Aug 25, 2018, 04:36 PM
(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
         [Image: s7Y0Ioo.png]
bimkx radio_button_checked
Developer | 2ICDEV | Mod
Developer
Posts: 848
Threads: 57
Likes Given: 967
Likes Recieved: 829 in 308 posts
Joined: Aug 2015
Reputation: 13
#6
Aug 25, 2018, 08:57 PM
[Image: KzbtU4I.jpeg]
The following 4 users Like bimkx's post:
  • goigle, Mark-the-Mushroom, Markus, Tom*
goigle radio_button_checked
hello there
Developer
Posts: 997
Threads: 96
Likes Given: 548
Likes Recieved: 600 in 272 posts
Joined: Aug 2015
Reputation: 18
#7
Aug 26, 2018, 11:06 PM
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...
         [Image: s7Y0Ioo.png]
(This post was last modified: Aug 26, 2018, 11:10 PM by goigle. Edited 1 time in total.)
The following 1 user Likes goigle's post:
  • bimkx
bimkx radio_button_checked
Developer | 2ICDEV | Mod
Developer
Posts: 848
Threads: 57
Likes Given: 967
Likes Recieved: 829 in 308 posts
Joined: Aug 2015
Reputation: 13
#8
Aug 27, 2018, 12:07 PM
(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
[Image: KzbtU4I.jpeg]
The following 1 user Likes bimkx's post:
  • Markus
TiddyMan radio_button_checked
Member
Membership
Posts: 113
Threads: 35
Likes Given: 41
Likes Recieved: 13 in 8 posts
Joined: Sep 2016
Reputation: 0
#9
Aug 27, 2018, 09:23 PM
Did and it was great from 10 to 30 thanks you Smile
     Join the Unit Mafia today! - TiddyMan#2935
[Image: sigs.php?steamid=STEAM_0:1:64959525&t=2]
goigle radio_button_checked
hello there
Developer
Posts: 997
Threads: 96
Likes Given: 548
Likes Recieved: 600 in 272 posts
Joined: Aug 2015
Reputation: 18
#10
Sep 2, 2018, 06:13 PM
(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
         [Image: s7Y0Ioo.png]
(This post was last modified: Sep 2, 2018, 06:13 PM by goigle.)
The following 1 user Likes goigle's post:
  • bimkx
bimkx radio_button_checked
Developer | 2ICDEV | Mod
Developer
Posts: 848
Threads: 57
Likes Given: 967
Likes Recieved: 829 in 308 posts
Joined: Aug 2015
Reputation: 13
#11
Sep 2, 2018, 06:15 PM
(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

}
[Image: KzbtU4I.jpeg]
The following 1 user Likes bimkx's post:
  • goigle




Users browsing this thread: 1 Guest(s)