Optimizing for Continuous Record
Posted: Sun Jun 05, 2016 12:44 pm
Hi,
I'm currently running ZoneMinder 1.29.0 to continuously record streams from 4 networked cameras at ~30 fps (704x480 resolution). The embedded machine running ZoneMinder is a bit under-powered (single core Intel Atom at 2 GHz) and really seems to struggle with this task. Load average is around 4.53 and my main concern is dropped frames.
I would like to optimize my ZoneMinder configuration for continuous record (no motion detection or image analysis). I have already unchecked the RUN_AUDIT option as it can cause data loss issues for my application, but am using the default ZoneMinder settings for almost everything else. I have noticed that the 'zma' processes are consuming a lot of CPU resources; are these processes necessary if no image analysis is being done? I am using the 'Record' function on each stream, is there another option I need to set to prevent ZoneMinder from attempting image analysis?
Another issue I have is that my mysql database gets corrupted about once a week and needs to be restored from a backup I created just after installing ZoneMinder. I believe this is caused by the huge number of entries written to the database for the continuously recorded frames. My image data is being archived to an external drive and I don't have much use for the events database other than to confirm recording occurred at any given time. I have thought about periodically running a filter to delete all events from the database as a workaround, but there must be some better way to handle this. Would it help to increase the BULK_FRAME_INTERVAL option? It is currently set to the default value: 100.
Thanks for the help!
I'm currently running ZoneMinder 1.29.0 to continuously record streams from 4 networked cameras at ~30 fps (704x480 resolution). The embedded machine running ZoneMinder is a bit under-powered (single core Intel Atom at 2 GHz) and really seems to struggle with this task. Load average is around 4.53 and my main concern is dropped frames.
I would like to optimize my ZoneMinder configuration for continuous record (no motion detection or image analysis). I have already unchecked the RUN_AUDIT option as it can cause data loss issues for my application, but am using the default ZoneMinder settings for almost everything else. I have noticed that the 'zma' processes are consuming a lot of CPU resources; are these processes necessary if no image analysis is being done? I am using the 'Record' function on each stream, is there another option I need to set to prevent ZoneMinder from attempting image analysis?
Another issue I have is that my mysql database gets corrupted about once a week and needs to be restored from a backup I created just after installing ZoneMinder. I believe this is caused by the huge number of entries written to the database for the continuously recorded frames. My image data is being archived to an external drive and I don't have much use for the events database other than to confirm recording occurred at any given time. I have thought about periodically running a filter to delete all events from the database as a workaround, but there must be some better way to handle this. Would it help to increase the BULK_FRAME_INTERVAL option? It is currently set to the default value: 100.
Thanks for the help!