"increase ring buffer size" on centos/rh 6 ??
Posted: Tue Apr 29, 2014 8:48 pm
Sorry for the basic question but I've been having capture problems on a centos/rh 6 machine. This is on a modern machine (Intel(R) i5-3470 CPU @ 3.20GHz) with 8GB ram and 5 cameras grabbing 640x480 at 5 fps when idle.
The symptom is gobs of "unexpected packet type 201" and "buffer overrun" errors, and live streams, captures and downloaded videos are full of jerky movement and "ghosts".
I've tinkered with 24bit vs 8bit captures, reduced the alarm capture rate to 10FPS and increased the cpu priority settings of zm to -10.
I'm not getting any 'shmget' errors at startup, and switching to 8bit from 24bit reduced the size of the /dev/shm/zm.mmap* files by a factor of 3 as expected.
kernel.shmmax is 68719476736 which would seem to be plenty even for 24bit.
Is there some config setting I'm missing?
This is zm 1.26.5. I built it with cmake, and CMakeCache.txt contains ZM_NO_MMAP:BOOL=OFF which I assume means it's using mapped memory.
Any help would be much appreciated!
Thanks,
Rich
The symptom is gobs of "unexpected packet type 201" and "buffer overrun" errors, and live streams, captures and downloaded videos are full of jerky movement and "ghosts".
I've tinkered with 24bit vs 8bit captures, reduced the alarm capture rate to 10FPS and increased the cpu priority settings of zm to -10.
I'm not getting any 'shmget' errors at startup, and switching to 8bit from 24bit reduced the size of the /dev/shm/zm.mmap* files by a factor of 3 as expected.
kernel.shmmax is 68719476736 which would seem to be plenty even for 24bit.
Is there some config setting I'm missing?
This is zm 1.26.5. I built it with cmake, and CMakeCache.txt contains ZM_NO_MMAP:BOOL=OFF which I assume means it's using mapped memory.
Any help would be much appreciated!
Thanks,
Rich