From owner-freebsd-arm@freebsd.org Mon Dec 2 22:31:43 2019 Return-Path: Delivered-To: freebsd-arm@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 2DA3B1BA88A for ; Mon, 2 Dec 2019 22:31:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 47Rfwt13krz4Tvk for ; Mon, 2 Dec 2019 22:31:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: u8Nw.8QVM1lpmMhMwGPxhpZ8zFtlV8z0L2AqCnZG0Ox2Tu7vRMmbt0buC2lR46P KXLzvKC7NaLzOh76Ku072Vt8eb4OPvIXmq2ucd.5e0Rz_mzai8LTwgNRLPLuAnsBIRuv_SdtBFaT Mymb4X0eQ7txQqCxf648QMILesDVe2H2OTp2wcLkwAx9DpqxiQE.uL4eR.dHWMIxVjYaT2iz5Pns hj324BgZpH8WZymEDfeImVG.arudqRcdEoyUiojoKvkFkNv1nZEwkwmSflPsq8snv3Clj0ZumUMH Ol2XHQ91hiqd2r2VxtUe.9I0QPGAWdPGFdO6DKfQ_7ddliCGa3prhQVCg1UNyUQu5MRAStOuCAi3 wl2kEOlalVl8Oq05Ov4Pd3GKCAp2SiZ0bjDUnUuDipzVU.pAZJXVHEXbx7JC2gBjXpz2cVsPqQZY usPAB1lHYWftdGJ86ulIfcgxfKF1j3wLyWUieLY7_VxIcBSnZxgriqqhMxoZaDWAYXWMZjIUWKdi bASgQ4ARUp.SVqG9hRI9zIc2gbqu3jI15mQ6iBn7ZT0vg__H007fqefSh7XpiatKcWSGN51oZzmK gdVHCqyGpbAAS1gmbRyQ1kQqRWKjHDp.J2u3oAQHaG1QPA_3A1iWL5vgpYPpOWVduGmt.uw.6L9U ZGdRuaPXD0MvZ9HIDUUyIGl5qVEUBryP.wmy8.Xm1WSlXnH2dGDE9_KreNZffWF03VeQe.UF_LBs YpXjzKROPNESOg7.HQ1nyWDETcfAVQgytYpIjNz.0bdhQJjGrLfB29os9huvQr94gUKmlZoYrWYa ZPD7lPAlN1_socllFw1y7DkKN55SDso.60qiMpe2ZR4J3qy3OFVKfSzg0sLOAn3zrEdC4cmH1exs QYBOecuiyG80MyjkTnBFkAskrQY3tmaXaY6PLlR2dhFOz3AVnAWgmJXsm1uRd5zJjQjpBdRR.htO Z0cnm0jsMoggcyIM2Q4obesqFhTsILNH45icGwp.GxXLkr1vLiduaPojKseeQlIvdJM8Njma0MuW jdrRhEq85WQ1fs_64M7AD8ia_68bw0VlpmvIaHZr_YDp3S2tACrkOTpCxx1NVtbm8SJXwuRBCwDr DZehJBXnKOgNzfGMm2O47jUMbu3VRK4qolxv9QBuD68DTtXIOVgq8XowlrdCPL9BhVH6GfhzsKgl NUhccUdCkmhBTyPZGSZfNJadrG3GuFTVgtYrQsye8wurXjV8nDO8XLNAVrNrpguyzYa7jtT6SdWY mczrzn0TYa7g6RUZMIf1TyiPnGgXtpW35pTq9prtIxyZrGTJWdTitRaod0IPDurvs5dC2CqapPI8 5P2pqvN3SPcjdouu3LBcJeJg90csX6JmwYBTOnThVmiNvJAtvB18jjTCI71NbQOsLCAoiU_HIq3g EVDRSZyO3Y9x7q8z6Z0rR.2E- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Mon, 2 Dec 2019 22:31:39 +0000 Received: by smtp405.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID a4eb31099961f50ea70df737e1a4fcf7; Mon, 02 Dec 2019 22:31:38 +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 \(3601.0.10\)) Subject: Re: Comparing the OverDrive 1000 (A57) vs. MACCHIATObin Double Shot (A72) for buildworld and via a CPU/cache/RAM tradeoff-exploring benchmark Date: Mon, 2 Dec 2019 14:31:36 -0800 References: <92E7B63A-E790-4815-9D91-2161A4F66B71.ref@yahoo.com> <92E7B63A-E790-4815-9D91-2161A4F66B71@yahoo.com> To: freebsd-arm@freebsd.org In-Reply-To: <92E7B63A-E790-4815-9D91-2161A4F66B71@yahoo.com> Message-Id: <5F7E7618-A503-4D16-B83C-0379F4B6327F@yahoo.com> X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47Rfwt13krz4Tvk X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.29 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.84)[-0.843,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.947,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (0.48), ipnet: 98.137.64.0/21(0.88), asn: 36647(0.70), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[148.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[148.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2019 22:31:43 -0000 [The links I sent are to the gnuplot .gp files, not to copies of the plots. I've not even uploaded the plots yet. (too distracted today, I guess.) I will later upload .png files and resend with corrected links. Nothing new in this note below.] On 2019-Dec-2, at 14:15, Mark Millard wrote: > It looks like the OverDrive 1000 vs. MACCHIATObin Double > Shot comparison ends up being an example of memory > access making the difference for the specific workload: > -j4 buildworld for head -r355027 (building itself > from scratch). >=20 > buildworld times (not needing a llvm bootstrap build): >=20 > OverDrive 1000: 13895 sec (about 3.86 hrs) > MACCHIATObin Double Shot: 16561 sec (about 4.60 hrs) >=20 > So a little under 45 min difference when the mean > and geometric mean are both a little over 4.2 hrs. >=20 > SSD ufs file systems: One with Samsung 860 Pro, the > other with Samsung 850 Pro. I do not expect that I/O > made much of a difference, but I did nothing to measure > such for the buildworld activity. >=20 > OverDrive RAM: 8GiByte, half in each of the 2 slots > MACCHIATObin RAM: 16GiByte, all in its 1 slot. >=20 > MACCHIATObin: jumpers set for the fastest CPU/RAM > speed for the Double Shot. >=20 > A comparison graph from exploring single threaded > and multi-threaded CPU/cache and RAM limited > performance (a variation on the old HINT serial > and pthread benchmarks) is shown at: >=20 > = https://github.com/markmi/acpphint/blob/master/acpphint_example_data/acpph= int-OverDrive_1000_MacchDblShot-threads_4-LP64-g%2B%2B_9_8.3_O3-libc%2B%2B= _libstdc%2B%2B-DSIZE_large_fast_types-RAM.gp >=20 > There are curves for various involved types: > double (d), unsigned long long (ull), unsigned > long (ul), unsigned int (ui). The match for > ull and ul for the context provides some > evidence of the variability observed. >=20 > (The OverDrive and MACCHIATObin were not benchmarked > for the graph at the same version of head: -r352341 > based vs. -r355027 based.) >=20 > (I did not set things such that the benchmark run > would explore paging getting involved. Thus there > is basically no I/O considered in the comparison > graph.) >=20 > The MACCHIATObin clearly wins single threaded and > its memory subsystem was well matched to the single > threaded use when the same-invovled-types are > compared. (Single threaded are the blueish curves, > MACCHIATObin having the lighter colors.) >=20 > For multi-threaded in the range where RAM access > limits things, the two systems are a close match. > (Greenish colors, right side of plot, upper > curves.) >=20 > The range were the OverDrive 1000 is clearly faster > is part of the middle of the multi-threaded curves. > (This might be tied to whatever is done with the > dual RAM slot structure or to the amount of caching, > or some such, I do not know the details.) >=20 > I would expect "-j1 buildworld" would take less time > on the MACCHIATObin than on the OverDrive, but I'm > not planing on measuring that. >=20 >=20 >=20 > A more historical comparison, old PowerMac11,2 > (2 sockets, 2 cores each) vs. the MACCHIATObin, > both having 16 GiBytes of RAM: >=20 > For analogous benchmark graphs (matching types), > the MACCHIATObin single threaded is faster than > the old PowerMac11,2 single threaded and also is > usually faster than that 11,2's multi-threaded > benchmark data as well. Multi-threaded, the > MACCHIATObin is faster for the exploration by > the benchmark. >=20 > = https://github.com/markmi/acpphint/blob/master/acpphint_example_data/acpph= int-MacchDblShot_PowerMac11%2C2-threads_4-LP64-g%2B%2B_9_O3-libc%2B%2B-DSI= ZE_large_fast_types-RAM.gp >=20 > I expect that this is interesting for the likely > difference in power usage during the benchmarking. > (Not that I've measured the power usage.) >=20 > (The FreeBSD head vintages are not the same in > the graph: -r355027 based vs. -r352341 based.) >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)