Jump to content

Improvement Idea: Default to high priority process for DCS.exe


Sideburns
 Share

Recommended Posts

Hi,

 

Many of us who fiddle a bit more with computers know DCS runs smoother when it is adjusted to have a higher than normal priority in the Windows task manager. Currently the DCS launcher, effectively DCS_updater.exe invokes DCS.exe with normal process priority, hence a user is required to manually intervene to increase the process priority to enable a smoother gaming experience.

 

One can create a custom shortcut, such as that below assuming a d:\ DCS install, to invoke DCS.exe with high process priority:

 

C:\Windows\System32\cmd.exe /c start "DCS" /high "D:\Program Files\Eagle Dynamics\DCS World\bin\DCS.exe"

 

(Note to other users, using DCS.exe directly skips the DCS update check but I couldn't find a way of using DCS_Updater.exe while carrying across the high priority invocation. I don't believe this is possible as a user.)

 

However, I think if ED could implement a revised shortcut / DCS_Updater.exe invocation to include this elevated process priority as standard for all DCS installs it would improve users' SP and MP experience. Potentially free performance improvement!

 

Apologies if this has already been suggested, but search didn't bring back any results.

 

UPDATE: The Regedit way of assigning priority to processes is arguably the better method if you are comfortable editing the registry, see posts below for details


Edited by Sideburns
Corrections

Ryzen 5800x@5Ghz | 32gb DDR4 3200Mhz | MSI 2070 Gaming Z | 500Gb OS SSD + 1TB Gaming SSD | Asus VG27AQ | Trackhat clip | VPC WarBRD base | Thrustmaster stick and throttle (Deltasim minijoystick mod).

 

F14 | F16 | AJS37 | F5 | Av8b | FC3 | Mig21 | FW190D9 | Huey

 

Been playing DCS from Flanker 2.0 to present 😄

Link to comment
Share on other sites

+1 here.

- Motto: Takeoffs are optional. Landings are mandatory.

About carrier ops: "The younger pilots are still quite capable of holding their heads forward against the forces. The older ones have been doing this too long and know better; sore necks make for poor sleep.'

 

PC: I7 4790K 4.6ghz | 32GB RAM | Zotac GTX 1080Ti 11Gb DDR5x | Water cooler NZXT AIO Kraken x53 | 3.5TB (x4 SSD´s) | Valve Index| Andre´s JeatSeat.

Link to comment
Share on other sites

Seems to have a real effect on my computer as well, thanks for posting!

my channel: https://www.youtube.com/channel/UC_Yx920L1ezoWQkYKCGYB9w
my computer: CSL | i7 6700 @ 4.4 GHz | NVIDIA GTX 1080 Ti OC 11GB | 40 GB 3000 MHz DDR4 | 256 SDD SYS + 500 SSD DCS + 1000 HDD | Win10 Pro
my controls: A-10 Warthog Stick + Throttle + TRP | Rift CV1 | VAICOMPro
...Viggen... what more can you ask for?

Link to comment
Share on other sites

You can set this permanently quite easily with a small registry addition.

 

  • Start regedit
  • Go to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\
  • Add key DCS.exe
  • Below the new key DCS.exe, add key PerfOptions
  • Add DWORD CpuPriorityClass and set the value to 3 (priority high)
  • Close regedit

 

DCS.exe will now always have cpu high priority, regardless of how it's started (directly or via updater).

 

Here's a summary of the registry addition:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\PROCESSNAME.EXE\PerfOptions]
 "CpuPriorityClass"=dword:00000003

 

Maybe I shall add: It's a totally safe registry edit, but you should know what you're doing before you start editing the registry.


Edited by currenthill
Added disclaimer

Gripendivider4.png.4837ba8cb7c71a5ae2f43a81660303d6.png

