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
[-- Attachment #1 --]
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’m 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!
========================
-j1:
$ grep ' 1:.*real' ts | awk 'NR > 1 { print $3 }' | ministat
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 ‘ 8:.*real' ts | awk 'NR > 1 { print $3 }' | ministat
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 = 264.747; m4 = 89.011; print (m1/m4), (m1-m4)'
2.97431778095 175.736
-j1 (statistically accurate) vs -j4:
$ python2.7 -c 'm1 = 261.83667; m4 = 89.011; print (m1/m4), (m1-m4)'
2.94162148499 172.82567
[-- Attachment #2 --]
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C0906576-7CC3-476D-81C7-950E2C75052D>
