Raspberry PI 4 Release 13.2 and dev.cpu.0.freq changes

Hi FreeBSD community,

I have recently joined this great OS family, on a raspberry pi 4 w/4gig of ram, and experiencing some "performance" issues that I can not quite put my finger on.

My CPU has a maximum speed of 1500mhz but the system always seems to default it back to 600mhz upon reboot and not sure why.

Steps are based on the information available at: https://wiki.freebsd.org/arm/Raspberry Pi

I have the powerd_enable="YES" in settings
  1. Confirm dev.cpu.0.freq is showing 600
  2. Update the value by running sysctl dev.cpu.0.freq=1500
  3. Displays 1500
  4. Wait a few minutes then drops back to 600
My question is: Is there a way to confirm that my raspberry pi CPUs are being utilized to its full potential, beyond the sysctl dev.cpu.0.freq method?

Thank you in advance for your help and guidance.
 
Hi All,

I have been able to get an answer to this question and for other people's knowledge here is the background (This was shared from an IRC channel of freebsd people by a user named tmp_)
1. powerd is required to be enabled as root
2. set the variables above to your specific hardware requirements
3. Ensure the service 'powered' is running as root

*Overview of the config.txt for raspberry pi's are available here: config.txt options
*The table to see what options are valid for your specific raspberry pi: CPU Frequency Table

Confirmation everything works can be found by this set of commands:
  • sysctl -a | grep dev.cpu.0.freq; sysctl dev.cpu.0.freq
Depending on the load of the system, at the time of running this, it will fluctuate but will have the maximum CPU under load.
I hope this useful for someone in the future.

Kind Regards
 
Back
Top