| Intel Core i7-10700K @ 5.1GHz | Noctua NH-D14 | Asrock Z490 Steel Legend | Corsair 64 GB @ 3200MHz | Kingston KC2500 2TB + A2000 1TB NVMe | Crucial MX100 2x512GB SSD | KFA2 GTX 3080 | Chieftec Nitro BPS-950C | Fractal Design Define R4 | W10 Pro x64 | Acer XB280HK UHD G-Sync | Varmilo VA88M | Logitech G305 | Corsair HS70 PRO | VKB Gunfighter Mk.III + MCG Pro | VPC MongoosT-50CM2 | Monstertech | DELANCLiP Fusion | Secretlab OMEGA |

Link to comment
Share on other sites

You can set this permanently quite easily with a small registry addition.

 

  • Start regedit
  • Go to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\
  • Add key DCS.exe
  • Below the new key DCS.exe, add key PerfOptions
  • Add DWORD CpuPriorityClass and set the value to 3 (priority high)
  • Close regedit

 

DCS.exe will now always have cpu high priority, regardless of how it's started (directly or via updater).

 

Here's a summary of the registry addition:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\PROCESSNAME.EXE\PerfOptions]
 "CpuPriorityClass"=dword:00000003

 

Maybe I shall add: It's a totally safe registry edit, but you should know what you're doing before you start editing the registry.

 

Aye, another way of doing this which means you can use the normal shortcut with the registry edit. Whichever way I think for the good of all DCS players if ED implemented it as part of the standard install. I suspect a lot of MP jitters are down to people's machines struggling and stuttering.

Ryzen 5800x@5Ghz | 32gb DDR4 3200Mhz | MSI 2070 Gaming Z | 500Gb OS SSD + 1TB Gaming SSD | Asus VG27AQ | Trackhat clip | VPC WarBRD base | Thrustmaster stick and throttle (Deltasim minijoystick mod).

 

F14 | F16 | AJS37 | F5 | Av8b | FC3 | Mig21 | FW190D9 | Huey

 

Been playing DCS from Flanker 2.0 to present 😄

Link to comment
Share on other sites

  • 2 weeks later...
No go for me, get random crashes...
Not entirely sure why this priority change would cause crashes. I would suggest checking the stability of your overclock, prime95, memtest etc.

Ryzen 5800x@5Ghz | 32gb DDR4 3200Mhz | MSI 2070 Gaming Z | 500Gb OS SSD + 1TB Gaming SSD | Asus VG27AQ | Trackhat clip | VPC WarBRD base | Thrustmaster stick and throttle (Deltasim minijoystick mod).

 

F14 | F16 | AJS37 | F5 | Av8b | FC3 | Mig21 | FW190D9 | Huey

 

Been playing DCS from Flanker 2.0 to present 😄

Link to comment
Share on other sites

Feedback after using it for about a month: works fine, no hardware crashes or similar.

But of course I am carefully watching temperatures ... 4.4 GHz seems good for winter usage, but now summer is on the way approaching the middle of Europe ... damn :D

my channel: https://www.youtube.com/channel/UC_Yx920L1ezoWQkYKCGYB9w
my computer: CSL | i7 6700 @ 4.4 GHz | NVIDIA GTX 1080 Ti OC 11GB | 40 GB 3000 MHz DDR4 | 256 SDD SYS + 500 SSD DCS + 1000 HDD | Win10 Pro
my controls: A-10 Warthog Stick + Throttle + TRP | Rift CV1 | VAICOMPro
...Viggen... what more can you ask for?

Link to comment
Share on other sites

  • 1 year later...

Can it be set to Realtime? or is high the max this can go?

 

EDIT:

 

did some digging..

"CpuPriorityClass"=dword:00000006

1 Idle
2 Normal
3 High
4 RealTime (n.a.)
5 Below Normal
6 Above Normal

Cannot set RealTime with this value, only with Task Manager.

 

and also confirm this woks for dcs dedicated server too!! much happy


Edited by PSYKOnz
  • Like 1

Tomcat, Tomcat über allen

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...