Date: Thu, 26 Feb 2015 20:56:13 -0800 From: Garrett Cooper <yaneurabeya@gmail.com> To: Rui Paulo <rpaulo@me.com> Cc: svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>, Garrett Cooper <ngie@FreeBSD.org> Subject: Re: svn commit: r279197 - head Message-ID: <C0906576-7CC3-476D-81C7-950E2C75052D@gmail.com> In-Reply-To: <3b7e5239-f803-4270-a0c1-d6b0cbe07d97@me.com> References: <3b7e5239-f803-4270-a0c1-d6b0cbe07d97@me.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <rpaulo@me.com> 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 <stdin> = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ | 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 <stdin> = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ | 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 <stdin> = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ |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 <stdin> = +-------------------------------------------------------------------------= --------------------------------------------------------------------------= -------------------------------------------------------+ |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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C0906576-7CC3-476D-81C7-950E2C75052D>