Is the CPU% 4.3 right on FreeBSD?
FreeBSD: 13.0
htop: 3.0.4
Could you try out the patch in #606?
Seems like all other tools on FreeBSD scale the CPU usage on the process swap time.
In my virtual machine kern.ccpu is 0, so the scale factor is just 1.0.
Could you try out the patch in #606?
Seems like all other tools on FreeBSD scale the CPU usage on the process swap time.
In my virtual machine
kern.ccpuis0, so the scale factor is just1.0.
The kern.ccpu is set to 0 in ULE scheduler.
Testing report: htop on FreeBSD seems to be showing CPU=0 for every task, both in v3.1.2 as well as current main. This draft PR does not have any impact on this. The FreeBSD 13.0-RELEASE-p10 VM I test in gets kernelFScale=2048 from the sysctl. That seems right but somewhere down the line the CPU calc seems to be broken. /DLange
For recent 3.3.0-dev:
- https://github.com/htop-dev/htop/issues/1208