From owner-freebsd-stable@FreeBSD.ORG Wed Mar 18 19:49:45 2015 Return-Path: Delivered-To: freebsd-stable@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 EEEE6BAD for ; Wed, 18 Mar 2015 19:49:45 +0000 (UTC) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B48F3FAD for ; Wed, 18 Mar 2015 19:49:45 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id t2IJnh5O090492; Wed, 18 Mar 2015 15:49:43 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <5509D6C6.4050204@sentex.net> Date: Wed, 18 Mar 2015 15:49:26 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: John-Mark Gurney Subject: Re: 35-40% performance drop releng9 vs releng10 openvpn References: <5506250A.2000506@sentex.net> <20150316132055.GQ32288@funkthat.com> In-Reply-To: <20150316132055.GQ32288@funkthat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.75 Cc: FreeBSD-STABLE Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2015 19:49:46 -0000 On 3/16/2015 9:20 AM, John-Mark Gurney wrote: > > Since you have at test framework ready, you could generate some flame > graphs[1] using dtrace to help see where things might be having an > impact... > > These are very easy to generate, and posting them would be useful... > > [1] http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html Hi, I went through the steps to generate one. What args should I use for dtrace to generate the information that is helpful / useful ? For my setup, I have server1---------apu-------------server2 server1 has an openvpn tunnel to the apu I route server2's IP address across the VPN tunnel, so if I ping from server1 to server2's IP, it goes via the tunnel on the dtrace -x ustackframes=100 -n 'profile-99 /execname == "openvpn" && arg1/ { @[ustack()] = count(); } tick-30s { exit(0); }' -o 10.stacks which generated http://tancsa.com/10.svg ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/