Why does OPNsense report different CPU load than Proxmox

Started by binaryanomaly, September 17, 2022, 07:37:03 PM

Previous topic - Next topic
Hi,

I run OPNsense on Proxmox. With suricata enabled I max out at around 3 Gbps when testing, effectively it seems to be around 1.3 Gbps.

Looking for bottlenecks I discovered that
1. OPNsense reports a CPU usage of about 40%
2. Proxmox reports a CPU usage of >80%

This is a bit odd since one must be wrong. Proxmox would indicate that CPU is maxed out whereas according to OPNsense there's plenty of CPU left.

I assume Proxmox reports the real figure. Why does OPNsense say something completly different?

Hi
not working with proxmox but..
QuoteI assume Proxmox reports the real figure. Why does OPNsense say something completly different?
maybe vice versa?
https://forum.proxmox.com/threads/difference-in-cpu-consumption.78552/

Thanks, looks like they fixed that  ;)

(Spike is the reboot after changing the setting)

Quote from: Fright on September 19, 2022, 05:00:46 PM
Hi
not working with proxmox but..
QuoteI assume Proxmox reports the real figure. Why does OPNsense say something completly different?
maybe vice versa?
https://forum.proxmox.com/threads/difference-in-cpu-consumption.78552/
the reason is two differing points of view.  opnsense is reporting the load from the resources it's granted.  proxmox is reporting the load based on the entire host system..not jsut the singular vm.  both are correct.

Nah this is not true.
Proxmox reports resource usage of the to a VM assigned resources. Therefore they should be the same.


nope..they won't be..that's not how hypervisors work.

Look at the screenshot I just posted before.

There's 4 cores and 16 GB RAM assigned to OPNsense.
My system has more cores and more RAM. And the overall system load is different.