This would be very handy to have it as an option to setup, rather than remembering to manually change the process priority to above normal or high in Windows.
Maybe it's not as big of a deal for beefy computers, but it seems to smooth out minor hiccups in multiplayer for me on my old machine.
Run process at higher priority
Moderator: ickputzdirwech
Re: Run process at higher priority
I don't think programs themselves can do that. Perhaps there is an option in Windows. I think it could be a major security flaw if that could happen.
There are 10 types of people: those who get this joke and those who don't.
Re: Run process at higher priority
Programs can definitely do that. It would be completely pointless to even have the option if they couldn't...
Re: Run process at higher priority
Sorry if I wasn't clear, I mean that the programs themselves can't change their priority. For example, if you set Factorio to a high priority it will run slightly better, but I don't think Factorio can set itself to high priority.
There are 10 types of people: those who get this joke and those who don't.
Re: Run process at higher priority
In the interim I've changed the shortcut for Factorio "target" to this:
@Jap2.0
https://msdn.microsoft.com/en-us/library/ms686219.aspx
Code: Select all
cmd.exe /c start "Factorio" /abovenormal "C:\Program Files\Factorio\bin\x64\factorio.exe"
https://msdn.microsoft.com/en-us/library/ms686219.aspx
Re: Run process at higher priority
That's quite interesting. Is there a Linux equivalent?Jon8RFC wrote:In the interim I've changed the shortcut for Factorio "target" to this:@Jap2.0Code: Select all
cmd.exe /c start "Factorio" /abovenormal "C:\Program Files\Factorio\bin\x64\factorio.exe"
https://msdn.microsoft.com/en-us/library/ms686219.aspx
There are 10 types of people: those who get this joke and those who don't.
Re: Run process at higher priority
It's worth noting that Windows already gives a priority boost to the foreground window:
https://msdn.microsoft.com/en-us/librar ... s.85).aspxWhen a process that uses NORMAL_PRIORITY_CLASS is brought to the foreground, the scheduler boosts the priority class of the process associated with the foreground window, so that it is greater than or equal to the priority class of any background processes. The priority class returns to its original setting when the process is no longer in the foreground.
Re: Run process at higher priority
nice (or renice for a process that's already running)Jap2.0 wrote:Is there a Linux equivalent?
But decreasing niceness (aka increasing the priority) usually requires root privileges.