From owner-freebsd-arch@FreeBSD.ORG Tue Dec 2 04:13:00 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B3828E2; Tue, 2 Dec 2014 04:13:00 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CF8F9A41; Tue, 2 Dec 2014 04:12:59 +0000 (UTC) Received: from Julian-MBP3.local (ppp121-45-246-72.lns20.per2.internode.on.net [121.45.246.72]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id sB24CliN048450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 1 Dec 2014 20:12:50 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <547D3C3A.5030408@freebsd.org> Date: Tue, 02 Dec 2014 12:12:42 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: George Neville-Neil Subject: Re: Enabling VIMAGE in GENERIC 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Craig Rodrigues , FreeBSD Net , "freebsd-virtualization@freebsd.org" , freebsd-arch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 04:13:00 -0000 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=d&cd=//depot/projects/vimage/&cdf=//depot/projects/vimage/porting_to_vimage.txt&c=tO0@//depot/projects/vimage/porting_to_vimage.txt?ac=22 >>> >>> >>> 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.