Proxmox RAM und SWAP Konfiguration

Aus Laub-Home.de Wiki
Zur Navigation springen Zur Suche springen
# Check the current value
cat /proc/sys/vm/swappiness

# Define the new one, system swap when your physical is about 10 % memory remaining
sysctl vm.swappiness=10

# Disable SWAP, it'll take some times to clean the SWAP area
swapoff -a

# wait until swap empty

# Enable the SWAP with the new value
swapon -a

# Check if well applied
cat /proc/sys/vm/swappiness


Quelle: https://blog.lbdg.me/proxmox-best-performance-disable-swappiness/