CPU util

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
funyfizik
Posts: 2
Joined: Thu Aug 19, 2021 5:18 pm

CPU util

Post by funyfizik »

Hello to everyone, I has server with 16 CPUs 24Gb RAM and 26 IP cameras in FLHD recording, but Im get 70% CPU usage. What is the problem? Could GPU card help me to downgrade usage CPU?
User avatar
Andyrh
Posts: 281
Joined: Sat Oct 28, 2017 3:55 am

Re: CPU util

Post by Andyrh »

More information is needed.
1. Resolution of the the cameras
2. FPS
3. Are you using passthrough
4. Function (Record, Modect...)
5. Dedicated system?
6. exact version
7. OS
8. Other interesting things

You question is kind of like "My car won't start" Most people will say check the battery, but after more information is given the solution is don't use a Ford key in a Chevy.
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
funyfizik
Posts: 2
Joined: Thu Aug 19, 2021 5:18 pm

Re: CPU util

Post by funyfizik »

1. 1920 1080
2. 15

4. record

6. 1 34 26
7. ubuntu server 20
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: CPU util

Post by Baylink »

26 cameras over IP at 15fps 1080p is a pretty impressive load; it's like 6-8 times the load on my machine (12 IP cams, 6fps 720p on a 4-core i7 with 32G of ram, and my load average idles at 5 in modect, up around 8 in Montage Review).

Putting all of that on one machine is going to require some horsepower.
parky
Posts: 45
Joined: Sun Aug 28, 2011 8:41 am

Re: CPU util

Post by parky »

agreed Baylink, I have 8 cameras at 6fps 720P. On a Quad X5650 with 12GB ram in Mocord and it averages about 2

Maybe I could up the resolution a step based on your figures funyfizik, as now we have passthrough it more than halved the load from 1.34
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: CPU util

Post by Baylink »

It seems worth pointing out here that the general opinion about load on a linux box on current-generation Intel Hardware is that you can afford about two processes per core before things start to get out of hand.

So on my quad core i7, I can afford a load average of 8 as a reasonable standard number.
Post Reply