Date: Sun, 21 Mar 2021 11:13:39 -0700 From: bob prohaska <fbsd@www.zefox.net> To: Mark Millard <marklmi@yahoo.com> Cc: freebsd-arm <freebsd-arm@freebsd.org>, bob prohaska <fbsd@www.zefox.net> Subject: RPi and powerd, was: Re: RPI4 clock speeds and serial port ( temperatures idle and -j4 buildworld buildkernel ) Message-ID: <20210321181339.GA56351@www.zefox.net> In-Reply-To: <5BF4DC26-8CCC-48E8-802F-34C42084D47F@yahoo.com> References: <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> <63E61033-667C-4A08-9012-7D987B652176@yahoo.com> <20210320182821.GA49050@www.zefox.net> <AD8A445A-DF90-4525-8042-EA2A667558FE@yahoo.com> <5BF4DC26-8CCC-48E8-802F-34C42084D47F@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 20, 2021 at 09:20:36PM -0700, Mark Millard wrote: > > You are getting the vast majority of the time > benefit from powerd use compared to my build > context (based on the world build times). Avoiding > building to allow compiling non-arm could cut > your time noticeably, possibly around 30 minutes > for world. > Half an hour I can wait 8-) More likely I'll botch the changes. After trying powerd on the Pi4 with success it was applied to Pi3 and Pi2. Powerd seemed to work well on the Pi3, but the Pi2 v1.1 stalled consistently in the building libraries phase. The stall was unresponsive to the debugger escape. After power-cycling and disabling powerd, the Pi2 picked up where it left off. Not sure if this is a property of powerd or an artifact of my setup on the Pi2, being 14.0-CURRENT FreeBSD 14.0-CURRENT #13 main-f5e930b369: executing make -j4 -DWITH_META_MODE buildworld There was an effect from powerd on the Pi2, but only 600MHz > 900MHz. The Pi3 went from 600 to 1200, the Pi4 600 to 1500. There was no obvious serial console disruption on any of the three machines. At least on the Pi4 and Pi3 use of -DWITH_META_MODE seems notably faster than before, much more like use of -DNO_CLEAN. Quite a bit has changed since my earlier gripes about needless recompiles so it's hard to fairly credit the improvement. > > > The RPi4 support for powerd (cpufreq) was added > > on 2020-Jun-20 but my RPi4B activity started > > well before then. That is why I did not go down > > the powerd path in how I configured things. It > > will be interesting to compare to your time. > > I always thought of powerd as a complication inflicted to conserve battery life. I had no idea it could be used for performance enhancement. Thank you, Klaus! bob prohaska
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210321181339.GA56351>