You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/virtual-network-test-latency.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,9 @@ ms.author: allensu
13
13
14
14
# Test network latency between Azure VMs
15
15
16
-
This article describes how to test network latency between Azure virtual machines (VMs) by using the publicly-available tools [Latte](https://github.com/microsoft/latte) for Windows or [SockPerf](https://github.com/mellanox/sockperf) for Linux.
16
+
This article describes how to test network latency between Azure virtual machines (VMs) by using the publiclyavailable tools [Latte](https://github.com/microsoft/latte) for Windows or [SockPerf](https://github.com/mellanox/sockperf) for Linux.
17
17
18
-
For the most accurate results, you should measure VM network latency with a tool that's designed for the task and excludes other types of latency, such as application latency. Latte and SockPerf provide the most relevant network latency results by focusing on Transmission Control Protocol [TCP] and User Datagram Protocol [UDP] traffic. Most applications use these protocols, and they have the greatest effect on application performance.
18
+
For the most accurate results, you should measure VM network latency with a tool that's designed for the task and excludes other types of latency, such as application latency. Latte and SockPerf provide the most relevant network latency results by focusing on Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) traffic. Most applications use these protocols, and they have the greatest effect on application performance.
19
19
20
20
Many other common network latency test tools, such as Ping, don't measure the type of network traffic that's used in real workloads. These tools use Internet Control Message Protocol (ICMP), which most applications don't use, and which can be treated differently from application traffic. These test results might not apply to workloads that use TCP and UDP.
21
21
@@ -25,12 +25,12 @@ Tools like Latte or SockPerf measure only TCP or UDP payload delivery times. The
25
25
26
26
Latte or SockPerf use the following approach to measure network latency between two physical or virtual computers:
27
27
28
-
1. Create a two-way communications channel between the computers by alternately designating one as sender and one as receiver.
28
+
1. Create a two-way communications channel between the computers by designating one as sender and one as receiver.
29
29
1. Send and receive packets in both directions and measure the round-trip time (RTT).
30
30
31
-
## Optimal VM configuration for latency
31
+
## VM configuration for optimum latency
32
32
33
-
To optimize network latency, observe the following recommendations when you create your VMs:
33
+
To optimize VMs for network latency, observe the following recommendations when you create your VMs:
34
34
35
35
- Use the latest version of Windows or Linux.
36
36
- Enable [Accelerated Networking](accelerated-networking-overview.md) for increased performance.
@@ -53,7 +53,6 @@ Use the following process to test network latency and analyze results:
53
53
54
54
1. Repeat tests whenever you observe or deploy changes.
55
55
56
-
-
57
56
## Test VMs with Latte or SockPerf
58
57
59
58
Use the following procedures to install and test network latency with [Latte](https://github.com/mellanox/sockperf) for Windows or [SockPerf](https://github.com/mellanox/sockperf) for Linux.
@@ -78,12 +77,12 @@ Use the following procedures to install and test network latency with [Latte](ht
78
77
latte -a <receiver IP address>:<port> -i <iterations>
79
78
```
80
79
81
-
- Around 65,000 iterations is long enough to return representative results.
80
+
- Around 65,000 iterations are enough to return representative results.
82
81
- Any available port number is fine.
83
82
84
83
For a VM with an IP address of `10.0.0.4`, the command might look like:<br><br>`latte -a 10.0.0.4:5005 -i 65100`
85
84
86
-
1. On the *sender* VM, start *latte.exe* from the command line. Run the same command as on the receiver, except with `-c` added to indicate that this is the *client*, or sender. Again replace the `<receiver IP address>`, `<port>`, and `<iterations>` placeholders with your own values.
85
+
1. On the *sender* VM, start *latte.exe* from the command line. Run the same command as on the receiver, except with `-c` added to indicate the *client* or sender VM. Again replace the `<receiver IP address>`, `<port>`, and `<iterations>` placeholders with your own values.
87
86
88
87
```cmd
89
88
latte -c -a <receiver IP address>:<port> -i <iterations>
0 commit comments