OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: lordnikon on October 09, 2024, 05:23:34 AM

Title: System Performance drops off
Post by: lordnikon on October 09, 2024, 05:23:34 AM
I performed a clean install of the 24.7 DVD iso on my Proxmox VM, which was working as expected until I upgraded to 24.7.5_3, Boot times went from 1-3 minutes to 13-18 Minutes on the same hardware configuration. I tried adding the Intel CPU Microcode update and setting the VM CPU Type to Native, but the problem persisted. After the Firewall was running for about 20-30 minutes, the console was so unresponsive login would time out at 300 seconds. This VM is provisioned with 16GB of ram and 8 VCPU's. after a couple of minutes the memory usage was pegged out, then CPU utilization would hit 100% across all VCPU's. lol What did you guys do? :o
Title: Re: System Performance drops off
Post by: meyergru on October 09, 2024, 06:23:18 PM
How would you expect a CPU microcode update to work in a virtual machine?

Did you disable ballooning for RAM? You would only need more than 8 GByte if you use zenarmor.
Title: Re: System Performance drops off
Post by: lordnikon on October 10, 2024, 08:10:35 AM
Yes, ballooning is disabled. But it didn't start performing poorly until the update. I may be incorrect about the Microcode updates, however it is possible for microcode changes to affect VM performance, especially related to vulnerability mitigations. That being said, the ACL problems that were resolved seem to have resolved the issue as the PHP-CGI instances aren't consuming the memory like they were before. Also, Boot times have returned to normal.

This was a rough update to be sure, but I am glad that the issue was resolved in 24.7.6. =D
Title: Re: System Performance drops off
Post by: meyergru on October 10, 2024, 09:53:57 AM
What I meant, was that the microcode updates will not work if applied from within the VM. You must do that on the Proxmox host itself.