From owner-svn-src-head@freebsd.org Tue Oct 29 07:04:16 2019 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 321D017C3C8; Tue, 29 Oct 2019 07:04:16 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 472MyS0XtXz49QG; Tue, 29 Oct 2019 07:04:16 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id BBDD81AED4; Tue, 29 Oct 2019 07:04:15 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::3185:9ec5:f0ef:c62] (unknown [IPv6:2001:470:7a58:0:3185:9ec5:f0ef:c62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8F3384D3D9; Tue, 29 Oct 2019 08:04:13 +0100 (CET) From: Dimitry Andric Message-Id: <0938D185-8BF4-45CD-925E-328F03695518@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_6E4C7B7A-7B2C-477B-85D1-D57CA08D0830"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: svn commit: r353937 - in head/share: man/man5 mk Date: Tue, 29 Oct 2019 08:04:07 +0100 In-Reply-To: <20191027165934.GA54960@FreeBSD.org> Cc: svn-src-head , svn-src-all , src-committers , Enji Cooper To: Alexey Dokuchaev References: <201910231702.x9NH2jQv045130@repo.freebsd.org> <2B855247-5097-442D-8D4A-77D68D2F6186@gmail.com> <20191024124910.GA93913@FreeBSD.org> <67F6BDD3-B633-4C85-AE85-9B075FF0E49E@FreeBSD.org> <20191027165934.GA54960@FreeBSD.org> X-Mailer: Apple Mail (2.3445.104.11) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2019 07:04:16 -0000 --Apple-Mail=_6E4C7B7A-7B2C-477B-85D1-D57CA08D0830 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 27 Oct 2019, at 17:59, Alexey Dokuchaev wrote: > > On Sat, Oct 26, 2019 at 04:34:14PM +0200, Dimitry Andric wrote: ... >> I only tested -j24 on a 32-core system, but I could probably repeat the >> experiment with lower and higher -j values: [...] >> >> So ~2.3% difference in real time, which is not too bad I think. > > Well, I'd say it's acceptable. :-/ I also tested at low (-j4) and high (-j32) levels. It turns out that at low -j levels, the difference is less pronounced, just ~1.1% in real time. And at high -j levels, it is more pronounced, ~4.3% in real time. Note also that at high -j levels, the difference in system time seems to get more influence, e.g. at low -j the difference is ~4.5%, while at high -j the difference is ~7.2%. I guess it is because dynamic linking uses more syscalls. At -j4: Results for real time: --------------------------------------------------------------------------- x j4-static-real.txt + j4-dynamic-real.txt N Min Max Median Avg Stddev x 7 5508.58 5548.05 5533.25 5530.2829 12.323855 + 7 5514.68 5660.1 5591.25 5593.5143 59.98042 Difference at 95.0% confidence 63.2314 +/- 50.4309 1.14337% +/- 0.912329% (Student's t, pooled s = 43.2985) Results for user time: --------------------------------------------------------------------------- x j4-static-user.txt + j4-dynamic-user.txt N Min Max Median Avg Stddev x 7 19525.34 19607.74 19593.1 19582.78 29.037717 + 7 20178.84 20348.11 20214.28 20235.057 57.31409 Difference at 95.0% confidence 652.277 +/- 52.9155 3.33087% +/- 0.272077% (Student's t, pooled s = 45.4318) Results for system time: --------------------------------------------------------------------------- x j4-static-sys.txt + j4-dynamic-sys.txt N Min Max Median Avg Stddev x 7 1622.63 1634.98 1629.87 1629.1229 4.7234017 + 7 1672.25 1722.23 1704.49 1703.1729 15.724862 Difference at 95.0% confidence 74.05 +/- 13.5224 4.54539% +/- 0.833228% (Student's t, pooled s = 11.6099) At -j32: Results for real time: --------------------------------------------------------------------------- x j32-static-real.txt + j32-dynamic-real.txt N Min Max Median Avg Stddev x 7 1689.19 1735.36 1707.32 1707.8471 16.500078 + 7 1754.98 1812.57 1777.96 1781.6329 19.554159 Difference at 95.0% confidence 73.7857 +/- 21.0718 4.32039% +/- 1.25627% (Student's t, pooled s = 18.0917) Results for user time: --------------------------------------------------------------------------- x j32-static-user.txt + j32-dynamic-user.txt N Min Max Median Avg Stddev x 7 38545.36 38802.6 38609.87 38641.009 105.11904 + 7 39430.93 39924.98 39856.91 39769.979 185.3612 Difference at 95.0% confidence 1128.97 +/- 175.5 2.92169% +/- 0.457446% (Student's t, pooled s = 150.68) Results for system time: --------------------------------------------------------------------------- x j32-static-sys.txt + j32-dynamic-sys.txt N Min Max Median Avg Stddev x 7 2752.81 2809.97 2781.46 2781.4986 21.86523 + 7 2906.22 3151.93 2932.59 2981.5757 103.79842 Difference at 95.0% confidence 200.077 +/- 87.3629 7.19314% +/- 3.15079% (Student's t, pooled s = 75.0073) -Dimitry --Apple-Mail=_6E4C7B7A-7B2C-477B-85D1-D57CA08D0830 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXbfkZwAKCRCwXqMKLiCW o+dQAJ9VqY02eR4RPIMEH0SVVSrx0YuKrACgpV9MELP+FnIpZGjEFHYJc+/NbdI= =YAIF -----END PGP SIGNATURE----- --Apple-Mail=_6E4C7B7A-7B2C-477B-85D1-D57CA08D0830--