Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Saturday, February 3, 2018 9:01 PM
Hello, I would like to improve the UDP performance.
-
- At the Windows 7, the change of the registry value FastSendDatagramThreshold to 1500 improves the performance. But, This change doesn't work on Windows 10. Is there some similar registry name for Windows 10?
When I run the visual studio installer(vs_professional.exe), the UDP packet performance is improved. What does the visual studio installer do to improve the network performance?
Thanks in advance, Sei
All replies (5)
Monday, February 5, 2018 10:32 AM
Hi Sei,
According to my know, when we want to improve the UDP to the most efficient status, we need to change the UDP packet to 1024. Then we also need to modify the MTU of Network card registry to 1024.
For the route of MTU, please go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces
Please check if it works on your side after changed.
About the second issue, I never heard run visual studio installer would improve UDP performance. Is it available to reproduce the issue on other client or other Windows version?
Bests,
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, February 6, 2018 3:28 AM
Hello,
Thank you very much for your response. I wrote the simple socket program to send or receive the data. I learned the UDP performance is not the problem. Looks the problem is the thread handling of receive and transmit packets. According to the visual studio installer, I see performance improvement at the two Windows 10 PCs. This is interesting. Does it make the task/thread scheduling faster? is this possible?
Thanks!
Wednesday, February 7, 2018 10:43 AM
Hi sei,
Would you provide how did you found the performance is improved? Through a specify application or others?
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Thursday, February 8, 2018 2:02 AM
Hello,
I created the simple socket program to send the UDP packets in loop without any delay. I saw more than 900Mbps throughput (confirmed at task manager). The frame size is 1518 Bytes(socket call uses 1462 bytes). However, I ran this simple program today and got only about 500Mbps. I used the performance profiler in visual studio and learned that send() call used about 98% of running time. For some reason, send() call became slow. I don't know why. I need more investigation. I keep posting my finding. Please let me know when you have some idea. Thanks.
Monday, February 12, 2018 10:14 AM
Hi,
According to my know, UDP transmission does not have the reliability mechanism of retransmission confirmation, so the packages will be lost in the transmission process.
Slow transmission rate could be caused by many factors, such as bandwidth resources are occupied by the other program, memory resources in CPU is occupied causing slow message sending process rates, besides some uncontrolled factors at the receiving end will affect it.
So please perform a Clean Boot environment and make sure useless services and process is end, then check it again.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].