Excessive resource usage on fanless PC

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
gstraccio
Posts: 6
Joined: Fri Aug 09, 2019 6:47 am

Excessive resource usage on fanless PC

Post by gstraccio » Mon Aug 19, 2019 11:51 am

Hi all!

I'm configuring ZM 1.32 installed on Ubuntu 18.04 LTS.

I've 3 IP cams decently running.When i ask for "Montage Review",
i observe an average cpu usage of about 40%.

Instead, if i ask for a full window of one of them Zm seems to get stuck.
Both cores reaches 100% of usage and to recover the control of ZM
i've to shut down Mozilla.

Any ideas?

Below details on my PC:
-memory
size: 7871MiB
-cpu
description: CPU
product: Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
vendor: Intel Corp.
physical id: 41
bus info: cpu@0
version: Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
slot: SOCKET 0
size: 1493MHz
capacity: 3800MHz
width: 64 bits
clock: 100MHz

I see two cores running.

Below some details of the SV3C cam that gave me problems:
Source type_: FFmpeg
Analysis FPS: 20
Maximum FPS: 20
Alarm Maximum FPS: 20
Source path :RTSP
Method :TCP
Target Color space:32bit
Width:1024
height:768



Bye!

bbunge
Posts: 2678
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Excessive resource usage on fanless PC

Post by bbunge » Tue Aug 20, 2019 1:11 am

What happens to your /dev/shm? Set your resolution lower and the frame rate lower. Set the frame rate at the camera and halve the resolution in Zoneminder. Just see what happens...

gstraccio
Posts: 6
Joined: Fri Aug 09, 2019 6:47 am

Re: Excessive resource usage on fanless PC

Post by gstraccio » Tue Aug 20, 2019 7:13 pm

About your questions:

- The voice " /dev/shm" as visibile in blue in ZM reports values always below 6%

- If a reduce the FPSs in tab "General" - only there - somethimes, it stops to capture at all.

- if i reduce "Capure Width/height" - only in that fields, somethimes it stops to capture,
other times, the cpu usage get reduced significantly.

Last time, i've forgot the "Scale" to 4x, meaning to magnifying some details,
and that cause the unresponsivity of the whole system.

Suggestions?

User avatar
iconnor
Posts: 1241
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Excessive resource usage on fanless PC

Post by iconnor » Wed Aug 21, 2019 7:18 pm

The FPS settings should be empty.
The width and height should match what the camera is sending.

You can always try upgrading to 1.33.14, it has a lot of fixes and improvements.
sudo add-apt-repository ppa:iconnor/zoneminder-master

gstraccio
Posts: 6
Joined: Fri Aug 09, 2019 6:47 am

Re: Excessive resource usage on fanless PC

Post by gstraccio » Sat Aug 24, 2019 7:59 pm

The final solution seems the upgrade to 1.33.14 !!

Now, it looks very cool!

Thx.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests