[SOLVED] DPC Latency issues

Russ

Member
Joined
Sep 5, 2014
Posts
8
Recently been getting significant latency issues on my desktop after roughly a day/two of use (hibernating at night). This causes audio stuttering and static. Issue seems to be caused by maybe ndis, usbport or tcpip?

Seems to occur mostly when refreshing the browser (chrome or firefox) and with other programs using internet. In latencymon every refresh on the browser results in a fault.

Created an etl file through xperf, attached (tried to attach but didn't work, dropbox link in its stead: https://www.dropbox.com/s/fsrba65npc82qaz/CPU.rar?dl=0). Log within was over the course of roughly a minute, refreshing pages on chrome mostly.

Been happening for a few weeks now. Restarting solves the problem but only for a day or two. All drivers are updated as far as I can tell.

Computer Type PC/Desktop
System Manufacturer/Model Number PCSpecialist
OS Windows 8
CPU Intel® Core™i5 Quad Core Processor i5-3570 (3.4GHz) 6MB Cache
Motherboard ASUS® P8Z77-M: MICRO-ATX, USB 3.0, SATA 6GBs, ATI®CrossFireX
Memory 8GB KINGSTON HYPER-X GENESIS DUAL-DDR3 1600MHz, X.M.P (2 x 4GB KIT)
Graphics Card 2GB AMD RADEON™ HD7870 - DVI,HDMI,2 mDP - DX® 11, Eyefinity 4 Capable
Sound Card ONBOARD 6 CHANNEL (5.1) HIGH DEF AUDIO (AS STANDARD)
Monitor(s) Displays LG IPS
Screen Resolution 1920x1080
Keyboard Logitech k360
Mouse Logitech G700
PSU 450W Quiet 80 PLUS Dual Rail PSU + 120mm Case Fan
Case COOLERMASTER ELITE 430 BLACK CASE
Cooling INTEL SOCKET LGA1155 STANDARD CPU COOLER
Hard Drives 2TB 3.5" SATA-III 6GB/s HDD 7200RPM 64MB CACHE
Internet Speed 120mb/ps
Browser Chrome
Antivirus Avast Pro Internet Security
Speakers Realtek

Any help would be appreciated.
 
Latencymon screenshot:
25e2775cd0.png
 
Hi Russ & Welcome to Sysnative ^_^,

How are you connecting to the Internet? Are you using any USB Device, If yes then please give details.

I would suggest you to upload your MsINFO32 report. Please open the Run Prompt, type in "msinfo32" ---> Press Enter Key ---> Once the Window Has opened ---> Click on File in the Menu Bar ---> Export ---> Save the file somewhere ---> Zip the File ---> Upload it ---> Post link here ^_^
 
Connected via ethernet cable, I used to use a usb wifi adapter but due to instability of wifi, disconnections etc, switched to wired; and here ya go on the msinfo32.

View attachment msinfo32.rar

Done multiple defragments, sfc /scannow scans, dism restorehealth, disk cleanup, updated drivers, etc. Nothing seems to stick. When I say I've updated drivers, I have to the best of my knowledge. I'm never sure which are the most recent or relevant to my system. But I'm fairly sure theyre up to date.

Also did a full chkdsk a few days back, maybe you can glean something helpful out of the results:


TimeCreated : 01/09/2014 13:18:00
Message :

Checking file system on C:
The type of the file system is NTFS.

A disk check has been scheduled.
Windows will now check the disk.

CHKDSK is verifying files (stage 1 of 5)...
Cleaning up instance tags for file 0x14ba9.
676608 file records processed.
File verification completed.
7201 large file records processed.
0 bad file records processed.

CHKDSK is verifying indexes (stage 2 of 5)...
776522 index entries processed.
Index verification completed.
0 unindexed files scanned.
0 unindexed files recovered.

CHKDSK is verifying security descriptors (stage 3 of 5)...
CHKDSK is compacting the security descriptor stream
Cleaning up 18918 unused security descriptors.
49958 data files processed.
CHKDSK is verifying Usn Journal...
Usn Journal verification completed.

CHKDSK is verifying file data (stage 4 of 5)...
Windows replaced bad clusters in file 429425
of name \Windows\System32\DRIVER~1\FILERE~1\PRNCAC~4.INF\Amd64\CNBJ2530.DPB.
Windows replaced bad clusters in file 439754
of name \Windows\WinSxS\AM7F7F~1.163\tctree.dat.
676592 files processed.
File data verification completed.

CHKDSK is verifying free space (stage 5 of 5)...
217931583 free clusters processed.
Free space verification is complete.
CHKDSK discovered free space marked as allocated in the
master file table (MFT) bitmap.
CHKDSK discovered free space marked as allocated in the volume bitmap.

Windows has made corrections to the file system.
No further action is required.

1953154047 KB total disk space.
1080428244 KB in 269722 files.
195616 KB in 49961 indexes.
0 KB in bad sectors.
803851 KB in use by the system.
65536 KB occupied by the log file.
871726336 KB available on disk.

4096 bytes in each allocation unit.
488288511 total allocation units on disk.
217931584 allocation units available on disk.

Internal Info:
00 53 0a 00 cd e0 04 00 c4 a4 08 00 00 00 00 00 .S..............
f4 b8 00 00 1b 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 b4 7e 17 00 00 00 01 02 00 00 00 00 00 00 ...~............

Windows has finished checking your disk.
Please wait while your computer restarts.

Thank-you :)
 
