From owner-freebsd-net@FreeBSD.ORG Tue Dec 2 05:00:00 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24E6B88D; Tue, 2 Dec 2014 05:00:00 +0000 (UTC) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E651FDD8; Tue, 2 Dec 2014 04:59:59 +0000 (UTC) Received: from pool-96-250-5-187.nycmny.fios.verizon.net ([96.250.5.187]:58967 helo=[172.27.111.3]) by vps.hungerhost.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1XvfZ7-0003nJ-KW; Mon, 01 Dec 2014 23:59:57 -0500 From: "George Neville-Neil" To: "Julian Elischer" Subject: Re: Enabling VIMAGE in GENERIC Date: Mon, 01 Dec 2014 23:59:56 -0500 Message-ID: <84B51B87-22E2-4A8D-BB31-DFB1ADBAD05E@neville-neil.com> In-Reply-To: <547D3C3A.5030408@freebsd.org> References: <1423616F-F44D-47E5-8595-DE862DC04464@bsdimp.com> <546A34C8.6060004@freebsd.org> <546C8812.2070904@FreeBSD.org> <20141119195923.GS24601@funkthat.com> <69A8C06F-A7F6-49EC-8601-91AC4CDBFB13@FreeBSD.org> <547364EB.7090505@freebsd.org> <547AEB93.3050600@freebsd.org> <547D3C3A.5030408@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailer: MailMate (1.8r4576) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: Craig Rodrigues , FreeBSD Net , "freebsd-virtualization@freebsd.org" , freebsd-arch X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 05:00:00 -0000 On 1 Dec 2014, at 23:12, Julian Elischer wrote: > On 12/2/14, 12:07 PM, George Neville-Neil wrote: >> On 30 Nov 2014, at 5:04, Julian Elischer wrote: >> >>> On 11/29/14, 5:28 PM, Craig Rodrigues wrote: >>>> On Mon, Nov 24, 2014 at 9:03 AM, Julian Elischer = >>>> > wrote: >>>> > >>>> > >>>> > also look at the following: (a little dated) >>>> > >>>> > = >>>> http://p4web.freebsd.org/@md=3Dd&cd=3D//depot/projects/vimage/&cdf=3D= //depot/projects/vimage/porting_to_vimage.txt&c=3DtO0@//depot/projects/vi= mage/porting_to_vimage.txt?ac=3D22 >>>> >>>> >>>> This is a useful document. I put it on the wiki: = >>>> https://wiki.freebsd.org/VIMAGE/porting-to-vimage >>> >>> Thanks.. wow, did I actually know ALL that only 5 years ago? >>> Scary. probbaly worth having someone who is currently active and up = >>> to date look at it to see if it's all still correct.. >>> especially the module load/unload stuff. >>> >>>> >>>> -- = >>>> Craig >>> >> >> >> On a slight tangent. I ran VIMAGE kernels vs. non VIMAGE kernels for = >> both a VANILLA kernel >> and a PF kernel (PF on but no rules) as a quick smoke test today. The = >> raw forwarding performance >> was unchanged between kernels with and without VIMAGE on a 10G based = >> system in the Sentex lab >> (lion1). I will be doing a bit more work in this area and will then = >> put up some results in my >> netperf github repo. >> >> The tests are easy enough to run if you have 3 systems, and Conductor = >> installed. The source, sink >> and dut config files are all there to be updated and tried. >> >> Best, >> George >> >> > the interesting benchmarks are if you have multiple sessions and = > spread them across multiple vimage jails, and compare that with the = > same number of sessions crowded onto a single machine.. > > lock contention goes down of course so things can actually get faster. All in good time. Best, George