Kamailio supports port reuse.
You just need to enable this feature in the config file and then
start several Kamailio copies. For example using different systemd units.

If I am not wrong, Kamailio supports distributing load to different
processes forks on different cores. This is a present out of box and you do
not need to do anything more.
Just need to create additional UDP childrens.

Sergey

On Thu, Feb 19, 2026 at 1:23 AM Sarju Garg <[email protected]>
wrote:

> Hi,
>
>
>
> I am exploring REUSE_PORT Option for UDP.
>
>
>
> I am getting high TPS on single UDP port say 5060.
>
>
>
> Our customer will send the complete load from one IP and one port only.
> And from my side I have one IP and one port. As per my understanding in
> that case tuple antropy cannot be achieved so was thinking if REUSE_PORT.
> Can be done to have parallel queue and as per Linux document, the multiple
> queue on same port is created.
>
>
>
> My TPS requirement is about 20000 and try to see if how to architect the
> same.
>
>
>
> Regards
>
> Sarju
>
>
>
>
>
> *From: *Sergey Safarov <[email protected]>
> *Date: *Wednesday, 18 February 2026 at 1:44 PM
> *To: *"Kamailio (SER) - Development Mailing List" <
> [email protected]>
> *Cc: *Sarju Garg <[email protected]>, "[email protected]" <
> [email protected]>, Chandrabhan Kumar <
> [email protected]>, Henning Westerholt <[email protected]>
> *Subject: *Re: [sr-dev] Re: SO_REUSEPORT
>
>
>
> for UTP transport all message to the same IP:PORT address use the same
> port when send via same socket.
>
>
>
> On Wed, Feb 18, 2026 at 9:31 AM Henning Westerholt via sr-dev <
> [email protected]> wrote:
>
> Hello,
>
> please describe what you are wanting to achieve. When we are talking about
> re-using ports in the SIP Kamailio context, usually its about TCP
> connections. This is supported from Kamailio when activated in the core.
>
> Cheers,
>
> Henning
>
>
> --
> Kamailio services – https://gilawa.com
>
>
>
> > -----Original Message-----
> > From: Sarju Garg <[email protected]>
> > Sent: Mittwoch, 18. Februar 2026 03:57
> > To: Federico Cabiddu <[email protected]>
> > Cc: Henning Westerholt <[email protected]>; Kamailio (SER) - Development
> > Mailing List <[email protected]>; [email protected]; M S
> > <[email protected]>; [email protected]; Chandrabhan Kumar
> > <[email protected]>; [email protected]
> > Subject: SO_REUSEPORT
> >
> > Hi all,
> >
> >
> > I want a help to understand if the reuse port feature is supported in
> the UDP
> > sockets.
> >
> >
> > I tried to have a look into the code but could not find much detail,
> >
> >
> > The link provides the development information is available, but it does
> not talk
> > about it.
> >
> >
> >
> >
> > Regards
> > Sarju
> >
> >
>
> _______________________________________________
> Kamailio - Development Mailing List -- [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
>
>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to