VPN needs CPU (for encryption etc.) and bandwidth; increase both for better performance. I fail to see how Proxmox is involved here.The problem is when I use inside the Network (LAN) , the spice is working fine but when I use over VPN then really slow. How to overcome this issue? Most of the users are using VPN to use their VM.
IMHO OpenVPN is responsible for poor performance. It's secure but slow. I would use Wireguard in your setup.We are using OpenVPN.
We are using OpenVPN.
This is okay, server using UDP.My vpn server is already setup
# TCP or UDP server?
;proto tcp
proto udp
But still slow. My all users are complaining about the slow spice behavior. please help me. I have over 300 VMs.
cat /sys/devices/system/cpu/*/cpufreq/scaling_governor
cat /sys/devices/system/cpu/*/cpufreq/cpuinfo_max_freq
$> apt-get install cpufrequtils
$> cpufreq-info
$> cpufreq-set -g performance
$> cpufreq-info
/etc/init.d/cpufrequtils
GOVERNOR=performance
$> systemctl daemon-reload
Sorry, are you saying that using VirtIO-GPU works better with SPICE then the SPICE display driver itself?I changed display driver to VirtIO-GPU and voila! My performance are great using virt-viewer. Basically zero input lag.
Ps. I'm testing now with Ubuntu 24.04, which is running Wayland by default.
Apparently yes, under Ubuntu 24.04 with Wayland yes. That is just my observation in June 2024.Sorry, are you saying that using VirtIO-GPU works better with SPICE then the SPICE display driver itself?
Yes, I tried that too, and I can confirm it is actually much better!Apparently yes, under Ubuntu 24.04 with Wayland yes. That is just my observation in June 2024.