Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2021 03:44:06 +0100
From:      =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
To:        bob prohaska <fbsd@www.zefox.net>, freebsd-arm@freebsd.org, Mark Millard <marklmi@yahoo.com>
Subject:   Re: RPI4 clock speeds and serial port ( temperatures idle and -j4 buildworld buildkernel )
Message-ID:  <81CB0CCA-59AC-49A2-9372-4E2C22E3214D@googlemail.com>
In-Reply-To: <20210320005302.GA40542@www.zefox.net>
References:  <20210318170053.GA26688@www.zefox.net> <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>

next in thread | previous in thread | raw e-mail | index | archive | help


> Am 20.03.2021 um 01:53 schrieb bob prohaska <fbsd@www.zefox.net>:
>=20
> Powerd does seem to affect the apparent speed of the Pi,
> and seems to make it run a bit hotter, though I've not
> paid enough attention to know by how much. Trying another
> buildworld/kernel to get a sense of average speed.
>=20
> By any chance, was powerd enabled by default in the distant
> (year or so) past? Things seemed to slow down markedly after=20
> then. I always thought it was due to changes in clang.=20
>=20

as Mark said, powerd isn=E2=80=99t enabled by default in releases , so =
the freq is @600 by default.
So 17 hours @4x600 .
with powerd enabled you should have automatically exactly 4x1500 during =
the complete compilation time.
sysctl dev.cpu.0.freq will definitely show the current freq.
example : using the screen tool:
1. root@generic:# sysctl dev.cpu.0.freq
dev.cpu.0.freq: 600
2.: screen
Now start =E2=80=9Amake -j4 xyz=E2=80=98
Ctrl-a-d to detach screen
3. root@generic:# sysctl dev.cpu.0.freq
dev.cpu.0.freq: 1500

by requesting cpu-power, it is automatically scaled.
I didn`t test how powerd handles manually overclocking or sdram_freq =
etc.,=20
perhaps Mark has(or will) test that more .

K.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81CB0CCA-59AC-49A2-9372-4E2C22E3214D>