From owner-freebsd-net@FreeBSD.ORG Sat Jan 31 10:12:45 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2EE21065672 for ; Sat, 31 Jan 2009 10:12:45 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outX.internet-mail-service.net (outx.internet-mail-service.net [216.240.47.247]) by mx1.freebsd.org (Postfix) with ESMTP id C7B9A8FC12 for ; Sat, 31 Jan 2009 10:12:45 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 79743248C; Sat, 31 Jan 2009 02:12:45 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 1F7DA2D601B; Sat, 31 Jan 2009 02:12:45 -0800 (PST) Message-ID: <4984241B.5010103@elischer.org> Date: Sat, 31 Jan 2009 02:12:43 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: FreeBSD virtualization mailing list , FreeBSD Net References: <498414E5.7020904@elischer.org> In-Reply-To: <498414E5.7020904@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Vimage globals vs structures measurements. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2009 10:12:46 -0000 Julian Elischer wrote: > > anyone who has commands and args for their favourite > thing the'd like me to test... send it in.. > > > so far using ttcp I have seem no measureable difference. > > but I have more tests to do of course.. > > for example throughput with small packets with ttcp (KB/Sec).... > > > x VIMAGE_GLOBALS > + NO_VIMAGE_GLOBALS > +-----------------------------------------------------------------+ > | + xx | > | + xxx + | > | + xxx x ++++ | > | x + x + + xxxxxxx +++++ | > |x + ++ xx xxx + ++++xxx x x x +++++ ***xxxxx ++++++++| > | |_____________A______M______| | > | |________________AM________________| | > +-----------------------------------------------------------------+ > N Min Max Median Avg Stddev > x 40 48016.01 57361.32 56268.06 54915.582 2554.0133 > + 40 48999.66 59646.59 56261.58 56086.798 3119.1782 > _______________________________________________ > 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" as I said before mst of my tests have shown no real change but this one has the most change I've seen.. it's 160 byte udp packets sent between two identical machines (both using the same kernel each time). x VIMAGE_GLOBALS + NO_VIMAGE_GLOBALS +-----------------------------------------------------------------+ | + + ++ xx x x | | + + ++ +x++x +xx x x | | + + +++ + +*+**x+xxxx x | | + +++ +++x*++*+**x*x*xx x x x | | + +*+++++x**+*+**x*x*x*xx x x xx | | ++++*++++****+*+**x*x****x xxxx xxx | | + + xx + ++++*++*+****+***********x*xxxxx xxxx x| |+ +*+++ xx++*+*+*+****+****************x***x*xxx*xx x xx x| | |__________A__________| | | |_________A________| | +-----------------------------------------------------------------+ N Min Max Median Avg Stddev x 150 10175.11 11292.11 10763.80 10760.77 200.92124 + 150 10075.64 11019.12 10591.68 10580.059 172.29227 Difference at 95.0% confidence -180.711 +/- 42.3572 -1.67935% +/- 0.393626% (Student's t, pooled s = 187.155) this one showed a 1.7% slowdown where the one above showed a half percent speedup (but not considered significant). The first one shown above was TCP with 1500 byte packets on bge 1G interfaces.. more test ideas appreciated...