During high cpu load and high disk activity (when most camera modect-ing), many events are skipped (incomplete/blank frame).
It seems that the slow disk write caused this, or may be I'm wrong ? then I change the mount option of the partition with
Code: Select all
-orw,data=writeback,noatime,nodiratime
I got best frames when splitting the disk into 4 partitions, ext3 with above mount option.
Each partition holds recording for 2 cams, this is the layout
partiions mnt_point
part1 /mnt/zm/part1
part2 /mnt/zm/part2
part3 /mnt/zm/part3
part4 /mnt/zm/part4
/path/to/zmwebrootdir/events/1 --> /mnt/zm/part1/m1
/path/to/zmwebrootdir/events/2 --> /mnt/zm/part1/m2
/path/to/zmwebrootdir/events/3 --> /mnt/zm/part2/m3
/path/to/zmwebrootdir/events/4 --> /mnt/zm/part2/m4
/path/to/zmwebrootdir/events/5 --> /mnt/zm/part3/m5
/path/to/zmwebrootdir/events/6 --> /mnt/zm/part3/m6
/path/to/zmwebrootdir/events/7 --> /mnt/zm/part4/m7
/path/to/zmwebrootdir/events/8 --> /mnt/zm/part4/m8
--> is symlink to
But the problem is that zmfilter only monitoring partition where zmwebrootdir/events (ZM_DIR_EVENTS) reside.
I think it's good if zm capable of handling multiple partitions for this situation. Or anyone has hack for this already ? let me know please...