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: Network usage causes high DPC Latency


25 Oct 2010   #31

Windows 7 Professional 64bit
 
 

I tried an Intel Network card (instead of the onboard Realtek) and it did not help...

:/

My System SpecsSystem Spec
.

27 Oct 2010   #32

 
 

I have 2 PCs with Windows 7 x64 . One has an Intel MB DH55HC with i7 860 CPU and an onboard Intel NIC . I get the high DPC latency, and tracked it down to NDIS.sys. I added a Realteck NIC, and for a few days it worked fine. But now this too has the high DPC when downloading, though not to the extent of the INtel NIC.
The second PC has an MSI board with nVidia chipset and NIC and core 2 duo CPU - has no problems at all with DPCs.
I hope MS updates NDIS.sys to solve this problem.
My System SpecsSystem Spec
30 Oct 2010   #33

Windows 7 Professional 32-bit///Vista Home Premium 32-bit
 
 

I can confirm I am having issues with this right now.

I have been having issues with having to reboot to gain performance back.
Upon researching I found out about DPC latency and downloaded the app.

After seeing spikes upwards of 100,000 uS (YES actually that high), I knew this had to be the reason I was needing to reboot.

After messing around and disabling different drivers, I found it to be my Atheros AR8121/AR8113/AR8114 PCI-E Ethernet controller. As soon as I disable it, all latency peaks subside.

So, further experimenting, I found that I could reboot my laptop, and latency would be in the green zone. Within two minutes of starting uTorrent, blam, red spikes that progressively get bigger overtime.

So, I went to uTorrent forums and found this is a common issue, more so since more people are going to Win 7 OS.

I decided to download Vuze and install it. I then rebooted my PC, and started Vuze. About 5 minutes later, I started getting spikes.......
But much different. These spikes would come in equal intervals.....every 10 or so seconds and they never got higher than 5000 uS.
I even tried downloading the same three files with both bit torrent clients for a consistent test.

I could see there was clearly a difference between the two bit torrent clients.
If I have to choose, I'll take Vuze's symptoms over uTorrent's. The latency I see with Vuze doesn't seem to affect my PC stability, but it does with uTorrent, especially overnight.

I am an avid user of PS3 Media Server and I have noticed that this latency affects my streaming sometimes as well.

While using Vuze seems to be better than uTorrent, the trade-off is that Vuze uses much more CPU power than uTorrent. I hope this issue can be solved (whatever the root cause is), as I like to be able to download material at the same time I am serving other media over my network. As I sometimes need to transcode the material, the lower CPU usage from uTorrent is appealing vs Vuze's CPU usage, but I have HIGH DPC latency with uTorrent.

I have tried the latest Atheros drivers up to version 1.0.0.49 which seemed to help a little, but as soon as I get high network traffic, specifically internet traffic, then the problem creeps back.
LAN traffic (media serving) doesn't go nearly as crazy as downloading material over the internet.
My System SpecsSystem Spec
.


06 Nov 2010   #34

 
 

Still waiting for Intel support to solve this. In the mean time I found a way to restore normal DPC latency without rebooting: Go to Services and restart Base Filtering Engine. After this you need to restart Windows firewall from the Action Center in the systray .
My System SpecsSystem Spec
06 Nov 2010   #35

Windows 7
 
 

Eross! You are my hero! This is such an awesome workaround!

For anyone else: I created a batch file (restartservices.bat) to restart the service:

net stop "Base Filtering Engine"
net start "Base Filtering Engine"

(remember to right click the batch and click "run as administrator")
My System SpecsSystem Spec
06 Nov 2010   #36

 
 

Quote   Quote: Originally Posted by DarrylGittins View Post
Eross! You are my hero! This is such an awesome workaround!

For anyone else: I created a batch file (restartservices.bat) to restart the service:

net stop "Base Filtering Engine"
net start "Base Filtering Engine"

(remember to right click the batch and click "run as administrator")
Thanks for the batch file. To automatically answer Yes to the question in the batch file write it like this:
net stop "Base Filtering Engine" /Yes
net start "Base Filtering Engine"
My System SpecsSystem Spec
06 Nov 2010   #37

Windows 7 Ultimate 32bit
 
 

