From owner-freebsd-ports@freebsd.org Tue Aug 11 11:31:57 2020 Return-Path: Delivered-To: freebsd-ports@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 98E9F3AB51F for ; Tue, 11 Aug 2020 11:31:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-19.consmr.mail.gq1.yahoo.com (sonic314-19.consmr.mail.gq1.yahoo.com [98.137.69.82]) (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 4BQrJr43qsz4PVV for ; Tue, 11 Aug 2020 11:31:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: S2feCwkVM1mKEg5hUtJfVvnj4B.Z1AZbOAavPHjOJAlGFrwpaGWZmwh1IffkyqF bX5AlLtQEUSPc4T4hbcLt7Q2WaCfJNhI2ghTKmJNjXNEuVLfQkYB9CoM3iozU9B9LCnxxISPbISc aJuMXpKv5PBGgGody91AO5LAwA8Yp_GWngLdgCfvrlLHKJzfHMhDZ5Yj2VZxt0xMdmTFdprJ6To0 2.fBXQiOLUXwP1FtlFKTruIXqkAtuZPtXg2bgHHbmJuIu12rIXIM5szKp6hM8kz2vdwSaA46VgKg gG5jJqK6WUQd5ODjipK_6yneAUbHataWmES3SZHRgi5cNu2lDpDM4UyIuyGVKWcSiCDXMVVpcJYL xbRQcCEdS8a2W5FoIocObsbqIlt5.dZW9UAdaj9JK9UTZ09PDUxyJX3hyY.O6ku8rwyctik94GS3 WCYkYMDJnFdcbGiMm2FecIR00hBbYkFzQ2TQTpH.5wTBXnvnOp_f40WIfSd9.v4R4wmOALSzkRyd 5nnT54GKFKb200622hqcrrmJsJPcJmkcY5Jtr97wl98mxg7cpjh7lAaKtExVdbLUyKSjujqUru7c lgeT_FqYEkmPXlLM67ER2nnZrBSZJN.vxke9LA7.FdyPEX.HzM.ZCPBGnLHWlCTgkozGVMZaJqqU Ss.uCnvGbDqbZtLk6rrvTuLTCArgoqZqttxV0wUO9hxDT0aHdO7Y3iQWv09XhwNFV56aNWwR2RIK XrNIhv2hz.9kgGBW_9UQ95hbAh7AiGzqnTtMAlpru.8AOOk.Q8veALJArVtxn11uVmi03HWckHC0 7v9LqsVLSuumnadl7efjhBNRnd.mUMBiODsOD0QZToHf.sC.OjsBMW0D_mBJbBbeIrNup4VQVntN RGhS6isHnGgkSvksDQ2C.wIaGpLM6h2w3ZmZR0dyIOYK6gD.jTvCANahDelfHZmw1jS.wDTiCDhh oIxSzIOtZydAD7wVOdpSYTkMshmKl7eIJ.6hXTHXyTNH3O.K5uvJCpM1tDUf4WB0Cx6d8jaQ95si HQ9oJOuDkaaDPZr0bLLV19KawUW3vNowFtld5jky4kjfjIkdQOS.fInOrn0OjsDjz8BY_NPXBW7F lKqXz_BtbqbckzUQdJmkYLyqdnmDdN4pMJOPNDSUEnu7UQL6SeypJhNziXdzIX8wmSYhp9vlgRGH jyRPnX0qy_iGA1nHy9RRNTsJ2QQnp6sWUDAPWHmqLExErFMjJLaPB3cNhn8Msq1nt4bChYyso5vP L8FgImBbmR.pqzWdMjbClhs8xTryIMC.Q6yaSkTQUsJ7IaYEsrvfsJVMMSos1Ot7z5nq3YWfNME2 8SXLO6ieg0QSbfCGvfRcBPYvdqKU9OQWysVLfud3ukWp0X41ZjhIjt40JxVqZlq2QR5kXXgK8hgx x4yOV4x2Ma9QY2A5KyKmSovzpdH864gGsSfpGoV0GPyYC5mds.EOoNNnz2Q3qpPvfGFEIKmPOUV9 DN3FSPlgH7Hf7JaEKbLHKvz9r8o7ixbnZhAKtrOjtyRWv Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Tue, 11 Aug 2020 11:31:54 +0000 Received: by smtp410.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID d5f4c333b32591462c993fe02cafa72a; Tue, 11 Aug 2020 11:31:49 +0000 (UTC) From: Mark Millard Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: How to build sysutils/edk2@rpi4 (for example) that matches https://github.com/pftf/RPi4/releases/tag/v1.18 (for example) Date: Tue, 11 Aug 2020 04:31:47 -0700 In-Reply-To: <9CD7C820-CF3F-4E72-8E99-C9EB53CB0B52@FreeBSD.org> Cc: freebsd-arm , FreeBSD ports To: Mark Murray References: <0AFFAC3B-2298-497E-9AAE-C3AFB7466106.ref@yahoo.com> <0AFFAC3B-2298-497E-9AAE-C3AFB7466106@yahoo.com> <9CD7C820-CF3F-4E72-8E99-C9EB53CB0B52@FreeBSD.org> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BQrJr43qsz4PVV X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.58 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.45)[-0.454]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; 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:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.003]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; URL_IN_SUBJECT(0.40)[github.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.02)[-1.025]; MIME_GOOD(-0.10)[multipart/alternative,text/plain,multipart/related]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.82:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.82:from]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2020 11:31:57 -0000 On 2020-Aug-11, at 00:46, Mark Murray wrote: >> On 11 Aug 2020, at 07:44, Mark Millard via freebsd-arm = wrote: >>=20 >> Unfortunately, I'm not aware of anything for macchiatobin >> that is analogous to https://github.com/pftf/RPi3 and >> https://github.com/pftf/RPi4 off which to derive what >> source would reproduce some known release that might >> have been put to use with FreeBSD (a tested combination). >=20 > I have a MacchiatoBin Double Shot doing dual duty as an ARM > build box and firewall. It has a dual-port PCI NIC in it. >=20 > I may have the same edk2 build as you, and it works really well. >=20 > In an ideal world, I'd be using the native ethernet ports and I'd > have a cheap video card in the PCI slot, but the serial console > works well enough for now. Nothing the this one's PCI slot. Realtek USB 10/100/1000 LAN via using https://reviews.freebsd.org/D25809 . Serial console. SATA SSD. FYI: Its -j4 buildworld buildkernel results are somewhat slower than for an OverDrive 1000. (Similarly for poudriere bulk runs. Single threaded activity is a different story.) Builds are CPU/memory bound, not I/O bound, for both systems. ENVIRONMENT: -mcpu=3Dcortex-a57 OverDrive 1000 @1.7G Hz, 8 GiByte RAM = total (2 DIMMs slots, both populated): World built in 15508 seconds, ncpu: 4, make -j4 Kernel(s) GENERIC-NODBG built in 1117 seconds, ncpu: 4, make -j4 ENVIRONMENT: -mcpu=3Dcortex-a72 MACCHIATObin Double Shot @ 2G Hz, 16 = GiByte RAM (1 DIMM slot): World built in 18789 seconds, ncpu: 4, make -j4 Kernel(s) GENERIC-NODBG built in 1296 seconds, ncpu: 4, make -j4 The only differences in my equivalents of src.conf are the 57's vs. 72's in -mcpu=3D usage (same arch different tuning). head -r363590 doing self-hosted, from-scratch rebuilds. What contributes? L0-L2 cache size differences and dual DIMM (dual channel? interleaving?) vs. single DIMM. Cache performance for 4 active threads keeps the two systems similarly performant for problems that fit in both sizes of RAM cache. But the OverDrive looks to have 4 times the RAM cache. That matters for -j4 buildworld buildkernel . [The .png (that will not make it to the list) is a graph of benchmark data from my C++17 variant of some old HINT benchmarks. Data types: d=3Ddouble, ull=3Dunsigned long long, ul=3Dunsigned long, ui=3Dunsigned int. In this context, variations in ull vs. ul results for a given system give a clue as to the degree of other sources of variability: both are 64-bit unsigned here. Y-axis: larger is faster. While gcc10 was used, the system libc++ and such were used instead of gcc's libraries.] =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)