Using ping.exe to test latency is not valid in the case of Azure Accelerated Networking as it offloads TCP/UDP traffic to the FPGA chip, but not ICMP traffic. Instead, a tool such as qperf (that uses TCP for latency tests) should be used. qperf reports ~0.035 ms latency between Azure VMs with accelerated networking enabled, rather than 1-2ms when using ping.exe.
It would be good to include a section about network latency to avoid customers claiming latency isn't improved when this feature is enabled. Unfortunately, there's no tool (that I could find) to measure latency on a Windows machine, so this can only be tested on Linux machines currently. PSPing is able to perform TCP latency tests on Windows.
Disclaimer - I'm a Microsoft Azure FastTrack Engineer whose customer recently faced exactly this issue.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@cbellee Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
@TravisCragg-MSFT @steveesp
Hey, how it the issue going? I faced exactly this issue.
I use NTTTCP to test Bandwidth/Throughput. But I don't find any docs of testing latency on Linux VM with accelerated networking enabled. Please help!
Additionally, https://medium.com/@easonlai888/deep-dive-into-azure-virtual-machine-accelerated-networking-performance-79f379eb02bd shows that latency is not improved much. (CC: @cbellee) An official guidance will help to figure out whether the latency is improved or not.
I found PaPing, which is a Linux tool similar to PsPing.
CC: @cbellee
I'm working on this. Thanks for your patience.
Here's a sample of what I have for Linux so far:
git clone https://github.com/mellanox/sockperf
cd sockperf/
./autogen.sh
./configure --prefix=
make
sudo make install
sudo sockperf sr --tcp -i 10.0.0.4 -p 12345
sockperf ping-pong -i 10.0.0.4 --tcp -m 1400 -t 11 -p 12345
BTW, autoconf is needed to run ./autogen.sh
Most helpful comment
I'm working on this. Thanks for your patience.
Here's a sample of what I have for Linux so far:
From bash command line (assumes git is installed)
git clone https://github.com/mellanox/sockperf
cd sockperf/
./autogen.sh
./configure --prefix=
make is slower, may take several minutes
make
make install is fast
sudo make install
Sample commands after install:
Server - assumes server's IP is 10.0.0.4:
sudo sockperf sr --tcp -i 10.0.0.4 -p 12345
Client - assumes server's IP is 10.0.0.4:
sockperf ping-pong -i 10.0.0.4 --tcp -m 1400 -t 11 -p 12345