High latency, High DPC + audio + gaming stuttering

Dyingsoul

New member
Joined
Jan 22, 2019
Posts
2
Rift with 3 sensors
Asus X470-F gaming
AMD 2700x (+Silverarrow SB-E Extreme cooler + Thermal grizzly compound)
Asus Strix 1080 Ti (my second card, I was RMAing the first one thinking the GPU was the cause)
16 GB 3200Mhz G.Skill ram
256GB Samsung Evo M.2 SSD
512GB Samsung Pro SSD
+other HDDs for videos pics etc
FSP Hyper M 700W
Decent PC case + Air coolingHello everyone!
I'm glad I have found LatencyMon and this forum. I'm having troubles with my PC.
Backstory: I've bought brand new PC components and switched to AMD from Intel. I had issues on my Intel PC as well, but I hoped that the switch will save me (my previous Intel build was 5 years old anyway...).
Things I saved to the new AMD PC:
  • 2TB HDD (for movies, data, etc.)
  • 512 Gb Samsung Pro SSD (for gaming)
  • 700W FSP HyperM PSU
  • PC Case + vents + -CPU cooler.
The system was installed on a brand new M.2 Samsung SSD. The issue is still present on the new build. I have an Original Windows, zero warez. I use qbittorrent but only for downloading movies from a thrusted site (country specific).
I'm getting "hiccups" while youtube-ing, watching movies, playing games. In VR I'm also experiencing stuttering from time to time.
I'm trying to nail it down since november, no success so far... :( I've posted on Steam VR dev forums as well, here you can read about my current PC and my experiences when playing VR games.

In case of you don't want to visit Steam forums, here are my specs:

  • Rift with 3 sensors
  • Asus X470-F gaming
  • AMD 2700x (+Silverarrow SB-E Extreme cooler + Thermal grizzly compound)
  • Asus Strix 1080 Ti (my second card, I was RMAing the first one thinking the GPU was the cause)
  • 16 GB 3200Mhz G.Skill ram
  • 256GB Samsung Evo M.2 SSD
  • 512GB Samsung Pro SSD
  • 2TB WD green HDD
  • FSP Hyper M 700W
  • Decent PC case + Air cooling

I would like to continue debugging (and hopefully find the problem) before I would spend more on my computer, for example discarding the components that I saved from my previous Intel PC.

Some of you might recommend updating BIOS. I'm on Version 4204 and I know that there is 1 newer BIOS out there (Version 4207) but that doesn't have any significant changes according to changelog + I had this issue on version 4011 too which was the BIOS my Mobo has arrived with.
So updating the BIOS would not help I believe but I'll do it later I promise.
Note: I have the latest AMD chipset driver.

So I let run Latencymon:

Main:
latencymon2.JPG

Processes:
Drivers.jpg

Drivers:
Drivers.jpg

CPUs:
CPUs.jpg

Looks awful I guess... I'm copying the data from LatencyMon:
Code:
_________________________________________________________________________________________________________
CONCLUSION
_________________________________________________________________________________________________________
Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing for too long. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try disabling it to get better results. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates. 
LatencyMon has been analyzing your system for  2:05:06  (h:mm:ss) on all processors.




_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        DESKTOP-VP505U1
OS version:                                           Windows 10 , 10.0, build: 17763 (x64)
Hardware:                                             ASUSTeK COMPUTER INC., ROG STRIX X470-F GAMING
CPU:                                                  AuthenticAMD AMD Ryzen 7 2700X Eight-Core Processor 
Logical processors:                                   16
Processor groups:                                     1
RAM:                                                  16314 MB total




_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed:                                   3693 MHz


Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.


WARNING: the CPU speed that was measured is only a fraction of the CPU speed reported. Your CPUs may be throttled back due to variable speed settings and thermal issues. It is suggested that you run a utility which reports your actual CPU frequency and temperature. 






_________________________________________________________________________________________________________
MEASURED INTERRUPT TO USER PROCESS LATENCIES
_________________________________________________________________________________________________________
The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.


Highest measured interrupt to process latency (µs):   100815,80
Average measured interrupt to process latency (µs):   4,529881


Highest measured interrupt to DPC latency (µs):       100813,30
Average measured interrupt to DPC latency (µs):       1,774011




_________________________________________________________________________________________________________
 REPORTED ISRs
_________________________________________________________________________________________________________
Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.


Highest ISR routine execution time (µs):              517,278635
Driver with highest ISR routine execution time:       dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation


Highest reported total ISR routine time (%):          0,080520
Driver with highest ISR total time:                   dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation


Total time spent in ISRs (%)                          0,081722


ISR count (execution time <250 µs):                   6211930
ISR count (execution time 250-500 µs):                0
ISR count (execution time 500-999 µs):                7
ISR count (execution time 1000-1999 µs):              0
ISR count (execution time 2000-3999 µs):              0
ISR count (execution time >=4000 µs):                 0




