Windows Server has less CPU lag [Lower DPC Latency]

Everything about latency. This section is mainly user/consumer discussion. (Peer-reviewed scientific discussion should go in Laboratory section). Tips, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
DPRTMELR
Posts: 166
Joined: 12 Apr 2022, 13:42

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by DPRTMELR » 27 Jul 2022, 19:14

There are some methods to switch between GUI mode and Core mode (command line), via PowerShell. Theoretically you can install all your games with full GUI first, then uninstall the GUI to remove its overhead completely, and call it a day. But I have not personally tested that.
I came to find out this is no longer supported in latest windows server after 2019 :(

I could probably launch browsers and other stuffs on core mode with some help of google, but not a chance for steam and anything else.

-edit
identical settings, fps_max 500, staring out mirage window on a dallas server with 14~17 people at the time.

w10 servers - just drivers installed, double clicked existing steam.exe
w10 servers.png
w10 servers.png (84.6 KiB) Viewed 11086 times
w10 pro - some tweaks here and there (nothing hardcore like I would do on w7, just disabled background stuffs)
w10 pro.png
w10 pro.png (88.95 KiB) Viewed 11086 times
I am not sure if I am ready to try and fix every god damn program that gives me compatibility problems but
I think I am gonna cross over even if it's placebo from the clean windows install because even if it's a placebo it seems like I am due for a windows reinstall D: and faceit anticheat is playing nice as well.

actually playing some deathmatch and double clicking to open firefox on boot, responsiveness is real enough to make me not upset for wiping the disk with windows 7 install. highly recommended if anybody is about to do a fresh restart.


-edit2
w10 system latency
Capture.PNG
Capture.PNG (59.69 KiB) Viewed 10748 times

-edit3 oops power settings were on balanced.. which inflated reported highest dpc but it game fps should be more or less the same.. (too lazy xd)
Last edited by DPRTMELR on 29 Jul 2022, 23:19, edited 5 times in total.
Most adults need 7-8 hours of sleep each night. - US FDA

olofsson_tom
Posts: 36
Joined: 11 Sep 2021, 18:55

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by olofsson_tom » 28 Jul 2022, 03:41

Wanted to give server 2022 a try so followed fr33thys guide on youtube, his optimization pack and bought a 30 euro key. Also disabled memory compression, scheduled in emptystandbylist every 5 minutes, disabledynamictick yes and EnablePreemption/CoalescingTimerInterval regedit entrys as per other youtuber recommendations.
These are the results after like an hour latencymon in idle:
Highest measured interrupt to DPC latency (µs): 259,90
Average measured interrupt to DPC latency (µs): 1,698938

Highest ISR routine execution time (µs): 1,70
Driver with highest ISR routine execution time: Wdf01000.sys - Kernellägesdrivrutin för Framework Runtime, Microsoft Corporation

Highest reported total ISR routine time (%): 0,000006
Driver with highest ISR total time: Wdf01000.sys - Kernellägesdrivrutin för Framework Runtime, Microsoft Corporation

Highest DPC routine execution time (µs): 264,780
Driver with highest DPC routine execution time: ntoskrnl.exe - NT Kernel & System, Microsoft Corporation

Highest reported total DPC routine time (%): 0,010373
Driver with highest DPC total execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 516.59 , NVIDIA Corporation

Process with highest pagefault count: msmpeng.exe

Total number of hard pagefaults 37266
Hard pagefault count of hardest hit process: 31188
Number of processes hit: 30

Are these results good? Do you have any other recommended tweaks to further improve the system?

1000WATT
Posts: 572
Joined: 22 Jul 2018, 05:44

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by 1000WATT » 28 Jul 2022, 08:39

olofsson_tom wrote:
28 Jul 2022, 03:41
Process with highest pagefault count: msmpeng.exe

Total number of hard pagefaults 37266
Hard pagefault count of hardest hit process: 31188
Number of processes hit: 30

Are these results good? Do you have any other recommended tweaks to further improve the system?
:) turn off Windows Defender
I often do not clearly state my thoughts. google translate is far from perfect. And in addition to the translator, I myself am mistaken. Do not take me seriously.

1000WATT
Posts: 572
Joined: 22 Jul 2018, 05:44

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by 1000WATT » 28 Jul 2022, 08:52

I could be wrong. fr33thys has been inspiring the public for several years with various settings of timer systems.
What gave rise to a lot of people endlessly arguing on this topic. On different internet platforms.
In the end, he said that "it's better to leave the default system timers". But the "sectarians of timers" did not disappear. :D
Pleased everyone. Sat on 2 chairs. Of course, when the audience is larger, it is easier to advertise and sell the product.
But in spite of all this, I'm glad that his channel exists, as he draws attention to the topic of input delay. 8-)
I often do not clearly state my thoughts. google translate is far from perfect. And in addition to the translator, I myself am mistaken. Do not take me seriously.

1000WATT
Posts: 572
Joined: 22 Jul 2018, 05:44

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by 1000WATT » 28 Jul 2022, 09:00

daviddave1 wrote:
27 Jul 2022, 17:45
I get 4.90μs avarage just running Windows Server. :D did not tested it with Apex.
Sorry, translation difficulties. 4.90μs on desktop, good result. In any case, few have the same result.
I often do not clearly state my thoughts. google translate is far from perfect. And in addition to the translator, I myself am mistaken. Do not take me seriously.

olofsson_tom
Posts: 36
Joined: 11 Sep 2021, 18:55

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by olofsson_tom » 28 Jul 2022, 10:37

