Win32PrioritySeparation

Everything about latency. Tips, testing methods, 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.
empleat
Posts: 149
Joined: 28 Feb 2020, 21:06

Re: Win32PrioritySeparation

Post by empleat » 24 Jul 2021, 14:44

jerofino wrote:
23 Jul 2021, 10:19
I had to remove the youtube link from quote to reply this.

Does this MouseDataQueueSize tweak really work? I tried 25 and I felt it was faster in my pc only, but the hit registration didnt change a thing in csgo.
Eh what? What does that even mean :D How would making your usb drivers buffering less mouse packets affect hit registration? This tweak only lowers buffer queue of USB drivers so packets are rendered quicker! This was probably from old times, when computers suffered with high DPC latency and cracking sound... So no need to have it on default 40, or what... Also too low and your mouse can stop working, as he says: in video, but 20 should be fine still.

empleat
Posts: 149
Joined: 28 Feb 2020, 21:06

Re: Win32PrioritySeparation

Post by empleat » 24 Jul 2021, 14:49

MatrixQW wrote:
23 Jul 2021, 11:53
I/O threads (mouse, keyboard, disk and screen) have higher priority over CPU threads so it shouldn't be an issue or else the mouse would stop responding for brief moments.
Disabling it will increase CPU usage.

Games don't usually transfer enough packets to reach Interrupt Moderation's minimum rate (depends on what the driver sets), it won't be used, even with network throttling disabled. That's why there is no ping difference and therefore no latency penalty.
With some drivers, maybe only works for TCP and not UDP.
But network throttling adds latency if it isn't disabled. Default is 10 packets per milisecond.

Realtek ethernet driver sets IRQ interrupt priority to high.
Might be good for servers but I don't think this is good for normal users because it will affect the rest of the devices.
MSI mode utility can change it.
Other network settings like offloading help reduce interrupts but CPU is faster than ethernet so i'm not sure if it's worth it.

Win32PrioritySeparation on a similar way, having a large quantum might be good for resources but could affect latency.
It helped me greatly, as I explained in my previous post!
My default MSI priorities: are high for disks and for rest undefined and it feels best that way, I experiemented with this a lot. Some people say all undefined feels good - depends on your HW at the end...

kokkatc
Posts: 108
Joined: 23 Mar 2017, 13:49

Re: Win32PrioritySeparation

Post by kokkatc » 15 Oct 2021, 15:29

BTRY B 529th FA BN wrote:
21 Jul 2021, 17:59
I'm not talking about networking throughput i'm talking about system/game throughput being choked from too many networking interrupts thus bad mouse movement
I'm genuinely curious to hear more about this.

How exactly do you know that your 'system/game' throughput is being choked from too many networking interrupts resulting in bad mouse movement? Sounds a bit anecdotal. It's been recommended for a long while to disable network throttling index but you're suggesting your system will be choked by constant interrupts hampering performance, in this case, mouse movement.

Sure your theory sounds legit on paper, but how do you know the real world results match the theory? How did you test? Are you checking latmon ndis dpc spikes? I'm interested to try this out but skeptical because interrupt moderation typically raises network latency, something I don't want. I also imagine any modern CPU should be able to sufficiently handle the extra network interrupts coming in unless perhaps if you offload it to the nic.

Also... wouldn't it just be easier to not disable network throttling index so you don't have to mess w/ the nic's interrupt moderation settings?

Would love to hear your response!

timecard
Posts: 66
Joined: 25 Jan 2020, 01:10

Re: Win32PrioritySeparation

Post by timecard » 16 Oct 2021, 12:13

kokkatc wrote:
15 Oct 2021, 15:29
It's been recommended for a long while to disable network throttling index
Hope these help, checkout my github research pages

https://github.com/djdallmann/GamingPCS ... tlingindex
https://github.com/djdallmann/GamingPCS ... moderation

And while you're at it.. (MMCSS research)
https://github.com/djdallmann/GamingPCS ... vice-mmcss

Cross-posted here
https://www.overclock.net/threads/resea ... s.1774590/

