From owner-freebsd-arch@FreeBSD.ORG Tue Oct 14 12:54:16 2014 Return-Path: Delivered-To: freebsd-arch@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 BA2A7568; Tue, 14 Oct 2014 12:54:16 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC38F9B6; Tue, 14 Oct 2014 12:54:15 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hi2so10033270wib.3 for ; Tue, 14 Oct 2014 05:54:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=moxtoELEe9C5snqJDIprkADyEPWkKD1WmGdefwrABMI=; b=hp5f75mvRhaaCFaVyhSX1l6VpxVHKJbRilkHZZok40Gdx9dxLbtGzVohS4KAmW9HrJ /YA92j0uR1+PTC8hPkSBNchfxOIHKypsmbC0OqbTmLI6PyYq/VfwJIK+gn/sy8DfDD3j M3eQ/AecaaTGpWDXfmJl5m64ynBi1ygx8ehMQvgSygv6WRBiKdpr6jSLamQV+wUu8EZ6 CNpBHwWCFm3OEbDCPY8u5mrGzDRWlkPRo16q+qWHw6Lf95TpK08IccpTP0cC2jSEwPtF IzwyaSYVGEuhJReFQczMXzezLt+p60OvXviLdJB8uhqG+96Eb3kH0tLIQRaAorZh1Hs+ aUww== X-Received: by 10.194.189.82 with SMTP id gg18mr2425936wjc.115.1413291254023; Tue, 14 Oct 2014 05:54:14 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.194.164.73 with HTTP; Tue, 14 Oct 2014 05:53:53 -0700 (PDT) In-Reply-To: References: From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Tue, 14 Oct 2014 14:53:53 +0200 X-Google-Sender-Auth: BFIwsLFn_vSaWlnJG5ku-1t8pRQ Message-ID: Subject: Re: Enabling VIMAGE by default for FreeBSD 11? To: Craig Rodrigues Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Net , "freebsd-virtualization@freebsd.org" , "Alexander V. Chernikov" , 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, 14 Oct 2014 12:54:16 -0000 On Tue, Oct 14, 2014 at 8:20 AM, Craig Rodrigues wrote: > On Sat, Oct 11, 2014 at 1:20 PM, Alexander V. Chernikov > wrote: > > > > > On 11 Oct 2014, at 21:58, Craig Rodrigues wrote: > > > > > Hi, > > > > > > What action items are left to enable VIMAGE by default for FreeBSD 11? > > Are there any tests results showing performance implications on different > > network-related workloads? > > > > > Alexander, > > Do you have a testbed where you could run a quick network test for > non-virtualized workload: > -> CURRENT without VIMAGE in kernel config > -> CURRENT with VIMAGE in kernel config > > and provide some results ? > I can use my forwarding/firewalling 10Giga lab for testing VIMAGE impact. Here are my ministat results (smallest packet size, value in packet-per-second, about 2000 flows). => I didn't see lot's of performance impact with VIMAGE option added in kernel. Forwarding difference : x forwarding.r272978-VIMAGE + forwarding.r272978 +----------------------------------------------------------------------+ |x +x x ++ + x x +| | |_____________________M__A________________________| | | |____________M____A________________| | +----------------------------------------------------------------------+ N Min Max Median Avg Stddev x 5 1929165 1998339 1963904 1966801.4 27506.256 + 5 1953943 2005868 1971503 1976523 19087.721 No difference proven at 95.0% confidence ipfw-statefull difference: x ipfw-statefull.r272978-VIMAGE + ipfw-statefull.r272978 +----------------------------------------------------------------------+ | x x * * + x+ +| ||_________MA__________| | | |_______________M_______A_______________________| | +----------------------------------------------------------------------+ N Min Max Median Avg Stddev x 5 1490042 1531750 1503590 1505175 16403.596 + 5 1502719 1589778 1517320 1529871.8 35404.181 No difference proven at 95.0% confidence pf-statefull difference: x pf-statefull.r272978-VIMAGE + pf-statefull.r272978 +----------------------------------------------------------------------+ |x + + x x *+ x +| | |__________________A____M_____________| | | |____________________A_M_________________| | +----------------------------------------------------------------------+ N Min Max Median Avg Stddev x 5 1315594 1341130 1334215 1331310 9769.922 + 5 1324108 1351078 1336257 1335044.2 10562.448 No difference proven at 95.0% confidence Regards