[SOLVED] Ndis.sys latency. FIX: I uninstalled AVG (until it will be fixed)

Cattown7

Member
Joined
Dec 1, 2020
Posts
26
// Edit by moderator: start
I have seen this post (click) and I have the same question of Kiok.
// Edit by moderator: end

I have the same issue with ndis.sys having latency problems with ndis.sys, so I have tried doing the regedit with the parent value, PCI\VEN_1022&DEV_43C7&SUBSYS_33061B21&REV_01\5&a58dd84&0&08020B, There is no MSISupport, even the Interrupt Management folder is not there. I have changed the values for the audio drivers but can't for the Realtek PCIe GbE Family Controller since the folders don't exist, the only folder that exists is BiosConfig.
regedit.PNG
ndis.sys has driven me mad the past few weeks and I have done so much to fix it but nothing seems to work, I have tried windows reinstall, checking for drivers updates, and now im on a developer build of windows to no avail.
LatencyMon.PNG
Also in command prompt when I run reg query HKLM\SYSTEM\CurrentControlSet\Enum\PCI\ /s /f ndis.sys or reg query HKLM\SYSTEM\CurrentControlSet\Enum\PCI\ /s /f tcpip.sys there are 0 results so I'm not sure what to do at this point.
This thread looks so promising and any help is appreciated.
 

Attachments

  • LatencyMon.PNG
    LatencyMon.PNG
    53.3 KB · Views: 9
Last edited by a moderator:
It should exist.
If you try this command, you could find it:
Code:
reg query HKLM\SYSTEM\CurrentControlSet\Enum\PCI\ /s /f realtek
By the way, if we follow the same procedure, we shouldn't find that one, nor we should modify its value, but its parent's one.

Therefore, I found in Device manager, network adapters, Realtek PCIe GbE Family Controller, properties, details tab, Property: Parent, Value: PCI\VEN_1022&DEV_1426&SUBSYS_12341022&REV_00\3&11583659&0&1A (it will be different in your case).

By the way, I modified both with no side effects.
But I hadn't got that problem, hence I can't confirm if this procedure works.


pci.png
 
When I run the command reg query HKLM\SYSTEM\CurrentControlSet\Enum\PCI\ /s /f realtek I get

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_10EC&DEV_8168&SUBSYS_7C021462&REV_15\6&265bafbf&0&0008020B
DeviceDesc REG_SZ @rtcx21x64.inf,%rtl8168.devicedesc%;Realtek PCIe GbE Family Controller
Mfg REG_SZ @rtcx21x64.inf,%realtek%;Realtek
FriendlyName REG_SZ Realtek PCIe GbE Family Controller

End of search: 3 match(es) found.

Going to that in regedit I find that there is an Interrupt Management folder, but the MSISupported value within it is already at 1.

Finding the parent value via device manager is what I did before getting PCI\VEN_1022&DEV_43C7&SUBSYS_33061B21&REV_01\5&a58dd84&0&08020B
Parent.PNG

But for some reason this location in regedit only contains a BiosConfig folder
regedit.PNG
Is there any reason why this is happening, and is there anyway to fix it? If not could you think of any other ways to solve the ndis.sys latency problem?
 
You can either add them manually through regedit.

Or through windows command prompt (admin), with this command:
Code:
reg add "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_43C7&SUBSYS_33061B21&REV_01\5&a58dd84&0&08020B\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v MSISupported /t reg_dword /d 1 /f

Or through this registry configuration file:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_43C7&SUBSYS_33061B21&REV_01\5&a58dd84&0&08020B\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties]
"MSISupported"=dword:00000001
 
I think this change made it a little better but its hard to tell because it gets worse over time, but now I notice that each spike isn't always as bad as the last one. Before when it spike each spike would be worse than the last one, it doesn't look to do that anymore.
LatencyMonAfterMSISupported.PNG
Just wondering if you know anything I can do from this point because ndis still has problems.
 
Try to disable everything in the advanced properties of your realtek pcie gbe family controller (device manager, network adapters, realtek pcie gbe family controller, advanced tab).
 
