Date: Sat, 20 Mar 2021 10:41:48 -0700 From: Mark Millard <marklmi@yahoo.com> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: RPI4 clock speeds and serial port ( temperatures idle and -j4 buildworld buildkernel ) Message-ID: <63E61033-667C-4A08-9012-7D987B652176@yahoo.com> In-Reply-To: <20210320155638.GA41617@www.zefox.net> References: <9FFA0A51-C0B7-4121-95CA-B98669809007@yahoo.com> <E4CF6642-CB70-4495-A865-05469953561C@yahoo.com> <EA6BE351-98F5-4446-BA4D-948F04EDFD3B@yahoo.com> <81AC0353-258C-41C3-86B1-C133E33D97E3@yahoo.com> <20210319174359.GA38899@www.zefox.net> <FA5A110A-4E7A-4381-BBE5-9B3022CA9008@googlemail.com> <20210319195019.GA39087@www.zefox.net> <FDBC2E89-8473-4C3A-B12E-78821949FDDB@yahoo.com> <20210320005302.GA40542@www.zefox.net> <81CB0CCA-59AC-49A2-9372-4E2C22E3214D@googlemail.com> <20210320155638.GA41617@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-Mar-20, at 08:56, bob prohaska <fbsd atwww.zefox.net> wrote: > On Sat, Mar 20, 2021 at 03:44:06AM +0100, Klaus K??chemann wrote: >>=20 >> as Mark said, powerd isn???t enabled by default in releases , so the = freq is @600 by default. >=20 > At the time I'm thinking about it would have been -current, most = likely. I > knew of powerd's existence, but never thought to use it until you = bought > the idea up. >=20 >=20 >> So 17 hours @4x600 . >> with powerd enabled you should have automatically exactly 4x1500 = during the complete compilation time. >=20 > The most recent test on the 8GB Pi4 finished in 9 hours. That was = after > running make cleandir twice, but having the installed system and the > sources relatively close (days) in age, on -current. So a debug kernel was running? (Non-debug running for my builds.) Did it include a buildkernel? Or just a buildworld? At around 9 hours, it would take standardizing on a (equivalent of) src.conf too be able to well compare your context vs. mine now, if we ever want to do so. I'll list my file later below for reference, although I'm probably more likely to try your src.conf content in my overclocked context than you are likely to try building via my src.conf like content in your powerd context. Welcome to the world of overnight (sleep-time) buildworld on a small board computer. > That's with powerd > enabled, but no other speedup tweaks. Temps were just under 60 C, = with > a fan in the case but no heatsinks on the ICs.=20 Ambient temperature? (It is the difference that indicates how well your cooling is working and it is the difference that is more comparable across contexts. For example, my around 15.5C ambient likely was likely around 10C lower than for many reported figures.) >> sysctl dev.cpu.0.freq will definitely show the current freq. >=20 > On a Pi3 with GENERIC-MMCCAM kernel (also running buildworld) it = reports > bob@www:/usr/freebsd-src % sysctl dev.cpu.0.freq > dev.cpu.0.freq: 1200 > also with no other speedup efforts beyond powerd. That machine has = heastinks > on the ICs but only a fan blowing in through the openings in the = plastic case. > It's around 60C.=20 >=20 > So far the effects of powerd seems to be uniformly good, with=20 > no downsides. Next, to try a Pi2 v1.1 (armv7) >=20 > Thanks for mentioning powerd, it never crossed my mind. >=20 FYI (not that you are likely to build and run such: # more ~/src.configs/src.conf.cortexA72-clang-bootstrap.aarch64-host=20 TO_TYPE=3Daarch64 # KERNCONF=3DGENERIC-NODBG TARGET=3Darm64 .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITH_SYSTEM_COMPILER=3D WITH_SYSTEM_LINKER=3D # WITH_ELFTOOLCHAIN_BOOTSTRAP=3D #Disables avoiding bootstrap: WITHOUT_LLVM_TARGET_ALL=3D WITH_LLVM_TARGET_AARCH64=3D WITH_LLVM_TARGET_ARM=3D WITHOUT_LLVM_TARGET_MIPS=3D WITHOUT_LLVM_TARGET_POWERPC=3D WITHOUT_LLVM_TARGET_RISCV=3D WITHOUT_LLVM_TARGET_X86=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D WITH_LLD=3D WITH_LLD_IS_LD=3D WITH_LLDB=3D # WITH_BOOT=3D WITHOUT_LIB32=3D # # WITHOUT_WERROR=3D #WERROR=3D MALLOC_PRODUCTION=3D WITH_MALLOC_PRODUCTION=3D WITHOUT_ASSERT_DEBUG=3D WITHOUT_LLVM_ASSERTIONS=3D # # Avoid stripping but do not control host -g status as well: DEBUG_FLAGS+=3D # WITH_REPRODUCIBLE_BUILD=3D WITH_DEBUG_FILES=3D # # Use of the .clang 's here avoids # interfering with other C<?>FLAGS # usage, such as ?=3D usage. 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 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63E61033-667C-4A08-9012-7D987B652176>