[SOLVED] pfSense VM slow throughput, high CPU mostly interrupts

nhand42

Member
Jan 17, 2019
8
4
23
48
This has been solved - this thread is for anybody else who has the same problem and is searching for keywords.

An upgrade to Proxmox 7.0 has tanked the performance of virtualized pfSense 2.5.2. Pre-upgrade a download of 100Mbps used about 20% VCPU and now can't reach that bandwidth even 50Mbps needs 100% VCPU. The pfSense GUI and even the command line runs sluggish. Using "systat -vmstat 1" from the pfsense console shows interrupts are dominating the CPU usage (e.g. 70% Intr and 0% Idle).

Finally realized the problem is the default governor on Proxmox 7.0. It was previously "performance" and now runs a power-saving scheduler instead. This has been reported elsewhere in the forums but not in the context of pfSense running slowly due to high CPU usage or interrupts. The solution as posted elsewhere worked immediately and restored normal behaviour to pfSense.

Code:
echo "performance" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

I made this permanent by installing cpufrequtils and creating /etc/default/cpufrequtils

Code:
GOVERNOR=performance
 
Last edited:
  • Like
Reactions: hazaki and Dunuin

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!