From owner-svn-src-all@FreeBSD.ORG Fri Feb 27 04:56:18 2015 Return-Path: Delivered-To: svn-src-all@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 5E61323A; Fri, 27 Feb 2015 04:56:18 +0000 (UTC) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 242ECF2D; Fri, 27 Feb 2015 04:56:18 +0000 (UTC) Received: by pablf10 with SMTP id lf10so19665502pab.12; Thu, 26 Feb 2015 20:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=jmxBxY1Pi5X2+V8VJw2Owe/2tGn//x3Z/j799p2vkBU=; b=PpMeK1vF/dacVmDCciSDWA5xxAetmHx8ialATp2h8uudbbzKJhJy0kS97aBikw6xRu pN0gH/+IcGtf/LFVAQyUV7FKZ8qA17UbLnAmH3h+EcNCUUCmY/zKb5EFWfdAfWhJ52Nt RuLSosLviZz9e+OSCknUQoV+TR0CDJjIh49TiobC/FNEIzUrbACcd3R2Dp9IkZFsW9Wz JXqtcGsNARsUN54Ii89Z5f9OQA3ETAJ9g9cLM7XW6kWGAJXxrdbESXXWFOKTRawnsRdi 7azi1jh9e9VJDcWuy19b5jG6QXCGvps7CXT8ImtJWZOH5wpLRQ5KkgUcSV8muTvD8IWB mmow== X-Received: by 10.70.133.168 with SMTP id pd8mr20714333pdb.122.1425012977080; Thu, 26 Feb 2015 20:56:17 -0800 (PST) Received: from ?IPv6:2601:8:ab80:7d6:15c9:2275:95cb:45c0? ([2601:8:ab80:7d6:15c9:2275:95cb:45c0]) by mx.google.com with ESMTPSA id ru8sm2578797pbb.20.2015.02.26.20.56.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Feb 2015 20:56:16 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_281750B4-B4A8-44A5-A5AD-B06844C01759"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r279197 - head From: Garrett Cooper In-Reply-To: <3b7e5239-f803-4270-a0c1-d6b0cbe07d97@me.com> Date: Thu, 26 Feb 2015 20:56:13 -0800 Message-Id: References: <3b7e5239-f803-4270-a0c1-d6b0cbe07d97@me.com> To: Rui Paulo X-Mailer: Apple Mail (2.1878.6) Cc: svn-src-all@freebsd.org, src-committers , Garrett Cooper X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 04:56:18 -0000 --Apple-Mail=_281750B4-B4A8-44A5-A5AD-B06844C01759 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Feb 23, 2015, at 11:42, Rui Paulo wrote: > How much time did this save? Test profile: - 4 x CPU VMware Fusion hosted amd64 VM with 4GB allocated to it and = with open-vm-tools installed - Kernel with WITNESS watch turned on. - Multiuser mode (because I=92m lazy) The worst case scenario was tested: - All BOOTSTRAPPING checks were removed - The default SRCCONF values were set - I built with i386 instead of amd64 (to force elftoolchain and the = dtrace tools to always be built). Observations: -j1: standard deviation was huge (5.75 is not statistically accurate), = so I threw out a few outliers and redid the numbers. -j1 vs -j4: ~3 minutes faster -> ~3x speedup -j4 vs -j8: -> no real noticeable change, but the outliers were = statistically larger. Cheers! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -j1: $ grep ' 1:.*real' ts | awk 'NR > 1 { print $3 }' | ministat=20 x = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ | x = = | | x x x x x x = x = x x| = ||__________________________________________________M____________________A= _______________________________________________________________________| = | = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ N Min Max Median Avg = Stddev x 10 259.57 275.06 263.04 264.747 = 5.7545094 -j1 (statistically more accurate sample, but smaller sample size): $ grep ' 1:.*real' ts | awk 'NR > 1 && NR < 8 { print $3 }' | ministat x = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ | xx x = x = x x| = ||________________________________________________________________________= ____________A____________________________________M________________________= ________________________| | = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ N Min Max Median Avg = Stddev x 6 260.45 263.8 262.46 261.83667 = 1.4530336 -j4: $ grep ' 4:.*real' ts | awk 'NR > 1 { print $3 }' | ministat x = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ |x x x x = x x = x x xx| | = |_________________________________________________________________________= _____A_M__________________________________________________________________= _________| | = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ N Min Max Median Avg = Stddev x 10 87.78 90.34 89.04 89.011 = 0.99822565 $ grep =91 8:.*real' ts | awk 'NR > 1 { print $3 }' | ministat = = =20 x = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ |x x x x = x x x x x = x| | = |________________________________________________________A_____M__________= ________________________________________| = | = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ N Min Max Median Avg = Stddev x 10 87.66 93.91 90.77 90.572 = 1.7769249 -j1 (statistically inaccurate) vs -j4: $ python2.7 -c 'm1 =3D 264.747; m4 =3D 89.011; print (m1/m4), (m1-m4)' = = =20 2.97431778095 175.736 -j1 (statistically accurate) vs -j4: $ python2.7 -c 'm1 =3D 261.83667; m4 =3D 89.011; print (m1/m4), (m1-m4)' = = =20 2.94162148499 172.82567 --Apple-Mail=_281750B4-B4A8-44A5-A5AD-B06844C01759 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJU7/jtAAoJEMZr5QU6S73eruQIAIA+KafrdVbRPqx8DvunIPoc F/OHtmlv8QRrAj78+0NWSidir7wbKqXLYyRRngkNGPWDWmEaVsHZmbnhvzeIWNFJ jSE3UmHKZMcttuii+PRxnVZmlCK+CxTiY4Q2P3FApJrx7iMnW41wcpBnL5Bl4k31 bCmnClalbkcFxydoH1sHwDHzm4kklc9Lc8GCgqzhzM+WXJHRkkqlhHzG1V2qL9gP TiBKjBk+/p4if0thPtbSAmy418WTfUcwQP5j4sjFQW8K4OkP6NzkPalaaMk3BBR2 PbRvOmAfW1rztX9uWpx6yg/5qtKZNk8+FeqS8XsGXG21MaC5oK6d80culrknpHI= =H/nR -----END PGP SIGNATURE----- --Apple-Mail=_281750B4-B4A8-44A5-A5AD-B06844C01759--