Hi Russ ^_^,

I found the below two device drivers in the text file uploaded by you :-
Code:
		Name	[00000011] [B][U]TP-LINK 300Mbps Wireless N Adapter[/U][/B]	
Adapter Type	Ethernet 802.3	
Product Type	TP-LINK 300Mbps Wireless N Adapter	
Installed	Yes	
PNP Device ID	PCI\VEN_168C&DEV_002D&SUBSYS_0300168C&REV_01\5&F64F664&0&0000E6	
Last Reset	04/09/2014 11:44	
Index	11	
Service Name	athr	
IP Address	Not Available	
IP Subnet	Not Available	
Default IP Gateway	Not Available	
DHCP Enabled	Yes	
DHCP Server	Not Available	
DHCP Lease Expires	Not Available	
DHCP Lease Obtained	Not Available	
MAC Address	‪64:70:02:9A:CC:78‬	
Memory Address	0xF7D00000-0xF7DFFFFF	
IRQ Channel	IRQ 18	
Driver	c:\windows\system32\drivers\athrx.sys (3.0.0.128, 2.80 MB (2,935,808 bytes), 02/06/2012 15:31)	


Name	[00000015] [B][U]150Mbps Wireless 802.11b/g/n Nano USB Adapter[/U][/B]	
Adapter Type	Not Available	
Product Type	150Mbps Wireless 802.11b/g/n Nano USB Adapter	
Installed	Yes	
PNP Device ID	Not Available	
Last Reset	04/09/2014 11:44	
Index	15	
Service Name	RtlWlanu	
IP Address	Not Available	
IP Subnet	Not Available	
Default IP Gateway	Not Available	
DHCP Enabled	Yes	
DHCP Server	Not Available	
DHCP Lease Expires	Not Available	
DHCP Lease Obtained	Not Available	
MAC Address	Not Available
I would suggest you to open up Device Manager and then expanding the Network Adapters Tab and then uninstalling these Drivers/Network Adapters. If you are not able to find any then please paste a screenshot of the expanded tab. You could also try removing the Network Adapter (Wireless & LAN Drivers only, not the Microsoft Ones) Drivers by right clicking on them and then selecting Uninstall. Once you uninstall, you would lose Internet Connectivity. Restart the system and let Windows automatically install the drivers for them.

Let me know how it goes ^_^.
 
fcba474716.png

