-
-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU Governor - Permission denied #3299
Comments
hi, @MichaIng from
to
|
it should go down after a while |
@bbsixzz To check with less overhead:
If this is not available:
Ref: https://www.kernel.org/doc/html/v4.19/admin-guide/pm/cpufreq.html#policy-interface-in-sysfs |
cpuinfo_cur_freq result: 1500000 I don't think it's a big deal, but it seems locked at 1500 MHz. Is the RPi4 really so slow that the CPU script throttles all 4 cores like that? [EDIT] [EDIT] I did a test using Governor conservative, I downloaded a large file using SFTP. It throttled correctly during download and stepped down when idle. It looks to me like Governor ondemand doesn't work correctly or the settings are bad. Maybe these two paramaters need adjustment? They are not available for conservative.
I can run the CPU script all day on Governor conservative and it never throttles to 1500 MHz. |
For me it looks like using
While using
I used [EDIT] |
Nevermind, the fix above did work I just had a typo. |
@MichaIng just to be clear, you should investigate The original bug of "permission denied" is however fixed. |
@bbsixzz
It should show you how long (for current session) the CPU was in which state (only the two 600 and 1500 on RPi). You can raise the CPU usage on which the freq is raised via up_treshold:
Its 50% by default on DietPi. When raising to e.g. 95% it might stay on lower freq during the commands.
Or via dietpi-config to be persistent. |
Alright, after a reboot I got the following numbers which indicate everything works fine!
Thank you for the education :] |
v6.28 is out, I mark this issue as closed. |
Creating a bug report/issue
Required Information
DietPi version |
G_DIETPI_VERSION_CORE=6
G_DIETPI_VERSION_SUB=27
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
Distro version | buster 10.2
Kernel version |
Linux DietPi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
SBC device | RPi 4 Model B (armv7l)
Power supply used | 3A Official
SDcard used | SanDisk ultra
Extra details
My CPU is locked at 600 MHz with Governor powersave.
I updated EEPROM after updating to DietPi 6.27.2; maybe related?
[EDIT]
-rwxr-xr-x 1 root root 12K Jan 2 04:17 dietpi.txt
The text was updated successfully, but these errors were encountered: