Page 1 of 1

Low latency about

Posted: 18 Dec 2022, 08:43
by Lautreamont
Hello guys <3 I'll try to explain the latency to you as best I can. I had to research latency issues for a long time. Because even though I had a high-end computer before, there were always latency problems. I learned a lot about these topics recently, and I wanted to share them with you. System latency has multiple categories. I want to start with the simplest part. The engine of the game; You know, when we lower the graphics settings in high FPS games, for example CS: GO, the lag in the game is reduced. Classic Nvidia and AMD software settings :) Settings made through the Windows operating system, such as power plans, and turning off background services. These methods definitely work, but the most effective method should be done through the BIOS. Because the optimization made on the BIOS directly affects the latency of the video card and Windows operating system. The YouTube video I shared belongs to me, it is Windows 22H2 stock version. Never use xxx tweaked Windows versions! If you do the optimization yourself, you will get healthier and more efficient results. Never pin CPU cores via BIOS. Do not supply constant voltage. However, if the BIOS supports it, set the c-states mode "enabled" to "C0". My motherboard model supports these settings. If you do not have this setting, turn off the c-states mode directly. If you want low latency and most importantly stable, use the pure cores of the processor you are using. I mean Intel hyper threading, turn off your AMD SMT settings. Turn off Windows defender on the Windows stock operating system you are using, if possible, turn off the sound (Realtek or xxx) via BIOS, if you need to use it, definitely install a driver. With the MSI_util_v2-v3 implementation, never make the IRQ negative for the GPU, so don't tick it and don't set it to "high". The operation of other components, except the graphics card, over the motherboard PCI express bus via negative IRQ reduces the graphics card latency. Therefore, the video card works positively. If the BIOS supports it, set the p-states for the video card in your BIOS settings. And if it still supports it, let the motherboard do this work, not the Windows OS. I am using it in "L1" mode from BIOS. I'm going to share with you some nice decent english resources so you can understand me more clearly :) Disable unused USB interrupts from windows device manager. Do not install anything that concerns drivers other than the Intel Chipset! At the same time, uncheck the power plan from the AMD chipset, do not install it! I recommend turning on a value hidden in Windows power plans with the Power Settings Explorer applet. It should be called something like "interrupt method settings". My Windows is not English, but I hope you understand what I mean...Change this setting in your Windows power plans. Choose the default setting cpu 0 (best for me) or cpu 1 (this will be fine for every user in general) Do not set the power to maximum performance in 3d general settings from Nvidia settings! This part should remain optimized, and maximum performance should be selected for each game individually! You can also make similar settings via AMD software. Now I will share resources that are better in English. Screenshots showing my own BIOS settings as well. The processor I am using is 12600KF. Video card rtx 2060. Motherboard MSI b660 Pro a ddr4.

"BIOS settings
Ensure that Turbo is on.

Disable lower CPU power states. Settings vary among different vendors, so after turning C-states off, you should check whether there are extra settings like C1E, and memory and PCI-e power saving states, which should also be disabled.

Check for other settings that might influence performance. This varies greatly by OEM, but should include anything power related, such as fan speed settings.

Disable hyper-threading to reduce variations in latency (jitter).

Disable any virtualization options.

Disable any monitoring options."
Source; https://www.intel.com/content/www/us/en ... dware.html

p-states source via BIOS; https://www.intel.com/content/www/us/en ... ement.html

General latency related resource; https://docs.google.com/document/d/1c2- ... mrau4/edit


My BIOS settings;

https://imgur.com/NixS8D6
https://imgur.com/7eTMoDT
https://imgur.com/vH3JU2K
https://imgur.com/OcyjYi2
https://imgur.com/ukZoyFr

And my latency values! Windows 10 22H2 stock. You can check out the other 2 videos I shared on my channel. Sorry for my bad english, my aim is to help friends who have lag problems.

https://www.youtube.com/watch?v=XUBuCHPkRPc

Re: Low latency about

Posted: 21 Dec 2022, 07:38
by naporitan
123.jpg
123.jpg (435.82 KiB) Viewed 18586 times
Gigabyte z390 aorus master rev 1.0

*WARNING*
you need to understand that the computer can not play games in real time, so it will worsen your User eXperience and there will be a strong online desynchronization......

Re: Low latency about

Posted: 21 Dec 2022, 19:36
by assombrosso
Nothing of this makes a difference in long term

Re: Low latency about

Posted: 22 Dec 2022, 03:28
by Shade7
Interesting post.

It's very hard to read without any formatting, but I still went through it.

Some of your points are a little unusual. I'm curious why you suggest the following:

1. Do not install AMD power settings with chipset.

2. Do not set Nvidia power management in 3d settings to "prefer max performance".

3. Do not set GPU in MSI mode. This one definitely caught my attention. I saw you have a 20-series card. Is this suggestion only for a certain series of cards? 30-series cards seem to come with MSI mode enabled by default, so I don't know why we would disable it after they set it that way out of the box.

Re: Low latency about

Posted: 22 Dec 2022, 03:57
by SeekNDstroy
I was about to write what "shade7" points at.
It is very popularly recommended to set high performance in nvcp & use msi mode for gpu including everything which supports msi. Why you are against it!

AMD gpu drivers auto enabled msi mode for the gpu.

For me installing intel chipset drivers ( aorus elite b560 series for i5-11400) causing input lag for me, so i always avoided it.

I didn't understand about "never pin cpu cores via bios".

About interrupt steering setting set to core 0 /1, by default windows use core 0, by set it to core 0 , doesn't it make congestion for everything to core 0 ?

About cpu turbo on, i read that stable fixed core clock is better, cause variance in core clock introduce jitter.

Thanks.

Re: Low latency about

Posted: 22 Dec 2022, 04:36
by Tuhin Lavania
Your DPC latency ( 0.44 ) under the game load is quite nice. I have a 13900k and a 4090 and at idle i can get 0.38 or 0.375 but thats on idle. Under some load, it definitely shoots up to 0.5. ( will have to check again )

Regarding msi, my card doesnt support MSI-X, only MSI and it has a negative irq and if it has negative irq then msi is working. I dont know why are you suggesting to untick msi for the video card. I will try this once i reach home. Setting priorities under msi can definitely harm so i have left them at undefined.

Can you explain more on what you said regarding dont pin cores via BIOS ?

Re: Low latency about

Posted: 22 Dec 2022, 17:24
by kokkatc
Couple things right off the bat I have questions about...

1) You suggest keeping your GPU in line based mode as opposed to using the faster alternative, MSI mode. MSI is faster than line based, but you suggest keeping your GPU in line based mode = lower latency. This is a bit contradictory as anyone can see for themselves how much DPC latency plummets when enabling MSI over Line based on the GPU. Also, RTX cards default to MSI mode now because it's faster and lowers overall system latency. They used to default to line based during the GTX and prior series. Can you expand on this one?

2) ASPM in L1 mode. L1 = PCIE native power management mode that allows the link to be put into LOW POWER mode. This should raise latency, not lower it since a switch must be made from low power to full power. One of your screenshots shows L1 which is a low power saving state. Even the source you linked says specifically to disable this:

"Disable lower CPU power states. Settings vary among different vendors, so after turning C-states off, you should check whether there are extra settings like C1E, and memory and PCI-e power saving states, which should also be disabled."

https://www.intel.com/content/www/us/en ... dware.html