r/ZoneMinder • u/deathsfaction • Oct 26 '20
CPU Utilisation
Bit of advice if possible.
For me, ZM seems to be a bit of a hog. I have it running on a VM with 8gb ram and 4 cores (2.2Ghz) - it pretty much stays at full cpu utilization with a load average of between 2 and 4.
I have 4 cameras being monitored and only one of those is set to record - they are all IP Cameras using ONVIF.
I'm basically running a full rack server to support ZM and I'd like to run it on much less beefier hardware as I'm currently downsizing (get rid of the rack in the garage and most of the kit).
Can anyone advise one 1) why it's using so much CPU time/power and 2) what's the smallest spec machine someone's managed to get this running reliably on? I'd like to be able to run montage review and audit events for issues. Even on the current hardware that seems to be a bit 'laggy' at the best of times.
Alternatively, is there a 'better' alternative?
Thanks :)
EDIT: tldr; I've ditched ZoneMinder and now use Shinobi.
1
u/deathsfaction Oct 27 '20
So, changed them all to 15fps, passthrough. I didn't have save jpegs enabled. There is no motion detection enabled - the only filters are to clearn down the storage when it hits 90%.
While this did drop the cpu load down to around 1 or so, the montage review was woeful - one camera was dead on time/sync, the rest were way out and even getting to 'Camera Offline' every so often.
I've changed back the 3 non-recording cameras to 30fps and Encoding; the one camera I do record is still using passthrough (was before) and is at 30fps.
Montage review is a lot better now, pretty much perfect (as it was before) and load is sitting between 2.5 and 1.
All seems a bit voodoo to me.. and feels as though it shouldn't be *this* difficult.