I was wondering if anyone here knows much about latency in Windows and how to fix problems with high latency?
On my gaming system a while ago I managed to fix the problem with some help from someone analysing the traces and got it hovering as low as 19us with spikes in the low hundreds. One of the main problems was having my mouse plugged into a hub and plugging it directly into the motherboard fixed that.
Now I'm seeing high latency spikes, 1000us, 5000us, 7000us on both my gaming system and a system I'm building for my brother. I restored my gaming system from an early True Image backup to setup a nice clean Windows for gaming but I've checked with my other boot (the one I previously sorted the latency in) and I'm seeing similar spikes in that now as well, so I don't know if a Windows Update has done something to cause this.
It's hard to tell what's causing the spike from LatencyMon as it shows the ISR and DPC execution time but they can be around 40us and 170us respectively with the highest latency around 300us but then the latency will spike to 1000us or higher and these other two values are still around the same.
The drivers at the top of the list tend to be ndis.sys, tcpip.sys,ntoskrnl.sys, USBPORT.SYS and storport.sys on my gaming system. I'm not sure what storport.sys is doing as I looked it up and it refers to SCSI devices, which I'm not using.
On my brother's system, I'm not seeing storport.sys mentioned but ataport.sys instead, although that's about seventh down the list. However, a lot of the spikes do seem to be associated with HDD activity, for instance at the moment I'm doing a MBAM scan and if I pause it and start LatencyMon it hovers around 80-150us, with occasional spikes higher, but the highest being 525us in two minutes. As soon as I resume the MBAM scan, I see the hard pagefault count go up and the hard pagefault resolution time shoot up and within 30s I get a latency spike around 950us and then 3937us. Likewise if I launch Iron Portable, which I have a lot of saved tabs open in, so I suppose it's loading/writing a lot of data as it launches.
On my gaming system, I've updated the onboard NIC, soundcard and USB3 drivers (the first two using the drivers from the MSI website which are actually newer than the ones available direct from Realtek's sit, the USB3 drivers I got from here http://www.station-d...age/renesas.htm It doesn't seem to have helped anyway. I also tried disabling all the USB Host Controllers that don't have anything connected in Device Manager, as well as a few other devices such as the HDMI Audio and my USB Webcam.