kokkatc
Posts: 108
Joined: 23 Mar 2017, 13:49

Re: Win32PrioritySeparation

Post by kokkatc » 18 Oct 2021, 16:47

timecard wrote:
16 Oct 2021, 12:13
kokkatc wrote:
15 Oct 2021, 15:29
It's been recommended for a long while to disable network throttling index
Hope these help, checkout my github research pages

https://github.com/djdallmann/GamingPCS ... tlingindex
https://github.com/djdallmann/GamingPCS ... moderation

And while you're at it.. (MMCSS research)
https://github.com/djdallmann/GamingPCS ... vice-mmcss

Cross-posted here
https://www.overclock.net/threads/resea ... s.1774590/
Is this no longer the recommendation? I'll check out your links when I have a moment!

Ripan
Posts: 3
Joined: 08 Sep 2021, 13:21

Re: Win32PrioritySeparation

Post by Ripan » 04 Dec 2021, 18:16

BTRY B 529th FA BN wrote:
21 Jul 2021, 12:42
You can further help the mouse by enabling Interrupt Moderation and setting the Interrupt Moderation to MEDIUM, in your NDIS properties. Reason: most people set the network throttling reg tweak to ffffffff and that significantly increases interrupts slowing the entire system down.

Do you mean the interrupt-setting in which you can change in msi mode utility? And are you talking about the usb-device?

G O T
Posts: 1
Joined: 29 Dec 2021, 20:31

Re: Win32PrioritySeparation

Post by G O T » 29 Dec 2021, 20:34

I want the best decimal for low latency 8-)

empleat
Posts: 149
Joined: 28 Feb 2020, 21:06

Re: Win32PrioritySeparation

Post by empleat » 03 Jan 2022, 14:54

G O T wrote:
29 Dec 2021, 20:34
I want the best decimal for low latency 8-)
It is in calypto guide described in detail. I use 40 (decimal), but keep in mind (if you have 20 latencies elsewhere, it won't feel good aka consistent, because you are being bottlenecked elsewhere, but than 1 component is ultra-fast)! Also consider increasing timer resolution window, or polling rate when trying this!!!

It even improved my fps a bit and now cursor feels lagless almost, closer to win7! But it is little bit harder to control. Also I use mousequeudatapacketsize=25 for mouse consistency. Check adamx guide for this - https://www.youtube.com/watch?v=FkVQm-hyL28

evmadic
Posts: 52
Joined: 20 Feb 2022, 04:13
Contact:

Re: Win32PrioritySeparation

Post by evmadic » 12 May 2023, 06:59

empleat wrote:
03 Jan 2022, 14:54
G O T wrote:
29 Dec 2021, 20:34
I want the best decimal for low latency 8-)
It is in calypto guide described in detail. I use 40 (decimal), but keep in mind (if you have 20 latencies elsewhere, it won't feel good aka consistent, because you are being bottlenecked elsewhere, but than 1 component is ultra-fast)! Also consider increasing timer resolution window, or polling rate when trying this!!!

It even improved my fps a bit and now cursor feels lagless almost, closer to win7! But it is little bit harder to control. Also I use mousequeudatapacketsize=25 for mouse consistency. Check adamx guide for this - https://www.youtube.com/watch?v=FkVQm-hyL28
Win32PrioritySeparation at 40
MouseDataQueueSize at 16

These settings are amazing for me.
Thanks guys
5800x3d, RTX 4070 ti, Acer Nitro XV252QF 390Hz
https://www.twitch.tv/evmadic

holiday
Posts: 40
Joined: 19 Feb 2019, 11:55

Re: Win32PrioritySeparation

Post by holiday » 23 May 2023, 10:23

I did not test it but if it’s true it’s crazy.

You have to tweak this days everything to get an good mouse input. I never had any problems in old windows but I must agree since win7 something happened with the mouse input in a worse way

edit: This feels really faster and directer on my mouse. The default Win32PrioritySeparation was 2 on my system, changed to 28 (40 decimal) makes a noticeable difference.

Post Reply