Buffers for Record Function

Forum for questions and support relating to the 1.30.x releases only.
Locked
BaseballSS
Posts: 16
Joined: Tue Feb 12, 2019 8:45 pm

Buffers for Record Function

Post by BaseballSS »

What kind of buffer settings should I be using on monitors that are simply set to record? I wanted to reduce how much shared memory was being used by shrinking the buffers for these monitors. Originally the buffer ring size was set to 50. When I lowered it to the minimum (10) the log was filled with "approaching buffer overrun" warnings. I raised the ring size to 25 and haven't noticed any issues yet. How exactly do the buffer settings work with the record function? The docs say the ring buffer stores frames to be pulled in the event of an alarm, but the record function never enters an alarm state.
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Buffers for Record Function

Post by iconnor »

Not very many at all. Start at 1 and see if it complains.

You may actually need more because the zma process does the writing out to disk and if there is some lag in writing to disk it may fall behind. So 5-10 might be better numbers but it really depends on your IO throughput.
Locked