Skip to content

Commit 3473519

Browse files
committed
edits
1 parent 3f55b3b commit 3473519

11 files changed

+199
-178
lines changed

articles/virtual-network/accelerated-networking-overview.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,33 @@ The following diagram illustrates how two VMs communicate with and without Accel
2121

2222
![Screenshot that shows communication between Azure VMs with and without Accelerated Networking.](./media/create-vm-accelerated-networking/accelerated-networking.png)
2323

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).
2525

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.
2727

2828
## Benefits
2929

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

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.
3333

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.
3537

3638
## Limitations and constraints
3739

3840
- The benefits of Accelerated Networking apply only to the VM that enables it.
3941

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.
4143

4244
- 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.
4345

4446
- You can't deploy virtual machines (classic) with Accelerated Networking through Azure Resource Manager.
4547

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.
4751

4852
### Supported operating systems
4953

@@ -120,5 +124,5 @@ EOF
120124
## Next steps
121125
- [How Accelerated Networking works in Linux and FreeBSD VMs](./accelerated-networking-how-it-works.md)
122126
- [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)
124128
- [Proximity placement groups](../virtual-machines/co-location.md)

articles/virtual-network/create-vm-accelerated-networking-cli.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
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
33
description: Learn how to use Azure CLI to create and manage Linux virtual machines with Accelerated Networking enabled.
44
services: virtual-network
55
author: asudbring
@@ -22,7 +22,7 @@ You can also create a VM with Accelerated Networking by using the [Azure portal]
2222

2323
- An Azure account with an active subscription. You can [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
2424

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.
2626

2727
## Create a VM with Accelerated Networking
2828

@@ -99,9 +99,9 @@ In the following examples, replace the example parameters such as `<myResourceGr
9999

100100
### Create a VM and attach the NIC
101101

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).
103103

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.
105105

106106
```azurecli
107107
az vm create \
@@ -172,23 +172,23 @@ When the VM is created, you get output similar to the following example. Take no
172172

173173
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.
174174

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).
176176

177-
## Enable Accelerated Networking on existing VMs
177+
## Manage Accelerated Networking on existing VMs
178178

179179
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:
180180

181181
- Be a supported size for Accelerated Networking.
182182
- 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.
184184

185185
### Enable Accelerated Networking on individual VMs or VMs in availability sets
186186

187187
1. First, stop and deallocate the VM, or all the VMs in the availability set.
188188

189189
```azurecli
190190
az vm deallocate \
191-
--resource-group ,myResourceGroup> \
191+
--resource-group <myResourceGroup> \
192192
--name <myVm>
193193
```
194194

@@ -210,9 +210,9 @@ It's possible to enable Accelerated Networking on an existing VM that doesn't ha
210210
--name <myVm>
211211
```
212212

213-
### Enable Accelerated Networking on virtual machine scale sets
213+
### Enable Accelerated Networking on Virtual Machine Scale Sets
214214

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.
216216

217217
1. First, stop the VMs:
218218

@@ -230,7 +230,7 @@ Virtual machine scale sets are slightly different but follow the same workflow.
230230
--set virtualMachineProfile.networkProfile.networkInterfaceConfigurations[0].enableAcceleratedNetworking=true
231231
```
232232

233-
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.
234234

235235
```azurecli
236236
az vmss update \
@@ -239,7 +239,7 @@ Virtual machine scale sets are slightly different but follow the same workflow.
239239
--set upgradePolicy.mode="automatic"
240240
```
241241

242-
1. Finally, restart the VMSS:
242+
1. Finally, restart Virtual Machine Scale Sets.
243243

244244
```azurecli
245245
az vmss start \
@@ -251,10 +251,10 @@ Once you restart and the upgrades finish, the VF appears inside VMs that use a s
251251

252252
### Resize existing VMs with Accelerated Networking
253253

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

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.
258258
1. Move the VM or VMs to a new size that doesn't support Accelerated Networking, and restart them.
259259

260260
## Portal creation
@@ -272,7 +272,7 @@ You can also create a VM with Accelerated Networking by using the [Azure portal]
272272
1. From the portal page for the VM, select **Networking** from the left menu.
273273
1. On the **Networking** page, select the **Network Interface**.
274274
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**.
276276

277277
## Next steps
278278

5.89 KB
Loading
4.35 KB
Loading
-3.56 KB
Loading
-36.7 KB
Loading
4.38 KB
Loading
25.1 KB
Loading
-14.4 KB
Loading

0 commit comments

Comments
 (0)