mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2026-10-25 22:30:05 -05:00
Update prereq.md
This commit is contained in:
1 parent
601e1c663e
commit
935f7c0c92
1 file changed
+23
-3
+23
-3
@@ -1,6 +1,8 @@
|
||||
# Server Setup Prerequisites
|
||||
# Prerequisites
|
||||
|
||||
## Disable Hyper-Threading in the BIOS
|
||||
## Servers & Hypervisors
|
||||
|
||||
### Disable Hyper-Threading in the BIOS
|
||||
Disable hyperthreading on the BIOS/UEFI of your host system. Hyperthreaading is also known as Simultaneous Multi Threading (SMT) on AMD systems. Disabling this is very important for optimal performance of the XDP cpumap filtering and, in turn, throughput and latency.
|
||||
|
||||
- Boot, pressing the appropriate key to enter the BIOS settings
|
||||
@@ -8,6 +10,24 @@ Disable hyperthreading on the BIOS/UEFI of your host system. Hyperthreaading is
|
||||
- For Intel systems, you will also have to navigate the settings to find the "hyperthrading" toggle option. On HP servers it's under ```System Configuration > BIOS/Platform Configuration (RBSU) > Processor Options > Intel (R) Hyperthreading Options.```
|
||||
- Save changes and reboot
|
||||
|
||||
## Disable SR-IOV in the BIOS
|
||||
### Disable SR-IOV in the BIOS
|
||||
|
||||
SR-IOV can disable XDP native (driver mode) on Physical Functions (PFs), forcing XDP Generic (SKB) and reducing performance and stability for LibreQoS. Disable SR-IOV in BIOS/UEFI for NICs used by LibreQoS. If per-slot/per-port options exist, set them to Disabled.
|
||||
|
||||
## Hypervisors
|
||||
|
||||
### Proxmox
|
||||
|
||||
For Proxmox VMs, NIC passthrough is required to achieve throughput above 10 Gbps (XDP vs generic XDP).
|
||||
|
||||
LibreQoS requires 2 or more RX/TX queues, so when using Proxmox, please be sure to enable [Multiqueue](https://forum.proxmox.com/threads/where-is-multiqueue.146783/) for the shaping interfaces assigned to the VM. Multiqueue should be set equal to the number of vCPU cores assigned to the VM.
|
||||
|
||||
### Hyper-V
|
||||
|
||||
#### Hyper-V MAC Spoofing (If Inside a VM)
|
||||
|
||||
If your LibreQoS system is running inside Hyper-V and you’ve bridged two vNICs (eth1, eth2) — Hyper-V will block traffic from the bridge because the bridge generates frames with different MACs than the vNIC’s assigned MAC. To fix this on a Windows host:
|
||||
```
|
||||
Set-VMNetworkAdapter -VMName "YourLinuxVM" -MacAddressSpoofing On
|
||||
```
|
||||
Then restart the VM.
|
||||
Reference in new issue
Block a user