Quote   Quote: Originally Posted by DarrylGittins View Post
I have the same problem (and I'm not using any torrent or otherwise high network usage program). After a day or so, DPC latency creeps up and causes noise in my sound card. After system startup, latency is in the green levels, but after running a day or so, it's perpetually running in the red. If I then disable the network adapter (NIC), latency immediately drops to green levels. However, if I then enable the network adapter, it immediately spikes perpetually into the red. I have to reboot to reset the condition so that it's running in the green (so that I can listen to music without horrible crackles and stutters).

I also tried swapping the network adapter but I have exactly the same issue with both network adapters.

It took me many hours of troubleshooting just to get to the point where I can see the issue using the DPC Latency Checker (after swapping several sound cards, video cards and such). This is driving me nuts!

Thanks bundles for any suggestions!!

AHHHGHGHGHHGHHHGHGHG!!!!

I F---ing solved it !!!!

I made an account here just for posting this! I looked at this problem for 4 months and tried EVERYTHING!

All my symptoms are the same.. network traffic causes spikes. audio was jumping and popping. forget about HD video. every time I connected or disconnected to a network the spikes peaked at 33ms and stayed there for 5 minutes! you couldn't touch the computer. once every few hours when network traffic was very high (downloading at max speed) it froze completely and a reset was required. I tried every combination of driver and bios versions out there.
first of all there's this program
Resplendence Software - LatencyMon: DPC, ISR and pagefault execution monitor
it can tell you what driver exactly is causing the spikes
just run it - press play and go to drivers. there click on the highest execution to sort by it.
I saw that the major culprit was dxgkrnl.sys and ACPI.sys and nvlddmkm.sys and even USBPORT.sys. All of these had execution times higher than 1.0 ms. It was exactly the same as the latencies in the DPC latency checker.

apparently all (except the USBPORT.sys) are related to nvidia drivers. Specifically they are related to a feature that's called Powermizer. I found a tool to disable it easily:
Powermizer Switch.rar - File Shared from Box.net - Free Online File Storage
just run it click powermizer off and reboot!!! It solved everything for me! even the USBPORT.sys is under 0.4 constant now! (before they were all over 19.0ms and 18,000+ in dpc checker) check out my DPC! WOOOHOO! thank you everyone!!


Attached Thumbnails
Network usage causes high DPC Latency-2010-11-06_195123.gif  
My System SpecsSystem Spec
06 Nov 2010   #38

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by SpellStorm View Post
Resplendence Software - LatencyMon: DPC, ISR and pagefault execution monitor
it can tell you what driver exactly is causing the spikes
just run it - press play and go to drivers. there click on the highest execution to sort by it.
I saw that the major culprit was dxgkrnl.sys and ACPI.sys and nvlddmkm.sys and even USBPORT.sys. All of these had execution times higher than 1.0 ms. It was exactly the same as the latencies in the DPC latency checker.

apparently all (except the USBPORT.sys) are related to nvidia drivers. Specifically they are related to a feature that's called Powermizer. I found a tool to disable it easily:
Powermizer Switch.rar - File Shared from Box.net - Free Online File Storage
just run it click powermizer off and reboot!!! It solved everything for me! even the USBPORT.sys is under 0.4 constant now! (before they were all over 19.0ms and 18,000+ in dpc checker) check out my DPC! WOOOHOO! thank you everyone!!
You sound very enthusiastic.
I downloaded the LatencyMon and had different results. It says that these drivers
tcpip.sys (TCP/IP Driver by Microsoft),
nvlddmkm.sys (NVIDIA Windows Kernal Mode Driver),
ntoskrnl.exe (Windows)
netbt.sys (MBT Transport Driver)m
dxgkrnl (DirectX, Microsoft)
ndis.sys (NDIS driver, Microsoft)
have the highest execution time, where the maximum is 0.76 ms.
So, while NVIDIA has only one driver in the top, Microsoft is the main knave.
Also, I observed that the problem is related to network (mainly ndis), and has not to do anything with graphics.

That's why I decided to not download an exe from a fileshare server and execute something from an author I never heard of before without knowing what (else) this software does.
My System SpecsSystem Spec
06 Nov 2010   #39

 
 

Quote   Quote: Originally Posted by SpellStorm View Post
AHHHGHGHGHHGHHHGHGHG!!!!

I F---ing solved it !!!!

I made an account here just for posting this! I looked at this problem for 4 months and tried EVERYTHING!

All my symptoms are the same.. network traffic causes spikes. audio was jumping and popping. forget about HD video. every time I connected or disconnected to a network the spikes peaked at 33ms and stayed there for 5 minutes! you couldn't touch the computer. once every few hours when network traffic was very high (downloading at max speed) it froze completely and a reset was required. I tried every combination of driver and bios versions out there.
first of all there's this program
Resplendence Software - LatencyMon: DPC, ISR and pagefault execution monitor
it can tell you what driver exactly is causing the spikes
just run it - press play and go to drivers. there click on the highest execution to sort by it.
I saw that the major culprit was dxgkrnl.sys and ACPI.sys and nvlddmkm.sys and even USBPORT.sys. All of these had execution times higher than 1.0 ms. It was exactly the same as the latencies in the DPC latency checker.

apparently all (except the USBPORT.sys) are related to nvidia drivers. Specifically they are related to a feature that's called Powermizer. I found a tool to disable it easily:
Powermizer Switch.rar - File Shared from Box.net - Free Online File Storage
just run it click powermizer off and reboot!!! It solved everything for me! even the USBPORT.sys is under 0.4 constant now! (before they were all over 19.0ms and 18,000+ in dpc checker) check out my DPC! WOOOHOO! thank you everyone!!
Are you using a laptop PC? Because Powermizer is a feature only for battery operated PCs:
NVIDIA PowerMizer Technology
My System SpecsSystem Spec
06 Nov 2010   #40

Windows 7 Ultimate 32bit
 
 

Quote   Quote: Originally Posted by titule View Post

You sound very enthusiastic.
I downloaded the LatencyMon and had different results. It says that these drivers
tcpip.sys (TCP/IP Driver by Microsoft),
nvlddmkm.sys (NVIDIA Windows Kernal Mode Driver),
ntoskrnl.exe (Windows)
netbt.sys (MBT Transport Driver)m
dxgkrnl (DirectX, Microsoft)
ndis.sys (NDIS driver, Microsoft)
have the highest execution time, where the maximum is 0.76 ms.
So, while NVIDIA has only one driver in the top, Microsoft is the main knave.
Also, I observed that the problem is related to network (mainly ndis), and has not to do anything with graphics.

That's why I decided to not download an exe from a fileshare server and execute something from an author I never heard of before without knowing what (else) this software does.
Ofcourse I was enthusiastic!! I told you I had this problem for about 4 months and I tried everything to solve it. I totally understand you not wanting to download this thing (now I'm a little worried because I myself don't have a clue who made this). So I looked up and here is the same solution without any program to download just tweak some reg keys:


\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\{**a series of numbers that are different**}\0000\PerfLevelSrc




Step 3- What we need to do once you found PerfLevelSrc is edit it by double clickin and changing the value data from 3333 to 3322. Click ok.





Step 4- Find "PowerMizerEnable" which is probably 5 ways down from "PerfLevelSrc". When you find it double click on PowerMizerEnable and change the value data from 1 to 0.



This will disable Powermizer

Step 5 - Find PowermizerLevel and change the value to 1

Step 6- Find PowermizerLevelAC and change value to 1



this one i didnt try because the program worked for me but I guess its exactly the same. hope this works for you. But in any case, if nothing is going over 0.8ms or so in your case, this is a very good latency and its weird that you are still getting spikes in DPC latency checker. Do you?



Quote   Quote: Originally Posted by eross View Post
Are you using a laptop PC? Because Powermizer is a feature only for battery operated PCs:
NVIDIA PowerMizer Technology
yea, I have MSI GX630 laptop with AMD athlon X2 QL-62, nvidia gforce 9600GT, 7.1 onboard realtek audio.
Maybe my problem was not the same as yours but I think that trying to disable the powermizer option can do no harm even if you have a desktop.

I should add a few details though on what it was like before the fix:
I never experienced any problem with win XP on the same machine (I have both windows installed on separate drives)
Also, when I disabled the network , WLAN and bluetooth devices everything calmed down to the green - but it took some serious red zone spikes before it did and after restarting the devices you couldn't do anything for a few minutes (spikes were constantly in the 30-60 thousands...) to the point where sometimes the computer froze entirely and a reset was required. I also should note that when I installed a fresh Windows 7 (one of the first things I tried) before I installed ANYTHING else, the latency wasn't that bad - mostly yellow and only sometimes red, but after the sound drivers and especially the network and WLAN drivers were installed everything got crazy just like before.


Hope this helps I created an account & posted here just for this solution!
My System SpecsSystem Spec
Reply

 Network usage causes high DPC Latency




Thread Tools



Similar help and support threads for2: Network usage causes high DPC Latency
Thread Forum
High DPC/IR cpu from Network Usage Network & Sharing
High Latency - How to Fix? Music, Pictures & Video
High DPC latency when using Network/internet Network & Sharing
High CPU usage, low fps, high latency. Performance & Maintenance
Network Traffic Causing High CPU Usage General Discussion
High latency DC in WoW Network & Sharing
High CPU usage while copying file over network Performance & Maintenance

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 01:25 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33