From nobody Fri May 21 22:26:00 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 37D1B8C7FC8 for ; Fri, 21 May 2021 22:26:04 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fn1Qz36SMz3F6h for ; Fri, 21 May 2021 22:26:03 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BC6715C0193 for ; Fri, 21 May 2021 18:26:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 21 May 2021 18:26:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=hl8lO+tlXthUQBM0Wi1M9OVyxQb cEcE+kiYfwx84/Ck=; b=nKFbThDAP+kdWDFJZ0fZBnmhI3jAub67PuZP1apGs8E 3S1LwRK4UjxfB/saCzaLAyJYOdSWglIctAPBrxj9CUANEW4rZCxz1d3vhHL1pmtg v1IKo1RhCZmC53x5TmLaFQWgjc2iXJFp3t7sZVk3iv5Aug3rJtEoFQvPlJeC03je c54CIJWcvpdOX5XkJ02q6Ooqp+Qpm2OAnCv1xerZvtwzP4dbGN8TSrjzAXSf0d6u eR8HNPbqatvvpHwukjmAtmQ1sJfKFO9oFlIJTD810/BBS0kKCZMOEJTdL7w5n8Ht tbxORO7DiMypsoTqGP4SDNJTDG0F6cuNi3SkaOy9yxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=hl8lO+ tlXthUQBM0Wi1M9OVyxQbcEcE+kiYfwx84/Ck=; b=WL0zTz3yefi6f3Cny6482n j1Kdm40reInzvizDEAFnoyjgxumbSimUTeiO8nxVnmsiCpt+4idX/5gfuMij37lN YiDnHZqQCCaAXcba/mRN0pfYYpJ4xWCv/yboB/Q59tZ8eLkN7hy221UZ/4UhCFPX cRm1mqkWQEKHkny3ek4Ui0K0cw7OXAjd2aBCyeBGiEAjZwPhJp19b+tSp23FL41t A3sLchFA3PYnxPbwIxfoCMeqnm4dBCZGF4q2xkBMRjfskTXlbG/QMAL5TO9BpxB8 VbHKjS1JyPR/Dzp046eXYNp5GVEMerjGikZb0mihXDDyVVerFMCB3uh57RJs4gtA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdejgedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtro ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeeivedtleeitdeiteevueelhfegte eujefggedvledthffhfedugfeuudeikeeijeenucfkphepkedvrdejtddrledurddutddt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtg hhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from ceres.zyxst.net (ceres.zyxst.net [82.70.91.100]) by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 21 May 2021 18:26:02 -0400 (EDT) Date: Fri, 21 May 2021 23:26:00 +0100 From: tech-lists To: freebsd-arm@freebsd.org Subject: Re: RPi 4 build time Message-ID: Mail-Followup-To: freebsd-arm@freebsd.org References: List-Id: Porting FreeBSD to ARM processors List-Archive: http://lists.freebsd.org/arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rIzJ7odczJHmMVk+" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Fn1Qz36SMz3F6h X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=nKFbThDA; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=WL0zTz3y; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.28 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.28:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.28:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.28:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.28:from:127.0.2.255]; MAILMAN_DEST(0.00)[freebsd-arm] --rIzJ7odczJHmMVk+ Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, May 21, 2021 at 11:07:35PM +0300, Evgeniy Khramtsov via freebsd-arm= wrote: >How long are compile times for aarch64 8 GB RPi? It is especially >interesting to know about overclocked results. I guess buildworld time >would describe it well, but any heavy port (ex. rust) would also be great. It depends. I've got it down to about 4 1/2 hrs for the buildworld/buildkernel steps. But this is after all this has been done: for stable/13: 1. configuration and use of devel/ccache-static 2. clocking to 2.0 GHz with the following config.txt: [...] % less /boot/msdos/config.txt=20 arm_control=3D0x200 dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don dtoverlay=3Dmmc dtoverlay=3Dpwm dtoverlay=3Ddisable-bt device_tree_address=3D0x4000 kernel=3Du-boot.bin over_voltage=3D6 arm_freq=3D2000 sdram_freq_min=3D3200 *make SURE you have good cooling!!!!!* I have a flirc rpi4 case on this one. 3. /usr/obj /usr/src and /var/cache/ccache on zfs on usb3-connected spinning rust 4. /tmp as tmpfs (512mb) 5. make -j6 buildworld && make -j6 buildkernel (after make -j10 cleanworld= =20 && make -j10 cleandir && make -j10 clean) 6. having *already built* a new world and kernel and installed it all and rebooted, which had been built with the following /etc/src.conf : [...] WITH_MALLOC_PRODUCTION=3D WITHOUT_DEBUG_FILES=3D WITH_CCACHE_BUILD=3D WITH_OPENSSL_KTLS=3D WITHOUT_APM=3D WITHOUT_ASSERT_DEBUG=3D WITHOUT_BLUETOOTH=3D WITHOUT_CUSE=3D WITHOUT_DICT=3D = =20 WITHOUT_DMAGENT=3D = =20 WITHOUT_FLOPPY=3D = =20 WITHOUT_FREEBSD_UPDATE=3D = =20 WITHOUT_HAST=3D = =20 WITHOUT_IPFILTER=3D = =20 WITHOUT_IPFW=3D = =20 WITHOUT_ISCSI=3D = =20 WITHOUT_KERNEL_SYMBOLS=3D = =20 WITHOUT_LLVM_TARGET_ALL=3D = =20 WITH_LLVM_TARGET_AARCH64=3D = =20 WITH_LLVM_TARGET_ARM=3D WITHOUT_LPR=3D WITHOUT_NDIS=3D WITHOUT_NETGRAPH=3D WITHOUT_NIS=3D WITHOUT_OFED=3D WITHOUT_PORTSNAP=3D WITHOUT_PPP=3D WITHOUT_RADIUS_SUPPORT=3D WITH_RATELIMIT=3D WITHOUT_RBOOTD=3D WITHOUT_ROUTED=3D WITH_SORT_THREADS=3D WITH_SVN=3D WITHOUT_TALK=3D WITHOUT_TESTS=3D WITHOUT_TFTP=3D WITHOUT_UNBOUND=3D # CFLAGS.clang+=3D -mcpu=3Dcortex-a72 CXXFLAGS.clang+=3D -mcpu=3Dcortex-a72 CPPFLAGS.clang+=3D -mcpu=3Dcortex-a72 ACFLAGS.arm64cpuid.S+=3D -mcpu=3Dcortex-a72+crypto ACFLAGS.aesv8-armx.S+=3D -mcpu=3Dcortex-a72+crypto ACFLAGS.ghashv8-armx.S+=3D -mcpu=3Dcortex-a72+crypto (and afterwards, make check-old (then) yes | make delete-old then yes| make delete-old-libs) then=20 7. with the following in /etc/sysctl.conf : vfs.read_max=3D128=20 With regard to building ports (I use poudriere-devel) with jobs=3D4 I see the following build times for the largest five ports built subsequently: rust-1.51.0 took 7hrs 46mins doxygen-1.9.1,2 took 1hr 36mins texlive-texmf-20150523_4 took 1hr 36mins llvm10-10.0.1_5 took 1hr 4mins binutils-2.33.1_4,1 took 57mins 37s The poudriere jail instance for this rpi4 uses the same /usr/src as what has built the OS. This means it was built with the same /etc/src.conf parameters. My other rpi4 (runs main/14, currently I'm testing it) will clock to 2.1GHz= =2E=20 I've not thoroughly tested buildtimes there yet. I forgot to mention both my stable/13 rpi4 and main/14rpi4 run powerd with these lines in /etc/rc.conf: powerd_enable=3D"YES" powerd_flags=3D"-r 1" --=20 J. --rIzJ7odczJHmMVk+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmCoM28ACgkQs8o7QhFz NAU0Ig//TUV/8RGRhH1No8N6Ux/LQzdJF7ow9qMCB+XLH8JfNO7ZbfJdgBsmd9ct YjRWkZa2Azaxdu8Kk9XXciY7i9O7kV5MJAsCpagOngXDC8E4jC+H2Yy8mCVAudjJ j1Tqx8YHTh8INBk36nCDKGkG9yn/IcIvF6PFieRAoNFHGS7FXGiJ/qZil+6duJdK GTgf+aiwn29L3Y6XfF5XNgR7FRvnBSY4aL2+Yme+hLfAyYWea+0eXSbFKE4XmbSt hnPPE5sCII4hAsRqEpVwcQw58pej9fvLCSGq35G6TEFrhP5ec3QRq2kbHGq6jpSF MwjAbLYk49Jb+gMophB+fy9sbaWCW2Px79hzieszQPoKDpWugAxm/nWq0OpVEAmo mlFtio6Jl3Jya1fac75PIbJ+9xXrg9Dczx6ZfEBfe5lXTrHzyhwAsw2iFaN8000x nv6XRrUhw4cv21OsXEMzLHIQJyZJsv/ce8duwsmGwhpcRY1NZvY5W8ihvg6CGXJN zYMrDbpK5RBnyxpgjM+OBlFM/h1YCND2LWFJFHcLU+S/hWjPNo0aTu216hmGe4yO y2JkYlNMIVXhPicnxAQTNe0f8+sN0EfDxTRzoTHQBoPwKUv/RAGDcGfee65i5BCt dCP/Lhvj5pmFz1yJvkoONEuYBSfsmutgho3YE/SVYRgJPQwNHUA= =DFQv -----END PGP SIGNATURE----- --rIzJ7odczJHmMVk+--