Higher than expected CPU utilisation in Monitor mode

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
mun7
Posts: 4
Joined: Wed May 31, 2017 3:41 pm

Higher than expected CPU utilisation in Monitor mode

Post by mun7 »

Hi

My setup has only one camera at the moment. I've noticed that when the camera is set the Monitor mode, the CPU utilisation is around 20%. In Modest, it's around 85%. When it's disabled (None), CPU utilisation is <2%. Does anyone know why Monitor mode requires so many CPU cycles even when there is no viewer connected? Isn't Monitor essentially a standby mode that feeds RTSP streams to clients?

Thanks
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Higher than expected CPU utilisation in Monitor mode

Post by Magic919 »

It’s connecting to the camera, doing something with the RTSP, but then decoding the video. The latter being most of the hit. This all happens regardless of someone watching. That’s my understanding.

One day you might have a lighter option and an ‘on demand’ feature, but not currently.
-
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Higher than expected CPU utilisation in Monitor mode

Post by iconnor »

Current master has on demand functionality. Getting there.
Post Reply