Optimise performance

Support Wissensdatenbank

Du bist hier:
Print

Optimise Proxmox Server Performance

Here you can find some useful tips to improve the performance of your Proxmox server.

 

Optimize SWAP

To get optimal performance, the SWAP memory should be set up correctly. The Proxmox server loves to use SWAP memory, but this can accelerate the wear of the SSD.

Set Swappiness to 0 so that the SWAP memory is activated just before the RAM runs out.

sysctl vm.swappiness=1
swapoff -a
swapon -a

 

Optimize ZFS memory

ZFS uses 50% of the memory by default. Often only 8 to 12 GByte RAM is sufficient for ZFS. To adjust the memory do the following:

root# nano /etc/modprobe.d/zfs.conf  
# Enter the desired value in bytes in this file, e.g., 12884901888 for 12GB  
# This sets the value that will be applied after a reboot  

root# nano /sys/module/zfs/parameters/zfs_arc_max  
# Manually set the value here to apply the configuration immediately;  
# the above conf file only takes effect after a reboot  

root# cat '/sys/module/zfs/parameters/zfs_arc_max'  
# Check here to ensure that the value is correctly stored  
12884901888  

root# proxmox-boot-tool refresh  
# Updates the configuration in GRUB on all boot disks  
# If there is only one boot disk, "update-initramfs -u" is sufficient  

then restart the server. Then check the memory usage in the Proxmox overview.

War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post