Constant "High CPU Usage" Alerts for certain cameras
Hello everyone !
Have been running Frigate NVR for a couple of years now, and although it generally works, -and-is-kinda-great I would argue, I do have a couple issues that annoy me, that I am pretty sure are my mistake rather than actual problems. This is why I would like your help !
I have 3 main issues !
- The UI always shows me "[camera-name] has high detect CPU usage (193%)". Now, for the cameras that do show the high-cpu usage warnings, I do have the main stream set to detect, rather than the sub stream. But since they are outside and have quite a big field of view, if I set the detect stream to the low-res, the detections aren't all that great. My question is why do I get 200% CPU usage, when my actual CPU, is mostly sleeping ? (will explain the setup later). And could I possibly improve this somehow ?
- When first loading the web UI with all the camera views, frigate most of the time, loads pretty fast. At least on local network. Less than 1s. But then, when clicking a camera to open it for full single view, most camera feeds take more than 1-2s to load, and some might even take 4-5+ seconds. This, is on my local network as well.
- Sometimes, recordings are lost. Meaning for a specific time-range, maybe even a couple of hours, for SOME cameras, I might be able to see the low-res "timelapse-like" preview when seeking the timeline, but when actually clicking there is no video available. This is weird. 😃 For me, the most important thing 100% is a full 24/7 record of what is going on. No matter how good detections might have gotten, I still can't rely on them.
Anyway, I took the time to ask, and I hope someone might have some input to share with me, on (possibly) a wrong config, or something I could improve.
My Setup:
Running Frigate (currently 0.17.1) in Docker, on Unraid.
The machine is a Dual Xeon 2690v2 | 128GB RAM | 1660 Ti and I have both a dual TPU module and a dedicated SSD only for Frigate. Nothing else access it.
My Frigate Config:
https://pastebin.com/QPZgVwfA
My Cameras are all TP-Link Tapo, but one that is a Dahua Dual lens camera.
Any suggestions are welcome.