Reducing OS-Jitter, (Frame Latency, Latency, Stutter)

Ove Karlsen

Reputable
Jan 12, 2015
1
0
4,510
The biggest bottleneck today, is the OS itself. I have done some testing to see how much reducing OS-jitter can improve performance. And indeed it is much like almost going from low-end to high-end hardware. The overall desktop gets very responsive, and for instance, in games, without frame dropouts, ofcourse the experience is more like that of a much more powerful machine.

The technique is simple, but one needs to be at advanced level to do it. Simply reduce processes, interrupts, drivers, background tasks, network layers, services etc. Windows Device Manager, will do much, but more powerful toolks like Process Hacker will be useful.

Many people do not understand jitter, and the subject of removing processes is a sensitive topic some places, where the same people will claim one shall not remove these processes. Those who do understand jitter on the other hand, will see a great increase in smoothness of graphics and system generally. And the audio community has known for a long while, that this is necessary for the lowest latency audio.

It would be great to see a general move towards trying to influence Microsoft to do better low-jitter internals, and better scheduling, with more intelligent prioritization. And ofcourse automatic refresh rate sync, to the video rate, or a multiple.

Ultimately prioritization seems best, with

1.Audio (needs whatever it needs)
2 Various I/O (responsiveness)
3 Graphics (can handle a slight amount of jitter, probably atleast 0.5 ms)
4 low priority processes (things that make little difference with jitter, os upgrade checks/downloads/caretakers tasks etc)

This would give the lowest latency crackle free audio, and even microlatencies (and finally beat the ancient Amiga). And if an audioapp is not used, priority goes to various I/O. So if network is what one wants, this is the priority, and fits most common configurations. And one can consider parallelization of this for multiple cpus aswell. For instance, minimal buffer/overhead low jitter internals, with realtime scheduling pr cpu.

[video="https://www.youtube.com/watch?v=alswirkd4DU"][/video]

[video="https://www.youtube.com/watch?v=zffqxn2ZGwY"][/video]

[video="https://www.youtube.com/watch?v=PEUV-eTOMLM"][/video]

Peace Be With You.