That will happen only if your CPUs are already maxed out.
Under ideal conditions, the default should work fine. But if you are dealing with network jitter and several clients pumping traffic at different rates, for a short period of time all the workers will be busy while new SIP messages will pile up and the default queue will not be able to hold all of them.
An increased UDP queue will hold all the SIP messages giving time the workers to consume them.
The idea is that you have the UDP queue empty all most of the time, and only when there’s a short temporary traffic burst, it will come to the rescue.
If the UDP queue of full most of the time, then increasing it obviously won’t help. The increased UDP queue works only for coping with short traffic bursts.

-ovidiu

On Sat, Mar 23, 2024 at 16:22 Alex Balashov via sr-users <sr-users@lists.kamailio.org> wrote:
Sure, but if you're blowing through the default, that means you're not consistently coping with the load due to some other factors. Does it not follow that enlarging the queue will just give you more backlog without increasing throughput?

-- Alex

> On Mar 23, 2024, at 1:54 PM, Fred Posner <fred@pgpx.io> wrote:
>
> The default queue I believe is about 2MB. Not very hard to exceed that queue while still having a good amount of CPU/processor available.
>
> -- Fred Posner
> Sent from mobile
> Phone: +1 (352) 664-3733
> qxork.com
>
>
>
>> On Mar 23, 2024, at 11:47 AM, Alex Balashov via sr-users <sr-users@lists.kamailio.org> wrote:
>>
>> 
>>> On Mar 22, 2024, at 10:21 PM, Ovidiu Sas <osas@voipembedded.com> wrote:
>>>
>>> The default udp queue length is not enough for high cps.
>>
>> That's interesting. I'm not necessarily saying you're wrong, but I'd be curious to know more about what informs this theory.
>>
>> --
>> Alex Balashov
>> Principal Consultant
>> Evariste Systems LLC
>> Web: https://evaristesys.com
>> Tel: +1-706-510-6800
>>
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>> To unsubscribe send an email to sr-users-leave@lists.kamailio.org
>> Important: keep the mailing list in the recipients, do not reply only to the sender!
>> Edit mailing list options or unsubscribe:

--
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: