High CPU usage after upgrade from 1.34.26
Posted: Fri Oct 08, 2021 9:59 am
I have i9-10850K, 64GB ram on Fedora34 with 22 cameras 720p 10fps - Record, 17 cameras 1080p 10fps - Record, 78 cameras 1080p 8fps - Nodect.
All cameras are setup
source: ffmpeg
Target colorspace: 24 bit colour (to lower comsumption /dev/shm on 1.34.26 it took about 17GB on 1.37.1 2GB)
Save JPEGs: disable
Video Writer: Camera Passthrough
clear Timestamp Label Format
Maximum Image Buffer Size : 500 (change from 0 because log warning "Keyframe interval may be larger than MaxImageBufferCount and PreEventCount. Please increase MaxImageBufferCount" but doesnt help)
Pre Event Image Count: 8
Post Event Image Count: 8
On version 1.36.24 tooks abou 50% CPU with decoding all cameras.
On version 1.37.1 zoneminder handle max 90 cameras with DecodingEnabled it tooks about 40% CPU. With more cameras with DecodingEnabled it tooks 100% and doesnt start recording.
With disabled decoding it tooks about 2% CPU which is great, but I use liveview to check if camera is working and no one turned the camera in another direction. There are no alarms on many cameras all day. If zoneminder refresh snapshoot every hour as liveview preview it would be great.
Any ideas how to solve it?
All cameras are setup
source: ffmpeg
Target colorspace: 24 bit colour (to lower comsumption /dev/shm on 1.34.26 it took about 17GB on 1.37.1 2GB)
Save JPEGs: disable
Video Writer: Camera Passthrough
clear Timestamp Label Format
Maximum Image Buffer Size : 500 (change from 0 because log warning "Keyframe interval may be larger than MaxImageBufferCount and PreEventCount. Please increase MaxImageBufferCount" but doesnt help)
Pre Event Image Count: 8
Post Event Image Count: 8
On version 1.36.24 tooks abou 50% CPU with decoding all cameras.
On version 1.37.1 zoneminder handle max 90 cameras with DecodingEnabled it tooks about 40% CPU. With more cameras with DecodingEnabled it tooks 100% and doesnt start recording.
With disabled decoding it tooks about 2% CPU which is great, but I use liveview to check if camera is working and no one turned the camera in another direction. There are no alarms on many cameras all day. If zoneminder refresh snapshoot every hour as liveview preview it would be great.
Any ideas how to solve it?