• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

NDIS.sys causing serious latency problems

Joined
Feb 18, 2010
Messages
1,721 (0.60/day)
Likes
415
System Name Eldritch
Processor AMD Ryzen 5 1500X
Motherboard MSI B350 PC Mate
Cooling Satan's butthole after going to Taco Bell
Memory 16 GB G.Skill FlareX
Video Card(s) nVidia (Gigabyte) GT 740 2GB
Storage 80 GB IBM, 2 TB WD Green, 512 GB Samsung 960 Pro
Display(s) Dell 2007WFP
Software Debian Buster
#1
I know it's a networking thing, and everytime I open μtorrent it shoots latency up to well over 100,000 μs (sometimes 300k). I've looked around and supposedly restarting the Base Filtering Service is supposed to fix it (it does, but only after a couple of hundred tries).

Anybody know how to fix this shit?
 

AsRock

TPU addict
Joined
Jun 23, 2007
Messages
15,372 (3.98/day)
Likes
4,783
Location
US
Processor 2500k \ 3770k
Motherboard ASRock Z68 \ Z77
Memory Samsung low profile 1600
Video Card(s) XFX 6770 \ XFX R9 390X
Storage Intel 80Gb (SATA2) WD 250Gb \ Team SSD+Samsung Evo 250Gb+500Gb+ 2xCorsair Force+WD250GbHDD
Display(s) Samsung 1080P \ Toshiba HDTV 1080P
Case HTPC400 \ Thermaltake Armor case ( original ), With Zalman fan controller ( wattage usage ).
Audio Device(s) Yamaha RX-V475 \ Marantz SR5008 Tannoy Mercury MKII Paradigm 5SE + Tannoy Mercury F4
Power Supply PC&Power 750w \ Seasonic 750w MKII
Mouse MS intelimouse \ Logitech G700s + Steelseries Sensei wireless
Keyboard Logitech K120 \ ROCCAT MK Pro ( modded amber leds )
Benchmark Scores Meh benchmarks.
#2
Joined
Feb 18, 2010
Messages
1,721 (0.60/day)
Likes
415
System Name Eldritch
Processor AMD Ryzen 5 1500X
Motherboard MSI B350 PC Mate
Cooling Satan's butthole after going to Taco Bell
Memory 16 GB G.Skill FlareX
Video Card(s) nVidia (Gigabyte) GT 740 2GB
Storage 80 GB IBM, 2 TB WD Green, 512 GB Samsung 960 Pro
Display(s) Dell 2007WFP
Software Debian Buster
#4
You using nvidia's firewall or another like Mcaffe \ Norton ?. If so get rid of them even if it's not the problem anyways.

Although you might find your solution here
http://www.sevenforums.com/network-sharing/52935-network-usage-causes-high-dpc-latency-4.html
nVidia has a firewall? The only firewall I have is Windows firewall.

What NIC? Update driver.

You might want to limit connections for µTorrent.
I have a WMP600N Wireless-N PCI with dual-band or some crap. The connections on μTorrent are limited to 64. Would 32 help much?
 

AsRock

TPU addict
Joined
Jun 23, 2007
Messages
15,372 (3.98/day)
Likes
4,783
Location
US
Processor 2500k \ 3770k
Motherboard ASRock Z68 \ Z77
Memory Samsung low profile 1600
Video Card(s) XFX 6770 \ XFX R9 390X
Storage Intel 80Gb (SATA2) WD 250Gb \ Team SSD+Samsung Evo 250Gb+500Gb+ 2xCorsair Force+WD250GbHDD
Display(s) Samsung 1080P \ Toshiba HDTV 1080P
Case HTPC400 \ Thermaltake Armor case ( original ), With Zalman fan controller ( wattage usage ).
Audio Device(s) Yamaha RX-V475 \ Marantz SR5008 Tannoy Mercury MKII Paradigm 5SE + Tannoy Mercury F4
Power Supply PC&Power 750w \ Seasonic 750w MKII
Mouse MS intelimouse \ Logitech G700s + Steelseries Sensei wireless
Keyboard Logitech K120 \ ROCCAT MK Pro ( modded amber leds )
Benchmark Scores Meh benchmarks.
#5
nVidia has a firewall? The only firewall I have is Windows firewall.
Yes, it was around with the nforce 4 mobo's and when i tried it was just a pain in the butt.

That link not help you ?
 
Joined
Oct 12, 2008
Messages
5,659 (1.67/day)
Likes
2,608
Location
στο άλφα έως ωμέγα
System Name Ha/AhHa/Dell
Processor QX9650 SLAWN C1/i7-980x/i7-6700K
Motherboard GA-X48_DS4 (F3B bios)/Gigabyte x58A-UDR3 v 2.0(modded FH bios)/Dell Foxconn 0XJ8C4 Z170
Cooling CNPS9900 LED/H60/ 3 pipe-center fan-air
Memory 8 Gig of G.Skill F2-8800CL5D/24 Gb Corsair Vengence/ 24Gb Samsung DDR4 2133
Video Card(s) Galaxy NVIDIA GeForce GTX 960/PowerColor R9 280/ASUS R9 380X Strix G1
Storage All have SSDs with HDDs for extra storage and backup/Dell-M.2 Samsung 850 EVO PCIe
Display(s) Asus 266H/Viewsonic 1080p/HP ZR24W
Case CM-690/CM-690 II adv/Dell 8900 series
Audio Device(s) All use on board (Realtek) w/2.1 speakers
Power Supply PC P&C 750/PC P&C Silencer 950/CM 700 Extreme
Mouse Logitech
Keyboard Logitech
Software Windows 10 Pro - 64 bit/Windows 10 Pro - 64bit/Windows 10 Pro - 64bit
#6
Try LatencyMon to narrow down the problem.
Read this How to Use.

Quote from the How to Use page(it speaks of audio, however, it would apply to anything causing high latency):
High DPC or ISR routine execution times: how to proceed

If LatencyMon reports the DPC and ISR execution times to be too high, you should take a look at the responsible drivers. It may be that these drivers belong to a device that is non-critical for the operation of your computer. If for example tcpip.sys or ndis.sys is reported as the culprit, chances are the problems are caused by your wireless network adapter, if you have one. You could consider disabling the WiFi adapter and receive internet via an Ethernet cable. You can disable devices by right-clicking on My Computer and selecting Device Manager, right-clicking a device and selecting disable. You should run LatencyMon again to check if the situation has improved, there might still be another device or driver causing audio latencies.

Note that if high latencies have been reported to be caused by drivers which are critical for the operation of your computer such as motherboard drivers, there may be nothing you can do to get your computer suitable for processing real time audio.

I use this^ and DPC to assist in troubleshooting latency problems. Plus, a little T&E.;)

Also try this; in the windows advance power management; set the wireless adapter setting to Maximum Performance and set the PCI Express Link State Power Management to off.

In Device Manager or your wireless devices configuration utility... turn off any Power management.

Make sure your audio, video, network device, and systems drivers are up to date.
:)
 
Last edited:
Joined
Feb 18, 2010
Messages
1,721 (0.60/day)
Likes
415
System Name Eldritch
Processor AMD Ryzen 5 1500X
Motherboard MSI B350 PC Mate
Cooling Satan's butthole after going to Taco Bell
Memory 16 GB G.Skill FlareX
Video Card(s) nVidia (Gigabyte) GT 740 2GB
Storage 80 GB IBM, 2 TB WD Green, 512 GB Samsung 960 Pro
Display(s) Dell 2007WFP
Software Debian Buster
#7
Yes, it was around with the nforce 4 mobo's and when i tried it was just a pain in the butt.

That link not help you ?
Nah, some crap about nVidia powermizer and I'm on a PC so I have no such crap.

@viper:
I already have latency checkers and whatnot (that's how I know it's NDIS), and I already updated my drivers and power stuff.
 
Joined
Oct 12, 2008
Messages
5,659 (1.67/day)
Likes
2,608
Location
στο άλφα έως ωμέγα
System Name Ha/AhHa/Dell
Processor QX9650 SLAWN C1/i7-980x/i7-6700K
Motherboard GA-X48_DS4 (F3B bios)/Gigabyte x58A-UDR3 v 2.0(modded FH bios)/Dell Foxconn 0XJ8C4 Z170
Cooling CNPS9900 LED/H60/ 3 pipe-center fan-air
Memory 8 Gig of G.Skill F2-8800CL5D/24 Gb Corsair Vengence/ 24Gb Samsung DDR4 2133
Video Card(s) Galaxy NVIDIA GeForce GTX 960/PowerColor R9 280/ASUS R9 380X Strix G1
Storage All have SSDs with HDDs for extra storage and backup/Dell-M.2 Samsung 850 EVO PCIe
Display(s) Asus 266H/Viewsonic 1080p/HP ZR24W
Case CM-690/CM-690 II adv/Dell 8900 series
Audio Device(s) All use on board (Realtek) w/2.1 speakers
Power Supply PC P&C 750/PC P&C Silencer 950/CM 700 Extreme
Mouse Logitech
Keyboard Logitech
Software Windows 10 Pro - 64 bit/Windows 10 Pro - 64bit/Windows 10 Pro - 64bit
#8
@viper:
I already have latency checkers and whatnot (that's how I know it's NDIS), and I already updated my drivers and power stuff.

