ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.9k stars 288 forks source link

Busy-wait issue....? #1264

Open cosmicdan opened 9 months ago

cosmicdan commented 9 months ago

FIrst of all thank you for Box64 and all the docs, I had very little trouble getting PalServer for Windows running on ARM64 :)

One question though, I noticed that the CPU usage is always maxed out - but not really, just as reported by the Linux OS. Is this possibly because of a busy-wait somewhere or something more technical?

Not a huge deal, I cap the CPU usage on the host anyway now that I've docker-ized it but it'd be nice to see the real CPU usage of the process :)

NB: FEX Emu does not have the same issue, though Box64 is faster - if having an unreliable CPU measurement on my control panel is the cost of that then so be it.

Thanks again!

cosmicdan commented 9 months ago

Apologies, you would've been notified with an empty body (accidentally pressed Enter), surprised GitHub lets you post an issue with only title and empty body haha.

ptitSeb commented 9 months ago

There are still a few busy wait yes. I'll probably try to replace some with better atomic later on (but a few might be left on).