From owner-freebsd-ppc@freebsd.org Sat Oct 26 07:44:39 2019 Return-Path: Delivered-To: freebsd-ppc@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 B92EE1634F8 for ; Sat, 26 Oct 2019 07:44:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-34.consmr.mail.ne1.yahoo.com (sonic317-34.consmr.mail.ne1.yahoo.com [66.163.184.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 470Y0Q4zJqz3NHy for ; Sat, 26 Oct 2019 07:44:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: QX9qqFAVM1m3hF2_5LD2BZJ6vbkeYwKHjMtvzD0.OyE8AeOnmpIYEH6xQ74iOtq bLDoyyX40blrbdruLnN6R9F0oABqssoDdg7JHMjTai8PDtQERWLPQRGSsNjIfFCwew71S_3EmHFy a44JzZpmQobbR4Knh.q3P2.3_jdX4f89mEFkN2Ntb4UHCtmUKaVMuZOiiWJ72EFXobrd5LKgUnEz SfXuw8FCpKnVHeYcH_e2A_EV9OnOLkqeMnd_cUQVvxxx_CpH8tzwCpKf6UzfGMANwlc6WZyEuxWJ Ofy1AwytM6oTWgJprRZk7eZzKA33G1ogQ3nNnHGJkbafGyLinD22vhMCMcH.MpRRS2yX3hMFkM6f WPTUTleN3GbS9fLRdOVODc_XITvFILCiR_0THOKKzYx7Ii27eTgrzfE9EMTueI_ECLbQGzeBXoxV .50c_4Uz_swTWvk_nUM4eZYqcli4EI4EYUZHYnK5DWe995Mskh8c2ur5T0rAQdFr.9fIoZdVK9cG Qr.AEtKQ6g4Tjb3C4A6d_3s5mdVKwi_n5UUDzS74C.sm.NRdjNnt.T9KxLQicR8VGX4xpSZE_Ahz s7NnRv9GTZo7WSGC6hTyGkESBQlC0KPr_6PI5Ju9KJ8T0AZgSq9E1SbEUUhhg6BIH5Jxra1lnHiC DVoiKd58eyqIP.3h3Q5t3Oe237MydmNdzdk2GAqE1OlXYTejegdVdYx.XQJsxkhPbqxoo.YU2jgR d26fLcl.7dVIcv1bw8iRHJXhuX9TbSzY.XTo5MGkiIdK5iAyvv1YYYhTEBfY0a2jxhOJo8mp4uLL n6ZHhlPUzHxxPaiB2oLr3DrqLR7.dYSEHiUoq6qLqbQo64kTEegtYusO3G48WsMiawVW0_5Y2dae 0NHOUSL2r5qmV8B_g98X_QfmQ6TosjZLi8v29_Yjn6iVCZX0zhKgKcWJpfDGDgK4KokZsB_kWs._ ST2pEQKRCZaSn2U2bqskeYsNPYH.ebA22wocg8RpZOIqe72tcAo1WvbHFI3kB8OB1a27fXJs.9RI xhXtAmpDvjAn0Acawzsn_1BVG8Az8dSjS_TQzHKtHzrVE0OyMrp34nsMONNNPcHQUwXNV0eFea58 g5UJOdvN_Iy9BqNPMU5u0PqdVKaCr5pjXfxn9fKWbcIiC_RbohGncupjq7b_IVbAE3dQgtRZd380 _lk66qigD7a4KTmfex9VU1TsSTPfIBPlGpnX8Hfao2Mzz5Dss1lrzMe.DyDWTCw1VeXCRSFLk8Ow iV6OHVlrZ86ag6Ufuzp.rbzv9sPXSboQi9Z4uEqSNFIpVBkzx3OUmSE2jvXIDSqefvNO9LEnrYF0 TpLqRlZ_nFQ0L8TDt2cGInlGsKkyfIHU1SIn7s2QoGC795T_SHSXb.Bra2g4f9WlsKEw- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sat, 26 Oct 2019 07:44:36 +0000 Received: by smtp411.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 94a007704224a756ebb03d4c52b7849d; Sat, 26 Oct 2019 07:44:36 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) Subject: A comparison of ARMv8 Cortex-A57 OverDrive 1000 vs. powerpc64 PowerMac11,2 (2 socket/2 cores each): fairly modern vs. older, higher power Message-Id: <88DAC6B2-35F0-4F61-AEE1-51FC32F09776@yahoo.com> Date: Sat, 26 Oct 2019 00:44:34 -0700 To: freebsd-ppc@freebsd.org, freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3594.4.19) X-Rspamd-Queue-Id: 470Y0Q4zJqz3NHy X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.04 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.69)[-0.692,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-0.84)[-0.843,0]; RCVD_COUNT_TWO(0.00)[2]; MV_CASE(0.50)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[45.184.163.66.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (3.75), ipnet: 66.163.184.0/21(1.32), asn: 36646(1.06), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2019 07:44:39 -0000 Just a comparison I thought was interesting. The comparison is in the .png's of the plots. I reference where to get the .png's. I reference two plots from a variation on the old HINT (Hierarchical INTegeration) serial and pthread benchmarks. (The variation's code uses C++17 facilities.) HINT and acpphint are CPU/memory use benchmarks (unless operated up into sizes that page to disk). Trials for kernel vector sizes that are large tend to make caches less effective. So acpphint's exploration of kernel vector sizes shows the related consequences. In the plots "higher is faster". The dark curves are the OverDrive 1000. The light curves are the PowerMac11,2. The blue curves are single threaded, not measuring any thread creation overhead. The green curves are multi-threaded, with 4 threads, matching the core counts, thread creation overhead included in the times measured. Four data types are covered: 32 bit unsigned (abbreviated ui), 2 examples of 64 bit unsigned (ull and ul), double (d). On the OverDrive, double is slower than the 64-bit unsigned types; on the PowerMac11,2, double is faster than the 64-bit unsigned types. For 32-bit (ui) the maximum kernel vectors size is limited in the plots, compared to the other data types. .png of the plot for X axis being the total kernel vector bytes for the median-timed trial for that size: = https://github.com/markmi/acpphint/blob/master/acpphint_example_data/acpph= int-OverDrive_1000_PowerMac11%2C2-threads_4-LP64-g%2B%2B_9_O3-libc%2B%2B-D= SIZE_large_fast_types-RAM.png .png of the plot for X axis being the time (sec) for the total kernel vector bytes for that median-timed trial: = https://github.com/markmi/acpphint/blob/master/acpphint_example_data/acpph= int-OverDrive_1000_PowerMac11%2C2-threads_4-LP64-g%2B%2B_9_O3-libc%2B%2B-D= SIZE_large_fast_types-time.png The OverDrive 1000 is generally faster for what the benchmark measures, other than data type double for single threaded. (The PowerMac11,2 was running a FreeBSD that was not built via gcc 4.2.1 but via system-clang used with devel/powerpc64-binutils. But the FreeBSD was [and is] still ELFv1 based. For the OverDrive, Cortex-A57 was directly targeted in the system build and the benchmark build.) For both targets: devel/gcc9's g++9 was used to build the benchmark, but in such a way to be using just FreeBSD system libraries, such as libc++ instead of libstdc++. The plots are from gnuplot. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)