Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 13:58:25 -0800
From:      Oleg Moskalenko <mom040267@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Question about network stack advancements to be on the same level as Linux kernel 3.9+
Message-ID:  <CALDtMrLAeWekT1Zp%2BEt8r%2BWzF2V2gruka_M%2B%2Bk2yxq=AvXv8Gw@mail.gmail.com>
In-Reply-To: <CAJ-VmokOp8Jo8giwnmis7VQwB6KJLAk6BwPeqw0ppZjkz7Wtsg@mail.gmail.com>
References:  <CALDtMr%2B%2B7uYiJWyhEdYOR5vxhGSJPKFXXc8L%2BKRaVctUnZaiKA@mail.gmail.com> <CAJ-VmokOp8Jo8giwnmis7VQwB6KJLAk6BwPeqw0ppZjkz7Wtsg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Those kind of advancements make much more sense for UDP than for TCP.

Of course TCP would benefit from them, too, but they are really critical
for UDP.

TCP stack is already relatively advanced, and the improvements will help in
only some really extreme high-load use cases - when the TCP listener is the
bottleneck. On the other hand, UDP would benefit from the improvements even
in usual ordinary use cases. If I may suggest the priority, it would make
much more sense to start improving the stack with the UDP.

Thanks
Oleg



On Sat, Nov 9, 2013 at 12:57 PM, Adrian Chadd <adrian@freebsd.org> wrote:

> This was talked about at bsdcan. Gleb indicated interest in doing it
> for at least TCP.
>
> Gleb - any other comments?
>
>
>
> -adrian
>
>
>
> On 9 November 2013 11:46, Oleg Moskalenko <mom040267@gmail.com> wrote:
> > Hi
> >
> > I am a developer of rfc5766-turn-server project. I am using FreeBSD as
> the
> > main dev platform but I am porting it to everywhere else. I noticed that
> > Linux kernel 3.9+ has some tremendous network stack improvements which
> can
> > actually help us to achieve the performance goal - the efficient
> symmetric
> > UDP multithreading server. I tested the kernel 3.11 and indeed it works
> > perfectly:
> >
> > 1) It allows multiple UDP sockets to be bound to the same local address
> and
> > port;
> > 2) It distributes the incoming traffic "fairly" among the UDP sockets;
> > 3) It preserves the source-destination communication path (persistent
> path)
> > so that the same socket will always receive the data from the same
> source.
> >
> > This is an article about the change:
> >
> > https://lwn.net/Articles/542629/
> >
> > Those features allow very efficient UDP servers to be created. That was
> not
> > possible with older Linuxes and with current FreeBSD (I use version 9.1).
> >
> > Are there any plans in FreeBSD to adopt the same kind of changes ? With
> > growing media-over-internet use cases, making UDP servers more efficient
> is
> > getting a high priority task status.
> >
> > Thanks
> > Oleg
> > https://code.google.com/p/rfc5766-turn-server/
> > _______________________________________________
> > freebsd-net@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALDtMrLAeWekT1Zp%2BEt8r%2BWzF2V2gruka_M%2B%2Bk2yxq=AvXv8Gw>