zoneminder 1.19.5, 4 640x480@5 cameras
Posted: Fri Oct 08, 2004 8:34 am
I have a P 2.4 ghz IBM x205 server, with 512 MB RAM and 160 GB ATA-100 hard disk, Fedora 2.
I am running zoneminder 1.19.5 (upgraded from 1.19.4) and 2 Axis network cameras, 210 and 206W at 640x480@ 5 fps on modect function. System load is around 0.5 when there is no movement, but when both cams start to record, load jumps to 1.5 and near 2. There is no swapping going on.
The interesting fact is, that during alarm & recording each zma process uses about 30 % cpu or more, though when alarm is off analyzing takes a lot less cpu power. Zmf doesn't take much anything, and zmc behaves well also.. And i'm not using analysis images or diagnostic images settings..
ZM_OPT_FRAME_SERVER=1
ZM_CREATE_ANALYSIS_IMAGES=0
ZM_RECORD_DIAG_IMAGES=0
ZM_RECORD_EVENT_STATS=0
Btw, if I put the cameras to Record mode, the load jumps to heaven just as fast, and again zma processesses consume most of the CPU time. Is that normal? Seems strange, because zmf should do the disk-writing?
With that kind of system load, i can't add a third or fourth camera (for example Axis 2100 or 210), because the system response time becomes very high and processes just start queueing up..
My question is, is the machine really too slow for more cameras or is it possible to optimize my settings or zoneminder itself somehow? Decreasing the capture resolution or fps isn't really an option
For example, maybe I could use 320x240 stream to detect motion and trigger alarms and then save 640x480 stream.. The cameras are able to give out several streams at same time. Or is it possible to optimize something in zm code or settings?
Is anyone else using several cameras at 640x480 @ 5 fps, what kind of hardware do you have?
Please give some optimizing or hardware hints, thank you all in advance
I am running zoneminder 1.19.5 (upgraded from 1.19.4) and 2 Axis network cameras, 210 and 206W at 640x480@ 5 fps on modect function. System load is around 0.5 when there is no movement, but when both cams start to record, load jumps to 1.5 and near 2. There is no swapping going on.
The interesting fact is, that during alarm & recording each zma process uses about 30 % cpu or more, though when alarm is off analyzing takes a lot less cpu power. Zmf doesn't take much anything, and zmc behaves well also.. And i'm not using analysis images or diagnostic images settings..
ZM_OPT_FRAME_SERVER=1
ZM_CREATE_ANALYSIS_IMAGES=0
ZM_RECORD_DIAG_IMAGES=0
ZM_RECORD_EVENT_STATS=0
Btw, if I put the cameras to Record mode, the load jumps to heaven just as fast, and again zma processesses consume most of the CPU time. Is that normal? Seems strange, because zmf should do the disk-writing?
With that kind of system load, i can't add a third or fourth camera (for example Axis 2100 or 210), because the system response time becomes very high and processes just start queueing up..
My question is, is the machine really too slow for more cameras or is it possible to optimize my settings or zoneminder itself somehow? Decreasing the capture resolution or fps isn't really an option
For example, maybe I could use 320x240 stream to detect motion and trigger alarms and then save 640x480 stream.. The cameras are able to give out several streams at same time. Or is it possible to optimize something in zm code or settings?
Is anyone else using several cameras at 640x480 @ 5 fps, what kind of hardware do you have?
Please give some optimizing or hardware hints, thank you all in advance