Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Ndis.sys High Latency Issue

10 May 2019   #1
Artur92

Windows 7 Ultimate x64
 
 
Ndis.sys High Latency Issue

Hi everyone!

Recently out of the blue I started having weird sound pops and crackling and through a bit of Googling I found out that high latency is the problem.

Using LatencyMon I noticed that ndis.sys and tcpip.sys are the main culprits. The issue gets worse the longer the system is running. Disabling network adapters or unplugging the Ethernet cable imminently fixes the issue. Here are the fixes I have attempted so far:

- Installed latest Windows updates
- Installed latest sound drivers
- Installed latest graphics drivers
- Installed latest network adapter drivers
- Bought a new network adapter (TP-Link TG-3468) - did not improve anything
- Did multiple scans for malware with no results
- Cleaned and repaired registry keys
- Changed Power Options to High Performance
- Turned Energy Efficient Ethernet off
- Tried disabling Antivirus and Firewall

So far nothing has improved the situation. Here's the report from LatencyMon:

Quote:
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:27:42 (h:mm:ss) on all processors.


____________________________________________________________________________________________________ _____
SYSTEM INFORMATION
____________________________________________________________________________________________________ _____
OS version: Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
Hardware: ASUSTeK COMPUTER INC., RAMPAGE IV EXTREME
CPU: GenuineIntel Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
Logical processors: 12
Processor groups: 1
RAM: 32708 MB total


____________________________________________________________________________________________________ _____
CPU SPEED
____________________________________________________________________________________________________ _____
Reported CPU speed: 3201 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): 25338.154410
Average measured interrupt to process latency (Ás): 7.197709

Highest measured interrupt to DPC latency (Ás): 18108.778678
Average measured interrupt to DPC latency (Ás): 2.314774


____________________________________________________________________________________________________ _____
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): 100.373008
Driver with highest ISR routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

Highest reported total ISR routine time (%): 0.004435
Driver with highest ISR total time: hal.dll - Hardware Abstraction Layer DLL, Microsoft Corporation

Total time spent in ISRs (%) 0.009334

ISR count (execution time <250 Ás): 1323672
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): 23235.736020
Driver with highest DPC routine execution time: ndis.sys - NDIS 6.20 driver, Microsoft Corporation

Highest reported total DPC routine time (%): 0.016084
Driver with highest DPC total execution time: rspLLL64.sys - Resplendence Latency Monitoring and Auxiliary Kernel Library, Resplendence Software Projects Sp.

Total time spent in DPCs (%) 0.046159

DPC count (execution time <250 Ás): 7113470
DPC count (execution time 250-500 Ás): 0
DPC count (execution time 500-999 Ás): 130
DPC count (execution time 1000-1999 Ás): 111
DPC count (execution time 2000-3999 Ás): 26
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: photoshop.exe

Total number of hard pagefaults 32720
Hard pagefault count of hardest hit process: 10819
Number of processes hit: 38


____________________________________________________________________________________________________ _____
PER CPU DATA
____________________________________________________________________________________________________ _____
CPU 0 Interrupt cycle time (s): 19.459322
CPU 0 ISR highest execution time (Ás): 58.032802
CPU 0 ISR total execution time (s): 0.885138
CPU 0 ISR count: 1229081
CPU 0 DPC highest execution time (Ás): 10689.585130
CPU 0 DPC total execution time (s): 5.371165
CPU 0 DPC count: 6473649
____________________________________________________________________________________________________ _____
CPU 1 Interrupt cycle time (s): 9.824003
CPU 1 ISR highest execution time (Ás): 0.0
CPU 1 ISR total execution time (s): 0.0
CPU 1 ISR count: 0
CPU 1 DPC highest execution time (Ás): 58.967510
CPU 1 DPC total execution time (s): 0.003252
CPU 1 DPC count: 1465
____________________________________________________________________________________________________ _____
CPU 2 Interrupt cycle time (s): 12.194269
CPU 2 ISR highest execution time (Ás): 22.859419
CPU 2 ISR total execution time (s): 0.021645
CPU 2 ISR count: 4256
CPU 2 DPC highest execution time (Ás): 3816.433614
CPU 2 DPC total execution time (s): 0.372362
CPU 2 DPC count: 103528
____________________________________________________________________________________________________ _____
CPU 3 Interrupt cycle time (s): 11.248519
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): 1433.348329
CPU 3 DPC total execution time (s): 0.006147
CPU 3 DPC count: 1119
____________________________________________________________________________________________________ _____
CPU 4 Interrupt cycle time (s): 12.836927
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): 5750.657607
CPU 4 DPC total execution time (s): 0.289653
CPU 4 DPC count: 37084
____________________________________________________________________________________________________ _____
CPU 5 Interrupt cycle time (s): 11.070328
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): 1052.802249
CPU 5 DPC total execution time (s): 0.005042
CPU 5 DPC count: 1332
____________________________________________________________________________________________________ _____
CPU 6 Interrupt cycle time (s): 19.639440
CPU 6 ISR highest execution time (Ás): 33.263043
CPU 6 ISR total execution time (s): 0.257152
CPU 6 ISR count: 59460
CPU 6 DPC highest execution time (Ás): 23235.736020
CPU 6 DPC total execution time (s): 2.593849
CPU 6 DPC count: 379263
____________________________________________________________________________________________________ _____
CPU 7 Interrupt cycle time (s): 11.102153
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): 153.982505
CPU 7 DPC total execution time (s): 0.007355
CPU 7 DPC count: 2436
____________________________________________________________________________________________________ _____
CPU 8 Interrupt cycle time (s): 11.539681
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): 1702.593565
CPU 8 DPC total execution time (s): 0.075667
CPU 8 DPC count: 25596
____________________________________________________________________________________________________ _____
CPU 9 Interrupt cycle time (s): 21.887723
CPU 9 ISR highest execution time (Ás): 100.373008
CPU 9 ISR total execution time (s): 0.698179
CPU 9 ISR count: 30765
CPU 9 DPC highest execution time (Ás): 1098.108716
CPU 9 DPC total execution time (s): 0.400809
CPU 9 DPC count: 67224
____________________________________________________________________________________________________ _____
CPU 10 Interrupt cycle time (s): 9.959353
CPU 10 ISR highest execution time (Ás): 8.757263
CPU 10 ISR total execution time (s): 0.000495
CPU 10 ISR count: 110
CPU 10 DPC highest execution time (Ás): 41.340519
CPU 10 DPC total execution time (s): 0.005152
CPU 10 DPC count: 689
____________________________________________________________________________________________________ _____
CPU 11 Interrupt cycle time (s): 13.989729
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): 1265.708529
CPU 11 DPC total execution time (s): 0.080941
CPU 11 DPC count: 20367
____________________________________________________________________________________________________ _____

