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
description: Learn how the Microsoft Azure Network Adapter can improve the networking performance of Linux VMs on Azure.
2
+
title: Linux VMs with the Microsoft Azure Network Adapter
3
+
description: Learn how the Microsoft Azure Network Adapter can improve the networking performance of Linux VMs in Azure.
4
4
author: mattmcinnes
5
5
ms.service: virtual-network
6
6
ms.custom: linux-related-content
@@ -9,69 +9,72 @@ ms.date: 07/10/2023
9
9
ms.author: mattmcinnes
10
10
---
11
11
12
-
# Linux VMs with Azure MANA
12
+
# Linux VMs with the Microsoft Azure Network Adapter
13
13
14
-
Learn how to use the Microsoft Azure Network Adapter (MANA) to improve the performance and availability of Linux virtual machines in Azure.
14
+
Learn how to use the Microsoft Azure Network Adapter (MANA) to improve the performance and availability of Linux virtual machines (VMs) in Azure.
15
15
16
-
For Windows support, see [Windows VMs with Azure MANA](./accelerated-networking-mana-windows.md)
16
+
For Windows support, see [Windows VMs with the Microsoft Azure Network Adapter](./accelerated-networking-mana-windows.md).
17
17
18
-
For more info regarding Azure MANA, see [Microsoft Azure Network Adapter (MANA) overview](./accelerated-networking-mana-overview.md)
18
+
For more info about MANA, see [Microsoft Azure Network Adapter overview](./accelerated-networking-mana-overview.md).
19
19
20
20
> [!IMPORTANT]
21
-
> Azure MANA is currently in PREVIEW.
22
-
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
21
+
> MANA is currently in preview. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
23
22
24
-
## Supported Marketplace Images
25
-
Several [Azure marketplace](/marketplace/azure-marketplace-overview) Linux images have built-in support for Azure MANA's ethernet driver.
23
+
## Supported Azure Marketplace images
24
+
25
+
Several Linux images from [Azure Marketplace](/marketplace/azure-marketplace-overview) have built-in support for the Ethernet driver in MANA:
26
26
27
27
- Ubuntu 20.04 LTS
28
28
- Ubuntu 22.04 LTS
29
29
- Red Hat Enterprise Linux 8.8
30
30
- Red Hat Enterprise Linux 9.2
31
31
- SUSE Linux Enterprise Server 15 SP4
32
-
- Debian 12 “Bookworm”
32
+
- Debian 12 "Bookworm"
33
33
- Oracle Linux 9.0
34
34
35
-
>[!NOTE]
36
-
>None of the current Linux distros in Azure Marketplace are on a 6.2 or later kernel, which is required for RDMA/InfiniBand and DPDK. If you use an existing Marketplace Linux image, you will need to update the kernel.
35
+
> [!NOTE]
36
+
> None of the current Linux distributions in Azure Marketplace are on a 6.2 or later kernel, which is required for RDMA/InfiniBand and Data Plane Development Kit (DPDK). If you use an existing Linux image from Azure Marketplace, you need to update the kernel.
37
+
38
+
## Check the status of MANA support
37
39
38
-
## Check status of MANA support
39
-
Because Azure MANA's feature set requires both host hardware and VM software components, there are several checks required to ensure MANA is working properly
40
+
Because the MANA feature set requires both host hardware and VM software components, you must perform the following checks to ensure that MANA is working properly on your VM.
40
41
41
42
### Azure portal check
42
43
43
-
Ensure that you have Accelerated Networking enabled on at least one of your NICs:
44
-
1. From the Azure portal page for the VM, select Networking from the left menu.
45
-
1. On the Networking settings page, select the Network Interface.
46
-
1. On the NIC Overview page, under Essentials, note whether Accelerated networking is set to Enabled or Disabled.
44
+
Ensure that Accelerated Networking is enabled on at least one of your NICs:
45
+
46
+
1. On the Azure portal page for the VM, select **Networking** from the left menu.
47
+
1. On the **Networking settings** page, for **Network Interface**, select your NIC.
48
+
1. On the **NIC Overview** pane, under **Essentials**, note whether **Accelerated Networking** is set to **Enabled** or **Disabled**.
47
49
48
50
### Hardware check
49
51
50
-
When Accelerated Networking is enabled, the underlying MANA NIC can be identified as a PCI device in the Virtual Machine.
52
+
When you enable Accelerated Networking, you can identify the underlying MANA NIC as a PCI device in the virtual machine:
51
53
52
54
```
53
55
$ lspci
54
56
7870:00:00.0 Ethernet controller: Microsoft Corporation Device 00ba
55
57
```
56
58
57
59
### Kernel version check
58
-
Verify your VM has a MANA Ethernet driver installed.
60
+
61
+
Verify that your VM has a MANA Ethernet driver installed:
Ethernet drivers for MANA are included in kernel 5.15 and up. Linux support for features such as InfiniBand/RDMA and DPDK are included in kernel 6.2. Prior or forked kernel versions (5.15 and 6.1) require backported support.
71
+
Ethernet drivers for MANA are included in kernel version 5.15 and later. Kernel version 6.2 includes Linux support for features such as InfiniBand/RDMA and DPDK. Earlier or forked kernel versions (5.15 and 6.1) require backported support.
69
72
70
-
To update your VM's Linux kernel, check the docs for your specific distro.
73
+
To update your VM's Linux kernel, check the documentation for your specific distribution.
71
74
72
-
## Verify traffic is flowing through the MANA adapter
75
+
## Verify that traffic is flowing through MANA
73
76
74
-
Each vNIC configured for the VM with Accelerated Networking enabled will result in two network interfaces in the VM. For example, eth0 and enP30832p0s0 a single-NIC configuration:
77
+
Each virtual NIC (vNIC) that you configure for the VM, with Accelerated Networking enabled, results in two network interfaces in the VM. The following example shows `eth0` and `enP30832p0s0` in a single-NIC configuration:
75
78
76
79
```
77
80
$ ip link
@@ -85,7 +88,8 @@ $ ip link
85
88
altname enP30832s1296119428
86
89
```
87
90
88
-
The eth0 interface is the primary port serviced by the netvsc driver and the routable interface for the vNIC. The associated enP* interface represents the MANA Virtual Function (VF) and is bound to the eth0 interface in this case. You can get packet and byte count of the MANA Virtual Function (VF) from the routable ethN interface:
91
+
The `eth0` interface is the primary port serviced by the Network Virtual Service Client (NetVSC) driver and the routable interface for the vNIC. The associated `enP*` interface represents the MANA Virtual Function (VF) and is bound to the `eth0` interface in this case. You can get the packet and byte count of the MANA VF from the routable `ethN` interface:
Copy file name to clipboardExpand all lines: articles/virtual-network/accelerated-networking-mana-overview.md
+33-27Lines changed: 33 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,59 +8,65 @@ ms.date: 07/10/2023
8
8
ms.author: mattmcinnes
9
9
---
10
10
11
-
# Microsoft Azure Network Adapter (MANA) overview
11
+
# Microsoft Azure Network Adapter overview
12
12
13
-
Learn how to use the Microsoft Azure Network Adapter (MANA) to improve the performance and availability of virtual machines in Azure. MANA is a next-generation network interface that provides stable forward-compatible device drivers for Windows and Linux operating systems. MANA hardware and software are engineered by Microsoft and take advantage of the latest advancements in cloud networking technology.
13
+
Learn how to use the Microsoft Azure Network Adapter (MANA) component of Azure Boost to improve the performance and availability of virtual machines (VMs) in Azure. MANA is a next-generation network interface that provides stable forward-compatible device drivers for Windows and Linux operating systems. MANA hardware and software are engineered by Microsoft and take advantage of the latest advancements in cloud networking technology.
14
14
15
15
> [!IMPORTANT]
16
-
> Azure MANA is currently in PREVIEW.
17
-
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
16
+
> MANA is currently in preview. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
18
17
19
18
## Compatibility
20
-
Azure MANA supports several VM operating systems. While your VM might be running a supported OS, you may need to update the kernel (Linux) or install drivers (Windows).
21
19
22
-
MANA maintains feature-parity with previous Azure networking features. VMs run on hardware with both Mellanox and MANA NICs, so existing 'mlx4' and 'mlx5' support still need to be present.
20
+
MANA supports several VM operating systems. Although your VM might be running a supported operating system, you might need to update the kernel (Linux) or install drivers (Windows).
23
21
24
-
### Supported Marketplace Images
25
-
Several [Azure Marketplace](/marketplace/azure-marketplace-overview) images have built-in support for Azure MANA's ethernet driver.
22
+
MANA maintains feature parity with previous Azure networking features. VMs run on hardware with both Mellanox and MANA NICs, so existing `mlx4` and `mlx5` support still need to be present.
23
+
24
+
### Supported Azure Marketplace images
25
+
26
+
Several [Azure Marketplace](/marketplace/azure-marketplace-overview) images have built-in support for the Ethernet driver in MANA.
27
+
28
+
#### Linux
26
29
27
-
#### Linux:
28
30
- Ubuntu 20.04 LTS
29
31
- Ubuntu 22.04 LTS
30
32
- Red Hat Enterprise Linux 8.8
31
33
- Red Hat Enterprise Linux 9.2
32
34
- SUSE Linux Enterprise Server 15 SP4
33
-
- Debian 12 “Bookworm”
35
+
- Debian 12 "Bookworm"
34
36
- Oracle Linux 9.0
35
37
36
-
>[!NOTE]
37
-
>None of the current Linux distros in Azure Marketplace are on a 6.2 or later kernel, which is required for RDMA/InfiniBand and DPDK. If you use an existing Marketplace Linux image, you will need to update the kernel.
38
+
> [!NOTE]
39
+
> None of the current Linux distributions in Azure Marketplace are on a 6.2 or later kernel, which is required for RDMA/InfiniBand and Data Plane Development Kit (DPDK). If you use an existing Linux image from Azure Marketplace, you need to update the kernel.
40
+
41
+
#### Windows
38
42
39
-
#### Windows:
40
43
- Windows Server 2016
41
44
- Windows Server 2019
42
45
- Windows Server 2022
43
46
44
47
### Custom images and legacy VMs
45
-
We recommend using an operating system with support for MANA to maximize performance. In instances where the operating system doesn't or can't support MANA, network connectivity is provided through the hypervisor’s virtual switch. The virtual switch is also used during some infrastructure servicing events where the Virtual Function (VF) is revoked.
46
48
47
-
### Using DPDK
48
-
For information about DPDK on MANA hardware, see [Microsoft Azure Network Adapter (MANA) and DPDK on Linux](setup-dpdk-mana.md)
49
+
To maximize performance, we recommend using an operating system that supports MANA. If the operating system doesn't support MANA, network connectivity is provided through the hypervisor's virtual switch. The virtual switch is also used during some infrastructure servicing events where the Virtual Function (VF) is revoked.
50
+
51
+
### DPDK on MANA hardware
52
+
53
+
For information about using DPDK on MANA hardware, see [Microsoft Azure Network Adapter and DPDK on Linux](setup-dpdk-mana.md).
49
54
50
55
## Evaluating performance
51
-
Differences in VM SKUs, operating systems, applications, and tuning parameters can all affect network performance on Azure. For this reason, we recommend that you benchmark and test your workloads to ensure you achieve the expected network performance.
52
-
See the following documents for information on testing and optimizing network performance in Azure.
53
-
Look into [TCP/IP performance tuning](/azure/virtual-network/virtual-network-tcpip-performance-tuning) and more info on [VM network throughput](/azure/virtual-network/virtual-machine-network-throughput)
54
56
55
-
## Start using Azure MANA
56
-
Tutorials for each supported OS type are available for you to get started:
57
+
Differences in VM types, operating systems, applications, and tuning parameters can affect network performance in Azure. For this reason, we recommend that you benchmark and test your workloads to achieve the expected network performance.
58
+
59
+
For information on testing and optimizing network performance in Azure, see [TCP/IP performance tuning for Azure VMs](/azure/virtual-network/virtual-network-tcpip-performance-tuning) and [Virtual machine network bandwidth](/azure/virtual-network/virtual-machine-network-throughput).
60
+
61
+
## Getting started with MANA
57
62
58
-
For Linux support, see [Linux VMs with Azure MANA](./accelerated-networking-mana-linux.md)
63
+
Tutorials for each supported OS type are available to help you get started:
59
64
60
-
For Windows support, see [Windows VMs with Azure MANA](./accelerated-networking-mana-windows.md)
65
+
- For Linux support, see [Linux VMs with Azure MANA](./accelerated-networking-mana-linux.md).
66
+
- For Windows support, see [Windows VMs with Azure MANA](./accelerated-networking-mana-windows.md).
61
67
62
-
## Next Steps
68
+
## Next steps
63
69
64
-
-[TCP/IP Performance Tuning for Azure VMs](./virtual-network-tcpip-performance-tuning.md)
0 commit comments