Oh, ok, I did not know.

However, don't put the blame on NDIS.sys, as, it could be the innocent bystander waiting for the light to turn green to cross the road, so to say.

It probably is waiting for another driver to release the needed resources.

Quote from the LatencyMon site:
If for example tcpip.sys or ndis.sys is reported as the culprit, chances are the problems are caused by your wireless network adapter, if you have one.
Plus, a little T&E.
And, you will have to try a little Trial and Error troubleshooting.

One thing to do is connect directly (hard wire) and not through the wireless(disable it), if that is what you are using... then test... same for the sound card, usb devices, etc.

Also, if you have the option in your bios, you may want to check/set/adjust the pci latency timers to 64 or 128 or whatever; then test... not all bioses have this option and I don't know if the PCI Latency tool works with Windows 7.
After elimination of all possibilities, it still has the latency problem; then, you may have to wait for a fix from the device or system bios updates.

Goodluck :)
 
Last edited:

raboof1

New Member
Joined
Mar 27, 2013
Messages
1 (0.00/day)
Likes
0
#9
Hi all,

I joined this group specifically to post a solution that worked for me.

First off, brief specs:
SAGER NP5973 laptop
Win7 32-bit with 4GB RAM (patched PAE kernel for 4GB memory access)
NVIDIA Quadro FX1600M
Intel 4965 AGN wireless adapter

I recently experienced a change in CPU behavior --> running at about 10-15% when IDLE. It turned out to be a high latency issue as detected by LatencyMon, which pointed to NDIS.SYS as the problem.

Long story short - I updated ALL hardware drivers, tried all Googled tricks and got NO result. The only thing that had any effect was to disable the AGN adapter --> then the CPU would drop back to "normal (0 to 1% at IDLE).

Solution: I remembered that I recently updated the NVIDIA drivers for my system. I was running Quadro drivers v195.62 and had upgraded to v311.35. I uninstalled the new driver and ran the Standard VGA adapter -> CPU went to normal (0 to 1% at IDLE). I re-installed the new NVIDIA driver (driver ONLY) and CPU went up to 15% at IDLE! I then re-installed the OLDER v195.62 NVIDIA driver and all went back to normal (0 to 1% at IDLE) ! I don't know why but in *my* case, although things pointed at the AGN drivers as being the problem, it was the combination with the new NVIDIA drivers that was truly at fault.

Some additional notes:
- I am running the latest Intel drivers (Wireless.v15.3.1)
- my system has a built-in Realtek audio device. I found the best version of the HDAC drivers is R2.42 --> the latest version (R2.70) would cause a hang on install.

Hope this helps someone cause it wasted my whole day :banghead:

Cheers!
:toast:
 

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
19,746 (5.12/day)
Likes
5,160
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
#10
Gripe at Intel for the stupid Wireless issue causing an unnecessary load on the machine

Hi all,

I joined this group specifically to post a solution that worked for me.

First off, brief specs:
SAGER NP5973 laptop
Win7 32-bit with 4GB RAM (patched PAE kernel for 4GB memory access)
NVIDIA Quadro FX1600M
Intel 4965 AGN wireless adapter

I recently experienced a change in CPU behavior --> running at about 10-15% when IDLE. It turned out to be a high latency issue as detected by LatencyMon, which pointed to NDIS.SYS as the problem.

Long story short - I updated ALL hardware drivers, tried all Googled tricks and got NO result. The only thing that had any effect was to disable the AGN adapter --> then the CPU would drop back to "normal (0 to 1% at IDLE).

Solution: I remembered that I recently updated the NVIDIA drivers for my system. I was running Quadro drivers v195.62 and had upgraded to v311.35. I uninstalled the new driver and ran the Standard VGA adapter -> CPU went to normal (0 to 1% at IDLE). I re-installed the new NVIDIA driver (driver ONLY) and CPU went up to 15% at IDLE! I then re-installed the OLDER v195.62 NVIDIA driver and all went back to normal (0 to 1% at IDLE) ! I don't know why but in *my* case, although things pointed at the AGN drivers as being the problem, it was the combination with the new NVIDIA drivers that was truly at fault.

Some additional notes:
- I am running the latest Intel drivers (Wireless.v15.3.1)
- my system has a built-in Realtek audio device. I found the best version of the HDAC drivers is R2.42 --> the latest version (R2.70) would cause a hang on install.

Hope this helps someone cause it wasted my whole day :banghead:

Cheers!
:toast: