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
+1-8Lines changed: 1 addition & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,6 @@ To enhance network performance, consider implementing the following optimization
98
98
-**Network buffer settings**: Adjust kernel parameters to maximize read and write memory buffers. Add these configurations to `/etc/sysctl.d/99-azure-network-buffers.conf`:
- Ensure the BBR module is loaded by adding it to `/etc/modules-load.d/99-azure-tcp-bbr.conf`:
111
110
112
111
```plaintext
113
-
/etc/modules-load.d/99-azure-tcp-bbr.conf
114
112
tcp_bbr
115
113
```
116
114
117
115
```plaintext
118
-
/etc/sysctl.d/99-azure-congestion-control.conf
119
116
net.ipv4.tcp_congestion_control = bbr
120
117
```
121
118
122
119
-**Queue discipline (qdisc)**: Packet processing in Azure is generally improved by setting the default qdisc to `fq`. Add this configuration to `/etc/sysctl.d/99-azure-qdisc.conf`:
123
120
124
121
```plaintext
125
-
/etc/sysctl.d/99-azure-qdisc.conf
126
122
net.core.default_qdisc = fq
127
123
```
128
124
129
125
- Create a udev rule in `/etc/udev/rules.d/99-azure-qdisc.rules` to ensure the qdisc is applied to network interfaces:
130
126
131
127
```plaintext
132
-
/etc/udev/rules.d/99-azure-qdisc.rules
133
128
ACTION=="add|change", SUBSYSTEM=="net", KERNEL=="enP*", PROGRAM="/sbin/tc qdisc replace dev \$env{INTERFACE} root noqueue"
134
129
ACTION=="add|change", SUBSYSTEM=="net", KERNEL=="eth*", PROGRAM="/sbin/tc qdisc replace dev \$env{INTERFACE} root fq“
135
130
```
136
131
137
132
-**IRQ scheduling**: Depending on your workload, you may wish to restrict the irqbalance service from scheduling IRQs on certain nodes. Update `/etc/default/irqbalance` with the following configuration:
138
133
139
-
```plaintext
140
-
/etc/default/irqbalance
134
+
```bash
141
135
IRQBALANCE_BANNED_CPULIST=0-2
142
136
```
143
137
144
138
-**udev rules**: Add rules to optimize queue length and manage device flags efficiently. Create the following rule in `/etc/udev/rules.d/99-azure-txqueue-len.rules`:
0 commit comments