Page 1 of 1

Approaching buffer overrun etc

Posted: Tue Jul 18, 2006 6:59 am
by rchurch
I keep seeing this message in my logs?

Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size

What does it signify?

Posted: Tue Jul 18, 2006 7:23 am
by jameswilson
it usually means your running too high for your buffers/processor. It means that the processor cant get through the frames fast enough and the buffer sint big enough when the proc has to do something else ao it nearly runs out of buffer. Either increase your buffers, slow the framerate or decrease the resolution. I notie in your other post that dropping the buffers helped and i cant see why this would

Posted: Tue Jul 18, 2006 8:13 am
by rchurch
The machine is an AMD 3200 with 1Gb of ram, and the values for shared memory are as below.

It has 5 cameras doing 4 frames per second, two at 352x288, and 3 at 320x240, and they are all doing plain recording.

cat /proc/sys/kernel/shmall - 201326592
cat /proc/sys/kernel/shmmax - 201326592


Below are the values from the Buffers page, and they are higher than my frame rates.

Image Buffer Size (frames) - 12
Warmup Frames -12
Pre Event Image Buffer - 10
Post Event Image Buffer - 10
Alarm Frame Count 1


Isn't that adequate?

Posted: Tue Jul 18, 2006 9:09 am
by jameswilson
You need to increase the ring buffer 12 is too low, also if in record mode drop the prea nad post alarm to 2