Azure-docs: Please add information about how to test latency (RTT) when Accelerated Networking is enabled

Created on 16 Aug 2018  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

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.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author doc-enhancement triaged virtual-networsvc

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

All 5 comments

@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:

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

BTW, autoconf is needed to run ./autogen.sh

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spottedmahn picture spottedmahn  Â·  3Comments

AronT-TLV picture AronT-TLV  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

monteledwards picture monteledwards  Â·  3Comments