Windows 10 storport.sys and ndis.sys DPC latency fix?

  • Thread starter Thread starter EMB3R14
  • Start date Start date
E

EMB3R14

So I built my PC back during the summer after getting a summer job, and since building, I have diagnosed and fixed a few issues, but one keeps occurring and I am unable to fix myself. I am not completely sure if it is a hardware issue or purely software based.


Anyway, I've been getting some latency issues that have caused stuttering and sometimes lag while streaming videos from YouTube and Netflix, playing games, and sometimes even while browsing websites. I downloaded LatencyMon to help find whats causing these issues, and I have pointed out two major .sys driver files that are causing my stuttering. Those being "storport.sys", which is the major cause, and "ndis.sys" being the smaller, but yet significant cause.


storport.sys definition in LatencyMon is "Microsoft Storage Port Driver", and ndis.sys description is "Network Driver Interface Specifications".

storport.sys gives me upwards of 100,000 in LatencyMon, and I believe ndis.sys gives me about 20,000.

I've read somewhere that storport.sys latency is mostly caused by the Samsung m.2 SSD's but I'm not sure how to fix this

I keep all my drivers updated using DriverEasy

Specs:

MB: Aorus X470 Ultra Gaming ATX AM4 Socket

CPU: AMD Ryzen 2600

GPU: Gigabyte Geforce GTX 1060 6GB Windforce OC Edition

Memory: G.Skill Ripjaw V-Series 16GB DDR4-3200 - F4-3200C16D-16GVKB (Possible latency cause?)

Storage: Samsung 970 EVO 250GB (Boot)

Storage: Seagate Barracuda 2TB HDD (Mass)

Storage: Western Digital "Blue?" 3TB HDD (Backup) (Not 100% sure which drive this is, I think it's blue)

Network Card: TP-Link TL-WDN4800 PCIe x1 802.11a/b/g/n (Possibly cause of ndis.sys latency?)

Operating System: Windows 10 Pro 64bit

Here's the link to the PcPartPicker parts list if its needed: System Builder - Ryzen 5 2600 3.4 GHz 6-Core, GeForce GTX 1060 6GB 6 GB WINDFORCE OC 6G, Meshify C TG ATX Mid Tower - PCPartPicker Canada


Here's what LatencyMon comes up with after experiencing a storport.sys latency spike:

_________________________________________________________________________________________________________

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 0:10:19 (h:mm:ss) on all processors.





_________________________________________________________________________________________________________

SYSTEM INFORMATION

_________________________________________________________________________________________________________

Computer name: TYS-PC

OS version: Windows 10 , 10.0, build: 17763 (x64)

Hardware: X470 AORUS ULTRA GAMING, Gigabyte Technology Co., Ltd., X470 AORUS ULTRA GAMING-CF

CPU: AuthenticAMD AMD Ryzen 5 2600 Six-Core Processor

Logical processors: 6

Processor groups: 1

RAM: 16331 MB total





_________________________________________________________________________________________________________

CPU SPEED

_________________________________________________________________________________________________________

Reported CPU speed: 340 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): 100830.20

Average measured interrupt to process latency (µs): 3.116927



Highest measured interrupt to DPC latency (µs): 100827.60

Average measured interrupt to DPC latency (µs): 1.344504





_________________________________________________________________________________________________________

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): 148.150

Driver with highest ISR routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation



Highest reported total ISR routine time (%): 0.095580

Driver with highest ISR total time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation



Total time spent in ISRs (%) 0.105838



ISR count (execution time <250 µs): 228176

ISR count (execution time 250-500 µs): 0

ISR count (execution time 500-999 µs): 0

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): 100834.210

Driver with highest DPC routine execution time: storport.sys - Microsoft Storage Port Driver, Microsoft Corporation



Highest reported total DPC routine time (%): 0.062271

Driver with highest DPC total execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 416.94 , NVIDIA Corporation



Total time spent in DPCs (%) 0.169238



DPC count (execution time <250 µs): 1872845

DPC count (execution time 250-500 µs): 0

DPC count (execution time 500-999 µs): 227

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: chrome.exe



Total number of hard pagefaults 33063

Hard pagefault count of hardest hit process: 8281

Number of processes hit: 84





_________________________________________________________________________________________________________

PER CPU DATA

_________________________________________________________________________________________________________

CPU 0 Interrupt cycle time (s): 14.904984

CPU 0 ISR highest execution time (µs): 148.150

CPU 0 ISR total execution time (s): 3.907992

CPU 0 ISR count: 224044

CPU 0 DPC highest execution time (µs): 100834.210

CPU 0 DPC total execution time (s): 6.092103

CPU 0 DPC count: 1833174

_________________________________________________________________________________________________________

CPU 1 Interrupt cycle time (s): 1.837817

CPU 1 ISR highest execution time (µs): 72.60

CPU 1 ISR total execution time (s): 0.017628

CPU 1 ISR count: 1600

CPU 1 DPC highest execution time (µs): 533.150

CPU 1 DPC total execution time (s): 0.092153

CPU 1 DPC count: 13765

_________________________________________________________________________________________________________

CPU 2 Interrupt cycle time (s): 1.719505

CPU 2 ISR highest execution time (µs): 59.50

CPU 2 ISR total execution time (s): 0.003827

CPU 2 ISR count: 517

CPU 2 DPC highest execution time (µs): 110.490

CPU 2 DPC total execution time (s): 0.042660

CPU 2 DPC count: 11228

_________________________________________________________________________________________________________

CPU 3 Interrupt cycle time (s): 1.836355

CPU 3 ISR highest execution time (µs): 2.460

CPU 3 ISR total execution time (s): 0.000320

CPU 3 ISR count: 427

CPU 3 DPC highest execution time (µs): 85.570

CPU 3 DPC total execution time (s): 0.018822

CPU 3 DPC count: 4977

_________________________________________________________________________________________________________

CPU 4 Interrupt cycle time (s): 1.813737

CPU 4 ISR highest execution time (µs): 1.820

CPU 4 ISR total execution time (s): 0.000497

CPU 4 ISR count: 701

CPU 4 DPC highest execution time (µs): 228.950

CPU 4 DPC total execution time (s): 0.019418

CPU 4 DPC count: 4982

_________________________________________________________________________________________________________

CPU 5 Interrupt cycle time (s): 1.796899

CPU 5 ISR highest execution time (µs): 4.290

CPU 5 ISR total execution time (s): 0.000660

CPU 5 ISR count: 887

CPU 5 DPC highest execution time (µs): 108.190

CPU 5 DPC total execution time (s): 0.020504

CPU 5 DPC count: 4948

_________________________________________________________________________________________________________



Thanks to anyone that takes a look into this. You're really helping me out. The stutters are getting quite annoying. :P

Continue reading...
 

Similar threads

A
Replies
0
Views
42
AdityaPushkar
A
Y
Replies
0
Views
23
YamanashiMoondragon
Y
Y
Replies
0
Views
46
YamanashiMoondragon
Y
Back
Top