#High CPU Usage - how to diagnose?

8 messages · Page 1 of 1 (latest)

versed gate
#

Hey guys, so my Home Assistant Installation became rather unresponsive. It's running with HA OS on a N100 mini-PC so it should have no isses whatsover but linux load was above 40 for hours.
A restart "fixed" it, but I'd like to investigate what happened. Where should I start looking?

Thanks 🙂

leaden robin
#

Install the glances addon, open it, press z and c and share a picture of what you see.
Load can also be caused by IO so check that too.

versed gate
#

Ah, very nice! Thank you. Here you go.
Seems that at least currenty frigate is using a lot of cpu but that's to be expected. I still have to optimize here.

#

oh... OHHH!!!
Spiderman has decided to cast its web right in front of one my cameras, creating constant object detections.

leaden robin
#

That's hilarious. I'm not much into object detection but I think people use coral TPUs or the iGPU to alleviate high CPU utilization. The latter is probably just for *coding though.

versed gate
#

I use OpenVino GPU acelleration - but that's only for object detection. Motion detection always runs on the CPU 😄

winter moss
#

You def want a coral TPU.

versed gate
#

What would a coral TPU change? Coral or any other Hardware Acceleration will only affect object detection. Motion detection, recording, etc. supports CPU only.