_________________________________________________________________________________________________________
REPORTED DPCs
_________________________________________________________________________________________________________
DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.


Highest DPC routine execution time (µs):              100830,009477
Driver with highest DPC routine execution time:       storport.sys - Microsoft Storage Port Driver, Microsoft Corporation


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


Total time spent in DPCs (%)                          0,145821


DPC count (execution time <250 µs):                   28636970
DPC count (execution time 250-500 µs):                0
DPC count (execution time 500-999 µs):                75
DPC count (execution time 1000-1999 µs):              0
DPC count (execution time 2000-3999 µs):              0
DPC count (execution time >=4000 µs):                 0




_________________________________________________________________________________________________________
 REPORTED HARD PAGEFAULTS
_________________________________________________________________________________________________________
Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.


NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.


Process with highest pagefault count:                 msmpeng.exe


Total number of hard pagefaults                       14009
Hard pagefault count of hardest hit process:          4599
Number of processes hit:                              56




_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       425,693503
CPU 0 ISR highest execution time (µs):                517,278635
CPU 0 ISR total execution time (s):                   97,927018
CPU 0 ISR count:                                      6102538
CPU 0 DPC highest execution time (µs):                100830,009477
CPU 0 DPC total execution time (s):                   168,307015
CPU 0 DPC count:                                      26591902
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       81,9790
CPU 1 ISR highest execution time (µs):                27,151367
CPU 1 ISR total execution time (s):                   0,174131
CPU 1 ISR count:                                      54967
CPU 1 DPC highest execution time (µs):                135,115624
CPU 1 DPC total execution time (s):                   0,932749
CPU 1 DPC count:                                      70326
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       64,835520
CPU 2 ISR highest execution time (µs):                7,624425
CPU 2 ISR total execution time (s):                   0,000158
CPU 2 ISR count:                                      33
CPU 2 DPC highest execution time (µs):                572,172488
CPU 2 DPC total execution time (s):                   0,818625
CPU 2 DPC count:                                      244314
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       64,245311
CPU 3 ISR highest execution time (µs):                0,0
CPU 3 ISR total execution time (s):                   0,0
CPU 3 ISR count:                                      0
CPU 3 DPC highest execution time (µs):                56,807474
CPU 3 DPC total execution time (s):                   0,025048
CPU 3 DPC count:                                      8505
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s):                       54,894508
CPU 4 ISR highest execution time (µs):                0,0
CPU 4 ISR total execution time (s):                   0,0
CPU 4 ISR count:                                      0
CPU 4 DPC highest execution time (µs):                77,867317
CPU 4 DPC total execution time (s):                   0,096478
CPU 4 DPC count:                                      29433
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s):                       54,579666
CPU 5 ISR highest execution time (µs):                0,0
CPU 5 ISR total execution time (s):                   0,0
CPU 5 ISR count:                                      0
CPU 5 DPC highest execution time (µs):                77,06580
CPU 5 DPC total execution time (s):                   0,021955
CPU 5 DPC count:                                      7331
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s):                       82,381038
CPU 6 ISR highest execution time (µs):                0,0
CPU 6 ISR total execution time (s):                   0,0
CPU 6 ISR count:                                      0
CPU 6 DPC highest execution time (µs):                132,881397
CPU 6 DPC total execution time (s):                   0,647111
CPU 6 DPC count:                                      266102
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s):                       64,803223
CPU 7 ISR highest execution time (µs):                0,0
CPU 7 ISR total execution time (s):                   0,0
CPU 7 ISR count:                                      0
CPU 7 DPC highest execution time (µs):                80,061468
CPU 7 DPC total execution time (s):                   0,011690
CPU 7 DPC count:                                      3734
_________________________________________________________________________________________________________
CPU 8 Interrupt cycle time (s):                       59,605081
CPU 8 ISR highest execution time (µs):                0,0
CPU 8 ISR total execution time (s):                   0,0
CPU 8 ISR count:                                      0
CPU 8 DPC highest execution time (µs):                87,134850
CPU 8 DPC total execution time (s):                   0,109701
CPU 8 DPC count:                                      27915
_________________________________________________________________________________________________________
CPU 9 Interrupt cycle time (s):                       63,091008
CPU 9 ISR highest execution time (µs):                0,0
CPU 9 ISR total execution time (s):                   0,0
CPU 9 ISR count:                                      0
CPU 9 DPC highest execution time (µs):                83,948822
CPU 9 DPC total execution time (s):                   0,071221
CPU 9 DPC count:                                      23348
_________________________________________________________________________________________________________
CPU 10 Interrupt cycle time (s):                       69,294628
CPU 10 ISR highest execution time (µs):                0,0
CPU 10 ISR total execution time (s):                   0,0
CPU 10 ISR count:                                      0
CPU 10 DPC highest execution time (µs):                258,989981
CPU 10 DPC total execution time (s):                   0,541902
CPU 10 DPC count:                                      226577
_________________________________________________________________________________________________________
CPU 11 Interrupt cycle time (s):                       61,767523
CPU 11 ISR highest execution time (µs):                0,0
CPU 11 ISR total execution time (s):                   0,0
CPU 11 ISR count:                                      0
CPU 11 DPC highest execution time (µs):                75,152180
CPU 11 DPC total execution time (s):                   0,018102
CPU 11 DPC count:                                      4260
_________________________________________________________________________________________________________
CPU 12 Interrupt cycle time (s):                       74,208429
CPU 12 ISR highest execution time (µs):                9,327647
CPU 12 ISR total execution time (s):                   0,026972
CPU 12 ISR count:                                      34444
CPU 12 DPC highest execution time (µs):                80,692662
CPU 12 DPC total execution time (s):                   0,392697
CPU 12 DPC count:                                      123402
_________________________________________________________________________________________________________
CPU 13 Interrupt cycle time (s):                       63,291643
CPU 13 ISR highest execution time (µs):                6,71270
CPU 13 ISR total execution time (s):                   0,000585
CPU 13 ISR count:                                      627
CPU 13 DPC highest execution time (µs):                58,310317
CPU 13 DPC total execution time (s):                   0,01990
CPU 13 DPC count:                                      4420
_________________________________________________________________________________________________________
CPU 14 Interrupt cycle time (s):                       71,839337
CPU 14 ISR highest execution time (µs):                8,606282
CPU 14 ISR total execution time (s):                   0,015843
CPU 14 ISR count:                                      15563
CPU 14 DPC highest execution time (µs):                430,153804
CPU 14 DPC total execution time (s):                   2,878442
CPU 14 DPC count:                                      951895
_________________________________________________________________________________________________________
CPU 15 Interrupt cycle time (s):                       64,310727
CPU 15 ISR highest execution time (µs):                8,315732
CPU 15 ISR total execution time (s):                   0,004120
CPU 15 ISR count:                                      3765
CPU 15 DPC highest execution time (µs):                67,577850
CPU 15 DPC total execution time (s):                   0,240389
CPU 15 DPC count:                                      53582
_________________________________________________________________________________________________________

Thank you for reading my post!
I can just hope that someone will come by and try to help but I've nearly gave up my hopes of getting rid of my problem.
 
Hi [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Dyingsoul, welcome to the forums :)

Please clarify whether or not you were having the same problem with the Intel system. If you were, my suspicion would be a problem with one of the drives you're using from the old system; especially considering the driver being flagged as particularly bad is storport.sys which has to do with high speed storage according to Microsoft. A failing drive can easily cause performance problems. I'd recommend checking the health of your drives and/or disconnecting drives to see if you can isolate a bad device.
[/FONT]
 
Hi cwsink!
Thanks for your reply!
Yes, I had the same issues on the Intel system. I had audio pops and "hiccups" there as well. I suspect the WD green 2TB drive.
Yesterday I turned off the PC and unplugged the SATA cable of this drive. I ran the LatencyMon for 45 minutes. I did not do much since my datas are on the 2TB drive but I played for a few mins, youtubed and so on. I did not get same latency warnings for storport.sys.

Changes I did this week:
  • I had an older System Reserved partition on my 2TB HDD. It does not belong to this system install (Yes, I've tested it by unplugging the 2TB drive but I also made a safe copy of it's contents). So I got rid of that partition. I let it unallocated because I got a warning message according converting a simple drive to dynamic can result in failures. I don't know whats better: having it as a simple drive and leaving that area unallocated or should I convert it to dynamic drive? Please give me an answer on this one, does it make any difference, would it lead to any problems or may I leave it as it is now (unallocated 351Mb partition)?

Before:

diskmngtmnt.png

Now:

now.JPG

  • I was reinstalling network drivers, deleted the one that I've installed from Asus site, since users have reported problems on Amazon and reddit. I let windows install a different, older network driver.
  • Browsing already seems faster, opening media files are also faster since I've reinstalled audio drivers too.

At the Intel system I ran everything in high performance mode, I did not care about energy saving, every win option I had available was set to "do not turn off".
  • Now with this AMD PC I let the hard drive turn off after 30 mins. Now I have changed this option to 0, so I won't let it turn off. I'm testing this too.

Now if the HDD is the main cause I'm thinking about buying a NAS instead of having HDDs in my rig as an ultimate solution. Well we can buy NAS for a low price but still it's an unexpected expense and meh I don't really need my data when I'm not at home. I'll still be thinking on getting a NAS, maybe later this year I would jump in it. Currently I was taking a look at the ZYXEL NAS326, which looks quite nice and seems to be affordable.

All in all I just need some time now for testing. I'll be back with the results.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top