Everything that had disabled as an option I disabled and it made no change to the problem.
LatencyMon.PNG
Anything else I can try?
 
  • ndis.sys latency
  • Self Built
  • Desktop
  • Windows 10 pro
  • x64
  • Always been windows 10
  • full retail version (I'm not sure what this one is really asking)
  • Hardware is ~2 years
  • OS is 9 days old
  • Have you reinstalled the OS? Yes
  • Ryzen 5 2600
  • HyperX FURY DDR4 RGB slots 1 and 3
  • MSI Nvidia GTX 1660 TI
  • MSI B450 TOMAHAWK
  • Corsair TX550M
  • Driver verifier is disabled
  • AVG Internet Security
  • Are you using proxy, vpn, ipfilters or similar software? No
  • Are you using Disk Image tools? No
  • Are you currently under/overclocking? No. Are there overclocking software installed on your system? Yes, never used
    http://speccy.piriform.com/results/gVURcrb4qnr27xVnl3h2jTB - CPU temp displayed by this is double what MSI Dragon Center reads, and I'm fairly sure that this computer would fail to run at those temperatures.
    System diagnostics folder: System Diagnostics.zip
 
The ethernet/lan driver shown by your logs differs by the one I expected to see.
It says RTCX21X64.SYS, 1.0.0.3, Nov/14/2020.
Your MB webpage says it should be 10.42.0526.2020.
I have got (for realtek pcie gbe family controller) rt640x64.sys, 10.45.928.2020, 28 Sep 2020.
You can try the driver available on your MoBo webpage, or the one available on realtek:Graphics driver:AMD B450 Chipset Drivers, 2.10.13.408, 19 oct 2020
 
I have tried 10.45.928.2020 in the past didn't work, the one that I was using seemed to work better and after testing it lags not nearly as bad as 10.45.928.2020. So, should I switch back to the one that worked better? And by worse I mean so much longer than it was before. This is both before and after updating amd chipset and nvidia drivers. And it happens WAY more often.
 
Let's try to change the MSISupported value of "standard SATA AHCI Controller(s)" (storahci.sys), from 1 to 0.
This could (or could not) decrease a bit the disk usage.

Standard SATA AHCI Controller (1): VEN_1022&DEV_7901&SUBSYS_7C021462&REV_51\4&BF404AD&0&0241
Standard SATA AHCI Controller (2): VEN_1022&DEV_43C8&SUBSYS_10621B21&REV_01\4&392D188C&0&010B

Instructions:
  • From an elevated command prompt (command prompt (admin)), launch this command (it's one command only, don't separate it):
    Code:
    reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_7C021462&REV_51\4&BF404AD&0&0241\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported && reg query "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_43C8&SUBSYS_10621B21&REV_01\4&392D188C&0&010B\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v msisupported
  • You should get this:
    Code:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_7C021462&REV_51\4&BF404AD&0&0241\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties
        msisupported    REG_DWORD    0x1
    
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_43C8&SUBSYS_10621B21&REV_01\4&392D188C&0&010B\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties
        msisupported    REG_DWORD    0x1
  • The following command changes the value from 1 to 0 (it's one command only, don't separate it):
    Code:
    reg add "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_7901&SUBSYS_7C021462&REV_51\4&BF404AD&0&0241\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v MSISupported /t reg_dword /d 0 /f && reg add "hklm\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1022&DEV_43C8&SUBSYS_10621B21&REV_01\4&392D188C&0&010B\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties" /v MSISupported /t reg_dword /d 0 /f
  • Reboot and see if things will change.
 
But are you checking latency with latencymon?
Or are you getting cracks/pops/stuttering/lags?

Because if it's the first one, just uninstall latencymon.
 
I upgraded my cpu to Ryzen 7 3700x, I was going to anyway, and there seems to still be latency causing audio and computer stuttering, I wonder if I could try an earlier PCIe driver to see how that changes things, but I am not sure how to do that.
 
I noticed you put your ram sticks in slot 1 and 3.
The manual recommends slots 2 and 4 (starting from the cpu).
Could you try it?

If this won't work, the next step to simplify the problem is to uninstall avg.
Make sure you have your license key to reinstall it when we'll hopefully fix this problem.
 

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

Back
Top