Windows 10: Intermittent UDP drops in Windows 10 OS

Discus and support Intermittent UDP drops in Windows 10 OS in Windows 10 Network and Sharing to solve the problem; Hi, I have a receiver-side NDIS ETL capture. It shows packets in order and all present. I also have an application receiving data off of the socket.... Discussion in 'Windows 10 Network and Sharing' started by njjal, Mar 16, 2018.

  1. njjal Win User

    Intermittent UDP drops in Windows 10 OS


    Hi,
    I have a receiver-side NDIS ETL capture. It shows packets in order and all present. I also have an application receiving data off of the socket. The application misses some data, and the data is occasionally in the wrong order.
    The application is receiving multicast UDP via a LAN. The loss is apx. 0.01% of data received. While UDP delivery and ordering aren't guaranteed by the protocol and the throughput isn't terrible, I want to understand why the OS would drop the data.
    It doesn't need to be lossless, but I want to first identify where the packets are being lost (e.g. in some finite kernel buffer), then find the threshold (e.g. after 64MB of queued data).
    Any tips or ideas on steps to take would be greatly appreciated.

    :)
     
    njjal, Mar 16, 2018
    #1
  2. njjal Win User

    Netsh event tracing packet capture shows packets; application not getting them

    I have many similar Windows 10 machines running a similar set of applications. A number of applications are multicast UDP listeners. They each have massive socket buffers (they could hold 10 sec+
    of data). Occasionally, many of the applications on a given machine will report loss around the same time.

    When I run an ETL packet capture, the packets that are missing in the application are present in the capture that is running on that same receiving machine. The packets in the capture have the correct checksums
    and the correct MAC addresses. Other applications on *other* machines may receive those exact packets, but may drop other packets.

    The source sent a retransmission which was received by the application. Comparing the hex dumps in Wireshark, the only differences included the IP identification, the IP checksum, UDP checksum, and the retransmission
    bit set in the app-level portion of the message. The latter three are certainly correct, though I can't speak for the IP.Identification (other than it increasing from its previous value and knowing that other consumers handled it properly).

    The machine's Windows performance monitor capture shows nothing classically unusual (it shows low CPU usage, low memory usage, no NIC discards/errors, no Winsock BSP drops).

    The firewall is disabled. There is no internet connection--just LAN intranet. There are some other apps running on the machine including TCP and unicast UDP listeners.

    The packet loss is intermittent, and a very small fraction of packets get lost but can amount to a million over the day. UDP is naturally unreliable. But the question is where and why do these packets get
    dropped.

    Assuming the ETL capture is at the NIC driver, this leave the NIC driver, the OS, the socket, and the application. I strongly believe the loss is before the socket.

    How can I identify where the packets are being lost? How can I find the location of the drop and learn what the limit that I'm exceeding is? How can I narrow the scope of possible issues? Is there a shared
    OS buffer for all sockets that does not have a loss counter?

    Thanks. Any tips would be appreciated.
     
    njjal, Mar 16, 2018
    #2
  3. Windows 10 Enterprise Ethernet Connection Drops?

    I just installed and plugged in a new Windows 10 Enterprise HP box into our network and it is intermittently dropping and reconnecting the Ethernet connection. It is not reliable.

    Suggestions?
     
    hector santos, Mar 16, 2018
    #3
  4. Samuria Win User

    Intermittent UDP drops in Windows 10 OS

    Welcome to the forum. Its not very clear what your asking dropped packets are often due to having full duplex set as most domestic router cant handle it. udp doesnt make a connection so there is no real trace
     
    Samuria, Mar 16, 2018
    #4
  5. njjal Win User
    Thanks for the welcoming.

    So the interesting thing is that the receivers NDIS later processes the packets.

    The packets go through the sender, the network including cabling, hit the receivers nic, NDIS, go to the receivers OS, the socket, and finally the appplication.

    I’m specifically seeing data at the NDIS layer and not the socket/application. Why would the OS drop the data?

    Thanks
     
    njjal, Apr 5, 2018
    #5
Thema:

Intermittent UDP drops in Windows 10 OS

Loading...
  1. Intermittent UDP drops in Windows 10 OS - Similar Threads - Intermittent UDP drops

  2. Intermittent failure to open UDP socket

    in Windows 10 Software and Apps
    Intermittent failure to open UDP socket: Summary of Problem:We have a Win 10 application hereafter, “the application/app” that communicates with an external embedded Linux system hereafter “the device” via Wi-Fi. The Wi-Fi connection to the device is provided by an external AP – the PC is connected to that AP via a...
  3. Intermittent failure to open UDP socket

    in Windows 10 Gaming
    Intermittent failure to open UDP socket: Summary of Problem:We have a Win 10 application hereafter, “the application/app” that communicates with an external embedded Linux system hereafter “the device” via Wi-Fi. The Wi-Fi connection to the device is provided by an external AP – the PC is connected to that AP via a...
  4. Intermittent failure to open UDP socket

    in Windows 10 Network and Sharing
    Intermittent failure to open UDP socket: Summary of Problem:We have a Win 10 application hereafter, “the application/app” that communicates with an external embedded Linux system hereafter “the device” via Wi-Fi. The Wi-Fi connection to the device is provided by an external AP – the PC is connected to that AP via a...
  5. Wifi drops intermittently

    in Windows 10 Software and Apps
    Wifi drops intermittently: Hi, before I had no problems with the Wi-Fi signal anywhere in my house. But since I got the SSD, even being within 2 feet of the router, my signal will randomly lose strength or cut off completely. It mostly happens while watching Netflix. No other device on the network has...
  6. Wifi drops intermittently

    in Windows 10 Network and Sharing
    Wifi drops intermittently: Hi, before I had no problems with the Wi-Fi signal anywhere in my house. But since I got the SSD, even being within 2 feet of the router, my signal will randomly lose strength or cut off completely. It mostly happens while watching Netflix. No other device on the network has...
  7. Wifi drops intermittently

    in Windows 10 Network and Sharing
    Wifi drops intermittently: Hi, I have an Acer laptop that originally had Windows 10, and after the hard drive died last week, I had a new SSD installed with Windows 10 loaded again. Before I had no problems with the Wi-Fi signal anywhere in my house. But since I got the SSD, even being 3 feet from the...
  8. Intermittent network drops

    in Windows 10 Network and Sharing
    Intermittent network drops: I have a nine month old Windows 10 notebook from HP. It has a network problem. I am still under warranty. Periodically and intermittently, it slows to a crawl. This happens especially immediately after I switch from Ethernet to WiFi, but also happens with Ethernet. Pages...
  9. Windows 10 dropping intermittently Ethernet connection

    in Windows 10 Installation and Upgrade
    Windows 10 dropping intermittently Ethernet connection: I have two network point at the office that when we have upgrade the pc's from win7 to win10. It wont be able to reach the Domain. It either won't have internet connection or it will be dropping intermittently. Troubleshooting: 1 New patching and cabling 2 Drivers...
  10. Windows 10 intermittently dropping wireless 5ghz

    in Windows 10 Network and Sharing
    Windows 10 intermittently dropping wireless 5ghz: Hello, I have a Netgear N600 dual band wireless router at home. On my PC I'm using a Belkin N600 dual band USB adapter for wireless internet. As you know, my router broadcasts both a 2.4g and 5g connection; I'll refer to them as NETGEAR and NETGEAR-5G. I recently had to...