From owner-freebsd-net@FreeBSD.ORG Wed Jan 15 09:18:37 2014 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 ESMTPS id 1F578E65 for ; Wed, 15 Jan 2014 09:18:37 +0000 (UTC) Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D1E001CED for ; Wed, 15 Jan 2014 09:18:36 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id n16so908453oag.29 for ; Wed, 15 Jan 2014 01:18:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=1Z7a24hl8pO1b4xCZQUyUvk1Nc/QaNkU/Rem7vu8g5s=; b=TfQ5e4nWhqI7nHALoKnQtVqUfFyBRjTnThnhWHApIZy3iYNOnp3CSltpTs9N09GfHW 4X+RFknT5pk/sYftGGoACSZgpmvHnFbOITOrHxW6N4Eh0aCON+frJ8TJZSkp+kYg+g3s aOPdBuxb+G/4DA9N1PDCHrV2FyqfikzjiS/Haos5jWSc5VI1kYbBDsmN+kXrlDM7TYWT SjKMTAv+o0FVJ4zH06BxTUbZv3fSQXBPuHJCFcQOFw4nqumJ0FGRDrJ7jWry4QDHdLGe 3mcVt3x2qnNMY6f4Q7UTqgzFNQXLox2q0nt4bLtHIjcQWX92FFmYxW6E2xULZvJcyyhL y+wg== X-Gm-Message-State: ALoCoQmZ+942RzEuWLmgqwyqf7Ymsewl7xvrDPKzVrewEAg3E3DhRIelMjsONgQnIVLPJ8YN8lYq X-Received: by 10.60.119.70 with SMTP id ks6mr745558oeb.45.1389775816060; Wed, 15 Jan 2014 00:50:16 -0800 (PST) Received: from [172.21.0.33] (67-198-60-238.static.grandenetworks.net. [67.198.60.238]) by mx.google.com with ESMTPSA id r6sm3807056obi.14.2014.01.15.00.50.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 Jan 2014 00:50:14 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: FreeBSD network optimization project From: Jim Thompson In-Reply-To: <1389771099.940290294.rj98b435@frv34.ukr.net> Date: Wed, 15 Jan 2014 02:50:14 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <2E3DCBFC-9714-467C-90D6-A1E3B2BD1FB1@netgate.com> References: <52D637E0.8070603@smartspb.net> <1389771099.940290294.rj98b435@frv34.ukr.net> To: wishmaster X-Mailer: Apple Mail (2.1827) Cc: Dennis Yusupoff , freebsd-net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jan 2014 09:18:37 -0000 We=E2=80=99ve been more than willing for over a year. Jim On Jan 15, 2014, at 1:38 AM, wishmaster wrote: > Hi, >=20 > from my point of view I think there is one solution from your words. I = am about pf as NAT and dummynet as shaper. The pfSense uses own = implementation of bundle of pf+dummynet. Ermal, my be time has come and = you will commit this into FreeBSD HEAD? >=20 > Cheers, > w >=20 > --- Original message --- > From: "Dennis Yusupoff" > Date: 15 January 2014, 09:25:40 >=20 >=20 >=20 >> Vitalii, I would be very appreciate if you will publish anywere your >> current production results and future experience. >> And I agree with you in NAT problem. By the way, while pf NAT is the >> best of the all available (in terms of speed, convenience and easy >> management), it has a huge lack - needs in external FTP helper >> (ftp-proxy) and event that doesn't work 100% correctly. >> So far I would say that for ISP purpose (which, I would say, is the = most >> often use case, at least in Russia) we really need in rock solid NAT = and >> shapers, in the scope of one mechanism. At the moment majority use at >> their NAT routers dummynet (for it mask flexibility) in ipfw and pf = NAT >> for features described above. It's inconveniently. >>=20 >> 14.01.2014 21:19, Vitalii Duk =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> Luigi, your project is really interesting, you've done a great job! >>> I will try to test ipfw and dummynet with netmap in my netork. >>> But there is still a problem with NAT and libalias. I havent tried = new >>> SMP-friendly pf NAT, maybe it will give a good perfomance. But it = will be >>> also great to have something working with ipfw. >>>=20 >>> I think in my previous list I forget to note about two more = problems: >>> 1. Not full support of LACP in FreeBSD (for example it's not = possible to >>> set priority, hash algorithm and mode(active/passive)). >>> 2. No support of *RFC 3069 (IP unnumbered/SuperVLAN).* >>>=20 >>> 2014/1/14 Luigi Rizzo >>>=20 >>>>=20 >>>>=20 >>>> On Tue, Jan 14, 2014 at 6:26 AM, Luigi Rizzo = wrote: >>>>=20 >>>>> On Tue, Jan 14, 2014 at 5:48 AM, Vitalii Duk = wrote: >>>>>=20 >>>>>> Hello, colleagues! >>>>>>=20 >>>>>> I'm working in ISP and use FreeBSD on BRAS'es. >>>>>> I have noticed that there are few problems in FreeBSD, which do = not allow >>>>>> to use it on high speeds (>10G, >2Mpps). >>>>>>=20 >>>>> for this type of applications you really want to look at netmap >>>>>=20 >>>>> http://info.iet.unipi.it/~luigi/netmap/ >>>>>=20 >>>>> which already does a lot of what you need. >>>>>=20 >>>> and if you feel like funding some specific work in this area >>>> you can contact me off list >>>>=20 >>>> cheers >>>> luigi >>>>=20 >>>>> cheers >>>>> luigi >>>>>=20 >>>>>> So I have a suggestion to create a list of improvements that = needed to be >>>>>> done in FreeBSD collectively, to improve network perfomance and = be on the >>>>>> same or higher level as Linux or Vyatta. >>>>>> After we create a todo list, it's possible to organize a donation = for >>>>>> those >>>>>> developers who can do that job. >>>>>> I'm ready to donate money for this project, and I think that I'm = not only >>>>>> one interested in it. I like FreeBSD and I don't want to migrate = to >>>>>> another >>>>>> OS. >>>>>>=20 >>>>>> My list of improvements in very general words (needed to be = detailed): >>>>>> 1. Improve network subsystem and kernel to provide >10G = forwarding. >>>>>> 2. Improve dummynet to provide massive shaping service and to be = not >>>>>> single >>>>>> threaded (or maybe write something radically new). >>>>>> 3. Replace/rewrite libalias to support massive NAT service and = remove >>>>>> current problems and limitations (non-SMP, offloading problems, = etc). >>>>>> 4. Better work of tcpdump on >10G speeds (BPF improvements). >>>>>>=20 >>>>>> Thank you in advance. Waiting for some other suggestions and = support from >>>>>> specialists. >>>>>>=20 >>>>>> Best regars, dv. >>>>>> _______________________________________________ >>>>>> 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" >>>>>>=20 >>>>>=20 >>>>>=20 >>>>> -- >>>>> = -----------------------------------------+------------------------------- >>>>> Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. = dell'Informazione >>>>> http://www.iet.unipi.it/~luigi/ . Universita` di Pisa >>>>> TEL +39-050-2211611 . via Diotisalvi 2 >>>>> Mobile +39-338-6809875 . 56122 PISA (Italy) >>>>> = -----------------------------------------+------------------------------- >>>>>=20 >>>>=20 >>>>=20 >>>> -- >>>> = -----------------------------------------+------------------------------- >>>> Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. = dell'Informazione >>>> http://www.iet.unipi.it/~luigi/ . Universita` di Pisa >>>> TEL +39-050-2211611 . via Diotisalvi 2 >>>> Mobile +39-338-6809875 . 56122 PISA (Italy) >>>> = -----------------------------------------+------------------------------- >>>>=20 >>> _______________________________________________ >>> 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" >>>=20 >>>=20 >>=20 >> --=20 >> Best regards, >> Dennis Yusupoff, >> network engineer of >> Smart-Telecom ISP >> Russia, Saint-Petersburg=20 >>=20 >> _______________________________________________ >> 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"=20 > _______________________________________________ > 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"