ZM seems to take a ton of CPU utilization

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
zm-noob
Posts: 3
Joined: Sun Sep 15, 2024 9:14 pm

ZM seems to take a ton of CPU utilization

Post by zm-noob »

This is a fresh Debian12 install. With just two Lorex IP cameras running, this VM (4 cpu, 16GB RAM) is already using nearly 3x the resources that the same SIX cameras do on a BlueIris VM (same specs 4cpu, 16GB RAM)

Im using ffmpeg/mocord and saving jpeg frames only, and using camera passthrough.

I have just GOT to be doing something wrong here - I cant see how windows will outperform linux here. Maybe there are some kind of guest tools for debian that I can get? Or something else?
User avatar
Andyrh
Posts: 302
Joined: Sat Oct 28, 2017 3:55 am

Re: ZM seems to take a ton of CPU utilization

Post by Andyrh »

Saving the jpgs takes a fair amount of CPU. Set the option to disabled and see if that helps.
I only save jpgs if I am working on zones for that monitor.
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
zm-noob
Posts: 3
Joined: Sun Sep 15, 2024 9:14 pm

Re: ZM seems to take a ton of CPU utilization

Post by zm-noob »

I disabled that, theres no change.
I also pulled up the camera with ffplay to see what the stream characteristics were as far as pixel width/height, and set those in ZM accordingly. Not sure bout the color depth so i left those at default of 32.

:?:
:|
dougmccrary
Posts: 1373
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: ZM seems to take a ton of CPU utilization

Post by dougmccrary »

color depth so i left those at default of 32.
that's the right setting.
Can you compare the size on disk of comparable BI and ZM files?
Post Reply