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-optimize-network-bandwidth.md
+2-25Lines changed: 2 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Optimize Azure VM network throughput
3
-
description: Optimize network throughput for Microsoft Azure Windows and Linux virtual machines, including major distributions such as Ubuntu, CentOS, and Red Hat.
3
+
description: Optimize network throughput for Microsoft Azure Windows and Linux virtual machines, including major distributions such as Ubuntu and Red Hat.
4
4
services: virtual-network
5
5
author: asudbring
6
6
manager: Gerald DeGrace
@@ -13,10 +13,7 @@ ms.author: allensu
13
13
14
14
# Optimize network throughput for Azure virtual machines
15
15
16
-
> [!CAUTION]
17
-
> This article references CentOS, a Linux distribution that is End Of Life (EOL) status. Please consider your use and plan accordingly. For more information, see the [CentOS End Of Life guidance](~/articles/virtual-machines/workloads/centos/centos-end-of-life.md).
18
-
19
-
Azure Virtual Machines (VMs) have default network settings that can be further optimized for network throughput. This article describes how to optimize network throughput for Microsoft Azure Windows and Linux VMs, including major distributions such as Ubuntu, CentOS, and Red Hat.
16
+
Azure Virtual Machines (VMs) have default network settings that can be further optimized for network throughput. This article describes how to optimize network throughput for Microsoft Azure Windows and Linux VMs, including major distributions such as Ubuntu and Red Hat.
In order to get the latest optimizations, we recommend that you create a virtual machine with the latest supported version by specifying the following parameters:
114
-
115
-
```json
116
-
"Publisher": "OpenLogic",
117
-
"Offer": "CentOS",
118
-
"Sku": "7.7",
119
-
"Version": "latest"
120
-
```
121
-
122
-
Both new and existing VMs can benefit from installing the latest Linux Integration Services (LIS). The throughput optimization is in LIS, starting from 4.2.2-2. Later versions contain further improvements. Enter the following
123
-
commands to install the latest LIS:
124
-
125
-
```bash
126
-
sudo yum update
127
-
sudo reboot
128
-
sudo yum install microsoft-hyper-v
129
-
```
130
-
131
108
### Red Hat
132
109
133
110
In order to get the optimizations, we recommend that you create a virtual machine with the latest supported version by specifying the following parameters:
# Name resolution for resources in Azure virtual networks
14
14
15
-
> [!CAUTION]
16
-
> This article references CentOS, a Linux distribution that is End Of Life (EOL) status. Please consider your use and plan accordingly. For more information, see the [CentOS End Of Life guidance](~/articles/virtual-machines/workloads/centos/centos-end-of-life.md).
17
-
18
15
Azure can be used to host IaaS, PaaS, and hybrid solutions. In order to facilitate communication between the virtual machines (VMs) and other resources deployed in a virtual network, it may be necessary to allow them to communicate with each other. The use of easily remembered and unchanging names simplifies the communication process, rather than relying on IP addresses.
19
16
20
17
When resources deployed in virtual networks need to resolve domain names to internal IP addresses, they can use one of four methods:
@@ -148,9 +145,9 @@ The default Windows DNS client has a DNS cache built-in. Some Linux distribution
148
145
149
146
There are many different DNS caching packages available (such as dnsmasq). Here's how to install dnsmasq on the most common distributions:
150
147
151
-
# [RHEL, CentOS](#tab/redhat)
148
+
# [RHEL](#tab/redhat)
152
149
153
-
**RHEL/CentOS (uses NetworkManager)**:
150
+
**RHEL (uses NetworkManager)**:
154
151
155
152
1. Install the dnsmasq package with the following command:
156
153
@@ -238,9 +235,9 @@ options timeout:1 attempts:5
238
235
239
236
The resolv.conf file is autogenerated, and shouldn't be edited. The specific steps for adding the *options* line vary by distribution:
240
237
241
-
# [RHEL, CentOS](#tab/redhat)
238
+
# [RHEL](#tab/redhat)
242
239
243
-
**RHEL/CentOS (uses NetworkManager)**:
240
+
**RHEL (uses NetworkManager)**:
244
241
245
242
1. Use a text editor to add the line **`RES_OPTIONS="options timeout:1 attempts:5"`** to the file **/etc/sysconfig/network-scripts/ifcfg-eth0**.
0 commit comments