From owner-freebsd-net@FreeBSD.ORG Sat Nov 9 20:57:14 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B9AE7198; Sat, 9 Nov 2013 20:57:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6931522E4; Sat, 9 Nov 2013 20:57:14 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id w4so2983330qcr.12 for ; Sat, 09 Nov 2013 12:57:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=eXlpf3jt5WVPI9sazq/AScyRyoDtef1Y9iBnlRvZXeU=; b=NEGLFsougQ4yXnFFa7keEabNznNwK6d4npfeaEHWjwTcu3lnXu0OOF35DrCks5d/6H wNPfIGEsl2VUqJ26jUXfi6fk+2OzMJrp+pWQ6kMeeFDmfAwJKCPDfSYPaSuFPhWrFkJS RzVUq+a+4zrHLozuW/VxjmybcEG/7cuv+SN1OMq3C0wCiXVcUs9XMpfqY3X2IGyRJOn/ mFtiKAZ+Nzb0iusKtyd/mAtKW9lXxyA7UTMRatCy5pbs7m10xug73oRH9xyvMrgVDc1/ w8OrqtAxk+faeOK86ek3bk5zDR1CMFRmo0H1FsmgqRqfZnd9ls/E68LnJuEJ3Y25F3HM PGCA== MIME-Version: 1.0 X-Received: by 10.49.99.98 with SMTP id ep2mr34061651qeb.9.1384030633622; Sat, 09 Nov 2013 12:57:13 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Sat, 9 Nov 2013 12:57:13 -0800 (PST) In-Reply-To: References: Date: Sat, 9 Nov 2013 12:57:13 -0800 X-Google-Sender-Auth: HqhKS0IS9N1LVtDuEq-p2K1uD34 Message-ID: Subject: Re: Question about network stack advancements to be on the same level as Linux kernel 3.9+ From: Adrian Chadd To: Oleg Moskalenko , Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Nov 2013 20:57:14 -0000 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 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"