From owner-freebsd-net@FreeBSD.ORG Sun Dec 15 20:35:41 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1F8C56AF for ; Sun, 15 Dec 2013 20:35:41 +0000 (UTC) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CEF36102F for ; Sun, 15 Dec 2013 20:35:40 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id j5so988287qaq.7 for ; Sun, 15 Dec 2013 12:35:40 -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:content-transfer-encoding; bh=Wokod05gb6bntYMV0x2p45Oc8Yh3TpOtK/s/GuNU+d0=; b=shjibnu3r9Ng21klJd1R6NqKDew4YNNdSfAt+V5jkvzEn1qHrBH8OSWTI5eFLfM3fW rDE+v64cenlk3CS6hdLqWGNnXaUbNtRHvIXrED3oLDPc/KDT5tAo5qKzH1/UL3IlNHeR wR52mr9UQxP9m2Mg+MtyDbWr/spHm6qudDVMWHusnlpu3rx0gOqEGuJrCkjDAosfvkbW oIQ9qoOscTGVMa9XqMjCXxyolO6JD41aROOYiRnscztPayXS1oMRpdj7Hlddr8rCs97d d8VhYpP2oPmux+JLm7/IkS3TFSDnNNa1ewbmt3SAIzEjv5DCFmILA1wm9wEwDAo6/pDM Rxog== MIME-Version: 1.0 X-Received: by 10.224.67.200 with SMTP id s8mr26107582qai.75.1387139739878; Sun, 15 Dec 2013 12:35:39 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sun, 15 Dec 2013 12:35:39 -0800 (PST) In-Reply-To: References: <523457A1.3090606@debian.org> Date: Sun, 15 Dec 2013 12:35:39 -0800 X-Google-Sender-Auth: 5boT7rSYKhzLlUfjlKTTsR8nrpA Message-ID: Subject: Re: IPSEC From: Adrian Chadd To: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Eitan Adler , Robert Millan , "debian-bsd@lists.debian.org" , "freebsd-net@freebsd.org" 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: Sun, 15 Dec 2013 20:35:41 -0000 If it's actually improving performance then it's likely some kind of data / code alignment / caching interplay. It'd be a good project to hunt that down and figure out what's going on. -a On 8 December 2013 11:02, Olivier Cochard-Labb=E9 wrot= e: > On Sun, Dec 8, 2013 at 12:16 AM, Eitan Adler wrote= : >> Hi all, >> >> I understand this is an old thread but I do not see an answer here. >> Can anyone answer the question below? >> >> On Sat, Sep 14, 2013 at 8:33 AM, Robert Millan wrote: >>> >>> Hi! >>> >>> Is there any particular reason (performance, stability concerns...) >>> IPSEC support is not enabled in GENERIC? >>> >>> In Debian GNU/kFreeBSD we're considering enabling it in our default >>> builds, due to increased user demand and as it is already enabled for >>> our Linux-based flavours. >>> >>> However we're concerned about diverging from FreeBSD as there might be >>> unforeseen consequences. Is there any specific concern on your side? >>> >>> If not, perhaps it could be considered for HEAD after 10.0 release? >> >> > > Here are my own bench result regarding forwarding speed (paquet-per-secon= d) > with a kernel compiled without-ipsec and with ipsec (ipsec is not enabled > during the tests, just present on the kernel) of FreeBSD 10.0-PRERELEASE: > > ministat -s without-ipsec ipsec > x without-ipsec > + ipsec > +------------------------------------------------------------------------= --------+ > |x + x + +x x x + > +| > | |__________________A_____M____________| > | > | |_______________M_________A__________________________| > | > +------------------------------------------------------------------------= --------+ > N Min Max Median Avg Stdd= ev > x 5 1646075 1764528 1725461 1713080 44560.0= 59 > + 5 1685034 1833206 1724461 1748666.8 62356.2= 18 > No difference proven at 95.0% confidence > > I didn't see negative impact of enabling ipsec (it's even a little bit > better with it). > > Regards, > > Olivier > _______________________________________________ > 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"