I'm kind of running of ideas of what to do that's I'm turning to you guys. Any help will be greatly appreciated! Thanks!




Attached Thumbnails
Ndis.sys High Latency Issue-latency.jpg  
My System SpecsSystem Spec
.
10 May 2019   #2
wither 2

Windows 7 Pro SP1 64 bit
 
 

Can you run a system restore point from before this started happening?

What are you doing when this occurs?
My System SpecsSystem Spec
11 May 2019   #3
F22 Simpilot

Windows 7 Ultimate x64
 
 

photoshop.exe has a lot of page faults. Not sure if related, but if it's trying to update all the time that could be it.

What anti-virus are you using? Avast by chance? If so, uninstall it once and try again. What firewall? Uninstall that and try again.

Have a look at Autoruns and zip and upload the ARN file.

Go to start and in search enter dxdiag. Any errors? Try the 64 bit version in there as well.

Autoruns for Windows - Windows Sysinternals | Microsoft Docs
My System SpecsSystem Spec
.

12 May 2019   #4
Artur92

Windows 7 Ultimate x64
 
 

Hi, thanks for replies! Unfortunately I don't have a restore point to go back to. The issue occurs even when the system is idle, the longer the PC is on the worse the issue gets.

I only had Photoshop open at the time to paste the screenshots, but like I said it happens even when there are no programs are running.
I am using ZoneAlarm Firewall and Antivirus. I tried disabling both of them but that did not help. I have used AVG Antivirus in the past but I've uninstalled it.

No errors in dxdiag that I can see. I've attached the ARN file.


Attached Files
File Type: zip autoruns.zip (283.8 KB, 2 views)
My System SpecsSystem Spec
12 May 2019   #5
F22 Simpilot

Windows 7 Ultimate x64
 
 

Okay, try this once. Go into Autoruns under the Everything tab and in the search tab type in the word zone. Now disable everything related to Zone Alarm. After that reboot your computer and see if the problem persists.

If the problem still exists, uninstall Zone Alarm and reboot.

The issue could also be Photoshop and in order to verify that you'd need to uninstall that.
My System SpecsSystem Spec
17 May 2019   #6
Artur92

Windows 7 Ultimate x64
 
 

I tried disabling ZoneAlaram in autoruns with success unfortunately. Any other ideas?
My System SpecsSystem Spec
17 May 2019   #7
wither 2

Windows 7 Pro SP1 64 bit
 
 

Go to Control Panel, Device Manager, Sound and..............................

Disable all the NVIDIA High Definition Audio entries.

Does that help?
My System SpecsSystem Spec
18 May 2019   #8
F22 Simpilot

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Artur92 View Post
I tried disabling ZoneAlaram in autoruns with success unfortunately. Any other ideas?

I said.

Quote   Quote: Originally Posted by F22 Simpilot View Post

If the problem still exists, uninstall Zone Alarm and reboot.

The issue could also be Photoshop and in order to verify that you'd need to uninstall that.
My System SpecsSystem Spec
07 Jun 2019   #9
Artur92

Windows 7 Ultimate x64
 
 

Uninstalling ZoneAlarm seems to have fixed the issue so far, hurray! I've run LatencyMon for about an hour and apart from a few random spikes it seems to stay below 150 most of the time.

I'll keep an eye on it and see if the issue happens again. Thank you for your help, it's really appreciated!
My System SpecsSystem Spec
08 Jun 2019   #10
F22 Simpilot

Windows 7 Ultimate x64
 
 

Glad it's fixed.
My System SpecsSystem Spec
Reply

 Ndis.sys High Latency Issue




Thread Tools




Similar help and support threads
Thread Forum
ndis.sys latency issue
hello all, I am a professional audio designer and I use an external audio card for performance playback, however, recently, I have started to have problems with audio dropouts because of this service. I understand that it is a networking driver, but I have never had issues with it until...
General Discussion
NDIS.sys DPC Latency Issue
*I know this has been threaded all throughout the internet on many different websites and I think we need too get to the bottom of this. As usual, this is a problem that happens when I use Windows 7 64-bit. (I think it's happened to 32-bit users as well, and I read some cases with XP users......
Network & Sharing
High latency issue onboard Realtek adapter
Hey everyone On Thursday, I received my copy of Windows 7 Home Premium. I skipped the Vista bandwagon, so I was moving directly from Windows XP Service Pack 3 (32-bit) to Windows 7 Home Premium. I opted to install the 64-bit version of Windows 7, as I had no issues when running the 64-bit beta....
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

ę Designer Media Ltd

All times are GMT -5. The time now is 16:59.
Twitter Facebook