Ok, will do as you suggested and uninstall, had it disabled but lets see! But I'm only seeing the one USB adapter. How will the system install the drivers if there's no connection (might be a stupid question but I don't want to be without internet)?.
 
While I wait for a response to the above I'll continue. Ran a LatencyMon thingamajig with my network card disabled:

4d0e7103db.png

Quite the difference, stayed completely in the yellow in the DPC monitor (yellow not green as the software has issues with Win8). Looks like tcpip and ndis are the offending drivers.

Edit: Is there a time limit to editing posts?
 
View attachment 9179

Ok, will do as you suggested and uninstall, had it disabled but lets see! But I'm only seeing the one USB adapter. How will the system install the drivers if there's no connection (might be a stupid question but I don't want to be without internet)?.

Hi Russ ^_^,

Windows will install the Generic Drivers which come with it and would work absolutely fine with it. Remember, you can do an offline installation of Windows and it would still connect to the Internet if you connect via WiFi or Ethernet? ;)
There are no stupid questions but only the people who don't ask ^_^

While I wait for a response to the above I'll continue. Ran a LatencyMon thingamajig with my network card disabled:



Quite the difference, stayed completely in the yellow in the DPC monitor (yellow not green as the software has issues with Win8). Looks like tcpip and ndis are the offending drivers.

Edit: Is there a time limit to editing posts?

I don't think there is any time limit to edit to posts. I am sure a senior could post it ^_^.

I am not experienced with the Latency Mon as I have never used it. See, "ndis.sys" & "tcpip.sys" are the drivers which are provided by the Windows, so chance of them being at fault is extremely less. Keep one point in mind - Windows is very stable, it is the 3rd party products which make it unstable (Not valid in case of Hardware problems :P ).

What USB Devices are plugged into the machine?

Furthermore, do you see the Avast NDIS Filtering Driver (aswndisflt.sys) ? If the problems are still not solved after removing those above Network Cards, I would suggest you to uninstall Avast and see what are the results.


Let me know how it goes ^_^
 
Uninstalled, restarted, and of course you were right and they installed just fine. Under msinfo32 the 150mbps adapter is still listed as installed, whereas the other 300mbps TP-Link is not. The 150mbps was an Edimax mini usb adapter I started out with as a tide over. No idea how to get rid of its remnants. It'll take a day or two before I'm able to gauge if there is still a problem.

USB devices are a logitech g700 mouse, wired. Logitech wireless keyboard, k360. Android phone/charger. And that's it. None of these have ever caused any problems and have not recently updated.

I'll try uninstalling Avast once the issue arises again, if it does. Is windows defender any good? Since that is what I'd be left with.
 
Uninstalled, restarted, and of course you were right and they installed just fine. Under msinfo32 the 150mbps adapter is still listed as installed, whereas the other 300mbps TP-Link is not. The 150mbps was an Edimax mini usb adapter I started out with as a tide over. No idea how to get rid of its remnants. It'll take a day or two before I'm able to gauge if there is still a problem.

USB devices are a logitech g700 mouse, wired. Logitech wireless keyboard, k360. Android phone/charger. And that's it. None of these have ever caused any problems and have not recently updated.

I'll try uninstalling Avast once the issue arises again, if it does. Is windows defender any good? Since that is what I'd be left with.

Navigate to the following in the Msinfo32 :- "Components (Left Pane) --> Network --> Adapter" . Find your Edimax USB adapter and there would be a line named driver where the path of the driver would be given. Rename the driver file so that it stops loading.

If the problem is still not solved, I would suggest you to remove Avast. Yups, Windows Defender combined with Windows Firewall provides sufficient protection. I am using the same combination at the moment on my laptop.

And by chance the problem comes back, remove every USB Device and then plug in one by one and then check for problems before plugging in other USB Device.

Let me know how it goes :thumbsup2:
 
I agree with USB devices, it's definately causing DPCs to take much longer, and with more of them building up the system can and will crawl.
Uninstall all of them apart from the mouse and keyboard, if the issue continues then remove the keyboard, and then the mouse.
You can use the onscreen keyboard or mouse keys which is difficult but it rules out them being the cause.

If they are gaming keyboard with extra buttons then that can cause problems as they require seperate drivers which might be causing the problem.
 
... Avast uninstalled issue stopped instantly.

nngh aarghhh ARRRGH I literally just paid for pro a few weeks ago.. It was working fine for some time. GAH

Well.. regardless. Thank-you ever so much for your help!

*screams into pillow*

Edit: I'll report back in a day or so, and keep monitoring the thread, just incase its not Avast and it returns once more.
 
... Avast uninstalled issue stopped instantly.

nngh aarghhh ARRRGH I literally just paid for pro a few weeks ago.. It was working fine for some time. GAH

Well.. regardless. Thank-you ever so much for your help!

*screams into pillow*

I told you :P

Anyways, you could contact Avast using this **LINK** and ask them for a refund as they advertise the 30 day money back guarantee. So, if it is not older than 30 days then you would receive your money back ^_^.

Please mark this thread as SOLVED.

Edit :- This appears to be a nice tool to analyze and detect the problems. Combine this with Resource Monitor and voila you can solve almost all sluggish issues. Furthermore, on my laptop with Windows Defender, the ndis.sys is having a highest execution time of 0.35 ms which is the top of the list.
 
Last edited:
I'm not really surprised, Avast can cause a lot of issues.
You wouldn't believe the amount of threads I've encountered where the solution was to uninstall Avast.
 

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

Back
Top