1000WATT wrote:
28 Jul 2022, 08:39
olofsson_tom wrote:
28 Jul 2022, 03:41
Process with highest pagefault count: msmpeng.exe

Total number of hard pagefaults 37266
Hard pagefault count of hardest hit process: 31188
Number of processes hit: 30

Are these results good? Do you have any other recommended tweaks to further improve the system?
:) turn off Windows Defender
Yes, this did indeed improve everything a little bit overall. Thanks! If anyone has any more tips you are more than welcome to share :)

olofsson_tom
Posts: 36
Joined: 11 Sep 2021, 18:55

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by olofsson_tom » 28 Jul 2022, 10:42

1000WATT wrote:
28 Jul 2022, 08:52
I could be wrong. fr33thys has been inspiring the public for several years with various settings of timer systems.
What gave rise to a lot of people endlessly arguing on this topic. On different internet platforms.
In the end, he said that "it's better to leave the default system timers". But the "sectarians of timers" did not disappear. :D
Pleased everyone. Sat on 2 chairs. Of course, when the audience is larger, it is easier to advertise and sell the product.
But in spite of all this, I'm glad that his channel exists, as he draws attention to the topic of input delay. 8-)
Idk maybe. Feels like with the way his channel is heading is that he wants easy to use pain-free guides that fit everyone and maybe messing with timers could help some and hurt some others. Besides, he seems to share all his tweaks for free so you dont need to buy his services, unless you want to spare time or if you just really dont know much about anything besides launching your game.

DPRTMELR
Posts: 166
Joined: 12 Apr 2022, 13:42

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by DPRTMELR » 28 Jul 2022, 11:50

olofsson_tom wrote:
28 Jul 2022, 10:37

Yes, this did indeed improve everything a little bit overall. Thanks! If anyone has any more tips you are more than welcome to share :)
I really don't think there's much else to do on server (all the telemetries/unnecessary services already being off) other then maybe try different version drivers when you have time. I haven't even disabled hpet yet because I am too lazy to google where msvcr100.dll comes from and install it. Like this thing doesn't even need you to undo meltdown/spectre software patches lol
EnablePreemption/CoalescingTimerInterval
First one seems like its more related to vm/rdp heavy environment and second one is some timer that i don't understand so its scary D: any noticeable effects?
olofsson_tom wrote:
28 Jul 2022, 10:42
1000WATT wrote:
28 Jul 2022, 08:52

Idk maybe. Feels like with the way his channel is heading is that he wants easy to use pain-free guides that fit everyone and maybe messing with timers could help some and hurt some others. Besides, he seems to share all his tweaks for free so you dont need to buy his services, unless you want to spare time or if you just really dont know much about anything besides launching your game.
S E L L O U T lmao
I mean he's gotta get some return for spending all those times tweaking windows (and tweaking out in IRL probably), good for him. (according to you guys I don't have him subscribed, no clue what his positions are) At least he is maintaining he is not focusing on such minor details, instead of saying they don't make any differences.
Last edited by DPRTMELR on 28 Jul 2022, 12:08, edited 1 time in total.
Most adults need 7-8 hours of sleep each night. - US FDA

olofsson_tom
Posts: 36
Joined: 11 Sep 2021, 18:55

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by olofsson_tom » 28 Jul 2022, 12:07

DPRTMELR wrote:
28 Jul 2022, 11:50
olofsson_tom wrote:
28 Jul 2022, 10:37

Yes, this did indeed improve everything a little bit overall. Thanks! If anyone has any more tips you are more than welcome to share :)
I really don't think there's much else to do on server (all the telemetries/unnecessary services already being off) other then maybe try different version drivers when you have time. I haven't even disabled hpet yet because I am too lazy to google where msvcr100.dll comes from and install it. Like this thing doesn't even need you to undo meltdown/spectre software patches lol
EnablePreemption/CoalescingTimerInterval
First one seems like its more related to vm/rdp heavy environment and second one is some timer that i don't understand so its scary D: any noticeable effects?
Yeah, seems really good out of the box. Can recommend. Only thing that was annoying to do was install the ethernet adapter driver, but the guide in this thread worked to fix it.
Not sure, havent really tested between every single tweak. But i got the tweak tips from Adamx on youtube, and his recommendations seems to work good in my experience. He also made .reg files to disable defender, quite handy since it gets activated back sometimes with updates.

DPRTMELR
Posts: 166
Joined: 12 Apr 2022, 13:42

Re: Windows Server has less CPU lag [Lower DPC Latency]

Post by DPRTMELR » 28 Jul 2022, 12:25

olofsson_tom wrote:
28 Jul 2022, 12:07
So what is preemption then? In a nutshell, it’s the ability to interrupt an active task (context switch) on a processor and replace it with another task, with the further ability to later resume where you left off. Historically this is a concept that’s more important for CPUs than GPUs, especially back in the age of single core CPUs, as preemption was part of how single core CPUs managed to multitask in a responsive manner. GPUs, for their part, have supported context switching and basic preemption as well for quite some time, however until the last few years it has not been a priority, as GPUs are meant to maximize throughput in part by rarely switching tasks.
Timer coalescing is a computer system energy-saving technique that reduces central processing unit (CPU) power consumption by reducing the precision of software timers to allow the synchronization of process wake-ups, minimizing the number of times the CPU is forced to perform the relatively power-costly operation of entering and exiting idle states.
I am only gonna try premption since it will be immediately noticeable if something goes wrong, but not mess with timer coalescing and just trust the bios/windows power settings for now. you also reminded me to disable gpu hardware scheduling.
Most adults need 7-8 hours of sleep each night. - US FDA

Post Reply