trulyspinach / SMCAMDProcessor

Power management, monitoring and VirtualSMC plugin for AMD processors
BSD 3-Clause "New" or "Revised" License
1.04k stars 90 forks source link

Optimizing animation CPU usage in AMD Power Gadget #116

Open aluveitie opened 3 years ago

aluveitie commented 3 years ago

This is the normal CPU usage of the App based on version 0.6.2 (with kext version check removed):

Screenshot 2020-11-24 at 10 58 39

This is the CPU usage of the App after 0.6.3

Screenshot 2020-11-24 at 11 00 32

The new fluid drawing routine is responsible for up to 30% to 50% increased power usage in idle.

trulyspinach commented 3 years ago

Thanks for pointing this out. I have noticed this since adding the animation. However, I never kept it open for too long and around 17% CPU usage for an active animation GUI app is not a too big deal and totally acceptable to me. Considering if some would like to keep the gadget open all day this might become a big headache.

It is always good to keep optimizing tho. I'll see if it is possible to reduce CPU usage while keeping the same animation. Otherwise, there can be a small button at the interface to disable animation if wanted.

trulyspinach commented 3 years ago
Screen Shot 2020-11-24 at 6 33 19 PM
aluveitie commented 3 years ago

The App also pushes WindowServer CPU utilization considerably too.

I like to have it open since it saved me a couple of times when the power connection of pump was a little loose and suddenly stopped working. I just noticed this in time due to the CPU temp rising suddenly without any load on the system.

trulyspinach commented 9 months ago

@nanohelperDev Please do not post links to unreliable source.