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/accelerated-networking-overview.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,29 +21,33 @@ The following diagram illustrates how two VMs communicate with and without Accel
21
21
22
22

23
23
24
-
Without Accelerated Networking, all networking traffic in and out of the VM traverses the host and the virtual switch. The virtual switch provides all policy enforcement to network traffic, such as network security groups, access control lists, isolation, and other network virtualized services. To learn more about virtual switches, see [Hyper-V Virtual Switch](/windows-server/virtualization/hyper-v-virtual-switch/hyper-v-virtual-switch).
24
+
Without Accelerated Networking, all networking traffic in and out of the VM traverses the host and the virtual switch. The virtual switch provides all policy enforcement to network traffic. Policies include network security groups, access control lists, isolation, and other network virtualized services. To learn more about virtual switches, see [Hyper-V Virtual Switch](/windows-server/virtualization/hyper-v-virtual-switch/hyper-v-virtual-switch).
25
25
26
-
With Accelerated Networking, network traffic that arrives at the VM's network interface (NIC) forwards directly to the VM. All network policies that the virtual switch applied are offloaded and applied in hardware. Because policy is applied in hardware, the NIC can forward network traffic directly to the VM. The NIC bypasses the host and the virtual switch, while it maintains all the policy it applied in the host.
26
+
With Accelerated Networking, network traffic that arrives at the VM's network interface (NIC) forwards directly to the VM. Accelerated Networking offloads all network policies that the virtual switch applied, and applies them in hardware. Because hardware applies policy, the NIC can forward network traffic directly to the VM. The NIC bypasses the host and the virtual switch, while it maintains all the policy it applied in the host.
27
27
28
28
## Benefits
29
29
30
-
-**Lower latency and higher packets per second (pps)**. Removing the virtual switch from the data path eliminates the time packets spend in the host for policy processing, and increases the number of packets that the VM can process.
30
+
Accelerated Networking has the following benefits:
31
31
32
-
-**Reduced jitter**. Virtual switch processing depends on the amount of policy to apply and the workload of the CPU that does the processing. Offloading policy enforcement to the hardware removes that variability by delivering packets directly to the VM. Offloading also removes the host-to-VM communication, all software interrupts, and all context switches.
32
+
-**Lower latency and higher packets per second (pps).** Removing the virtual switch from the data path eliminates the time packets spend in the host for policy processing, and increases the number of packets that the VM can process.
33
33
34
-
-**Decreased CPU utilization**. Bypassing the virtual switch in the host leads to less CPU utilization for processing network traffic.
34
+
-**Reduced jitter.** Virtual switch processing depends on the amount of policy to apply and the workload of the CPU that does the processing. Offloading policy enforcement to the hardware removes that variability by delivering packets directly to the VM. Offloading also removes the host-to-VM communication, all software interrupts, and all context switches.
35
+
36
+
-**Decreased CPU utilization.** Bypassing the virtual switch in the host leads to less CPU utilization for processing network traffic.
35
37
36
38
## Limitations and constraints
37
39
38
40
- The benefits of Accelerated Networking apply only to the VM that enables it.
39
41
40
-
- For best results, enable this feature on at least two VMs in the same Azure virtual network. This feature has minimal impact on latency when you communicate across virtual networks or connect on-premises.
42
+
- For best results, you should enable Accelerated Networking on at least two VMs in the same Azure virtual network. This feature has minimal impact on latency when you communicate across virtual networks or connect on-premises.
41
43
42
44
- You can't enable Accelerated Networking on a running VM. You can enable Accelerated Networking on a supported VM only when the VM is stopped and deallocated.
43
45
44
46
- You can't deploy virtual machines (classic) with Accelerated Networking through Azure Resource Manager.
45
47
46
-
- Accelerated Networking is available in all global Azure regions and the Azure Government Cloud.
48
+
### Supported regions
49
+
50
+
Accelerated Networking is available in all global Azure regions and the Azure Government Cloud.
47
51
48
52
### Supported operating systems
49
53
@@ -120,5 +124,5 @@ EOF
120
124
## Next steps
121
125
-[How Accelerated Networking works in Linux and FreeBSD VMs](./accelerated-networking-how-it-works.md)
122
126
-[Create a VM with Accelerated Networking by using PowerShell](./create-vm-accelerated-networking-powershell.md)
123
-
-[Create a VM with Accerelated Networking by using Azure CLI](./create-vm-accelerated-networking-cli.md)
127
+
-[Create a VM with Accelerated Networking by using Azure CLI](./create-vm-accelerated-networking-cli.md)
Copy file name to clipboardExpand all lines: articles/virtual-network/create-vm-accelerated-networking-cli.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Use Azure CLI to create an Linux VM with Accelerated Networking
2
+
title: Use Azure CLI to create a Linux VM with Accelerated Networking
3
3
description: Learn how to use Azure CLI to create and manage Linux virtual machines with Accelerated Networking enabled.
4
4
services: virtual-network
5
5
author: asudbring
@@ -22,7 +22,7 @@ You can also create a VM with Accelerated Networking by using the [Azure portal]
22
22
23
23
- An Azure account with an active subscription. You can [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
24
24
25
-
- The latest version of [Azure CLI installed]. Sign in to Azure by using the [az login](/cli/azure/reference-index#az-login) command.
25
+
- The latest version of [Azure CLI installed](/cli/azure/install-azure-cli). Sign in to Azure by using the [az login](/cli/azure/reference-index#az-login) command.
26
26
27
27
## Create a VM with Accelerated Networking
28
28
@@ -99,9 +99,9 @@ In the following examples, replace the example parameters such as `<myResourceGr
99
99
100
100
### Create a VM and attach the NIC
101
101
102
-
Make sure to select a VM size and distribution that's listed in [Linux Accelerated Networking](https://azure.microsoft.com/updates/accelerated-networking-in-expanded-preview). For a list of all VM sizes and characteristics, see [Linux VM sizes](../virtual-machines/sizes.md?toc=%2fazure%2fvirtual-network%2ftoc.json). Use the `--nics` option to attach the NIC you created.
102
+
Use [az vm create](/cli/azure/vm) to create the VM, and use the `--nics` option to attach the NIC you created. Make sure to select a VM size and distribution that's listed in [Linux Accelerated Networking](https://azure.microsoft.com/updates/accelerated-networking-in-expanded-preview). For a list of all VM sizes and characteristics, see [Linux VM sizes](../virtual-machines/sizes.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
103
103
104
-
Use [az vm create](/cli/azure/vm) to create the VM. The following example creates a VM with the UbuntuLTS OS image and a size that supports Accelerated Networking, Standard_DS4_v2.
104
+
The following example creates a VM with the UbuntuLTS OS image and a size that supports Accelerated Networking, Standard_DS4_v2.
105
105
106
106
```azurecli
107
107
az vm create \
@@ -172,23 +172,23 @@ When the VM is created, you get output similar to the following example. Take no
172
172
173
173
Binding to the synthetic NIC that's exposed in the VM is a mandatory requirement for all applications that take advantage of Accelerated Networking. If an application runs directly over the VF NIC, it doesn't receive all packets that are destined to the VM, because some packets show up over the synthetic interface. Run an application over the synthetic NIC to guarantee that the application receives all packets that are destined to it. Binding to the synthetic NIC also ensures that the application keeps running even if the VF is revoked during host servicing.
174
174
175
-
For more details on application binding requirements, see [How Accelerated Networking works in Linux and FreeBSD VMs](./accelerated-networking-how-it-works.md#application-usage).
175
+
For more information about application binding requirements, see [How Accelerated Networking works in Linux and FreeBSD VMs](./accelerated-networking-how-it-works.md#application-usage).
176
176
177
-
## Enable Accelerated Networking on existing VMs
177
+
## Manage Accelerated Networking on existing VMs
178
178
179
179
It's possible to enable Accelerated Networking on an existing VM that doesn't have this feature. The VM must meet the following requirements to support Accelerated Networking:
180
180
181
181
- Be a supported size for Accelerated Networking.
182
182
- Be a supported Azure Marketplace image and kernel version for Linux.
183
-
- Be stopped or deallocated before you can enable Accelerated Networking on any NIC. This requirement applies to all individual VMs or VMs in an availability set or virtual machine scale set.
183
+
- Be stopped or deallocated before you can enable Accelerated Networking on any NIC. This requirement applies to all individual VMs or VMs in an availability set or Azure Virtual Machine Scale Set.
184
184
185
185
### Enable Accelerated Networking on individual VMs or VMs in availability sets
186
186
187
187
1. First, stop and deallocate the VM, or all the VMs in the availability set.
188
188
189
189
```azurecli
190
190
az vm deallocate \
191
-
--resource-group ,myResourceGroup> \
191
+
--resource-group <myResourceGroup> \
192
192
--name <myVm>
193
193
```
194
194
@@ -210,9 +210,9 @@ It's possible to enable Accelerated Networking on an existing VM that doesn't ha
210
210
--name <myVm>
211
211
```
212
212
213
-
### Enable Accelerated Networking on virtual machine scale sets
213
+
### Enable Accelerated Networking on Virtual Machine Scale Sets
214
214
215
-
Virtual machine scale sets are slightly different but follow the same workflow.
215
+
Azure Virtual Machine Scale Sets is slightly different but follows the same workflow.
216
216
217
217
1. First, stop the VMs:
218
218
@@ -230,7 +230,7 @@ Virtual machine scale sets are slightly different but follow the same workflow.
1.A virtual machine scale set has an upgrade policy that applies updates by using automatic, rolling, or manual settings. The following instructions set the policy to automatic so the virtual machine scale set picks up the changes immediately after restart.
233
+
1.Virtual Machine Scale Sets has an upgrade policy that applies updates by using automatic, rolling, or manual settings. The following instructions set the policy to automatic so Virtual Machine Scale Sets picks up the changes immediately after restart.
234
234
235
235
```azurecli
236
236
az vmss update \
@@ -239,7 +239,7 @@ Virtual machine scale sets are slightly different but follow the same workflow.
239
239
--set upgradePolicy.mode="automatic"
240
240
```
241
241
242
-
1. Finally, restart the VMSS:
242
+
1. Finally, restart Virtual Machine Scale Sets.
243
243
244
244
```azurecli
245
245
az vmss start \
@@ -251,10 +251,10 @@ Once you restart and the upgrades finish, the VF appears inside VMs that use a s
251
251
252
252
### Resize existing VMs with Accelerated Networking
253
253
254
-
VMs with Accelerated Networking enabled can be resized only to sizes that also support Accelerated Networking. You can't resize a VM with Accelerated Networking to a VM instance that doesn't support Accelerated Networking by using the resize operation. Instead, use the following process to resize these VMs.
254
+
VMs with Accelerated Networking enabled can be resized only to sizes that also support Accelerated Networking. You can't resize a VM with Accelerated Networking to a VM instance that doesn't support Accelerated Networking by using the resize operation. Instead, use the following process to resize these VMs:
255
255
256
-
1. Stop and deallocate the VM or all the VMs in the availability set or virtual machine scale set.
257
-
1. Disable Accelerated Networking on the NIC of the VM or all the VMs in the availability set or virtual machine scale set.
256
+
1. Stop and deallocate the VM or all the VMs in the availability set or Virtual Machine Scale Set.
257
+
1. Disable Accelerated Networking on the NIC of the VM or all the VMs in the availability set or Virtual Machine Scale Set.
258
258
1. Move the VM or VMs to a new size that doesn't support Accelerated Networking, and restart them.
259
259
260
260
## Portal creation
@@ -272,7 +272,7 @@ You can also create a VM with Accelerated Networking by using the [Azure portal]
272
272
1. From the portal page for the VM, select **Networking** from the left menu.
273
273
1. On the **Networking** page, select the **Network Interface**.
274
274
1. At the top of the NIC **Overview** page, select **Edit accelerated networking**.
275
-
1. Select **Automatic**, **Enabled**, or **Disabled**.
275
+
1. Select **Automatic**, **Enabled**, or **Disabled**, and then select **Save**.
0 commit comments