Hi there folks
Since yesterday I’ve been playing around with cpufreq on my Xperia XA2.
I got a couple of questions regarding that:
-
Program sees 8 cpus named 0,1,2,3,4,5,6,7. First four are equal and uses the same frequecies. Second fours (4,5,6,7) are equal to each other and use same frequieces but ones that differ from first four. I’m almost sure that those are cpu cores, right?
-
I have no problem setting first four (0,1,2,3) in matter of frequecy and govenor, just like that:
cpufreq-info -c1
current policy: frequency should be within 1.67 GHz and 2.21 GHz. The governor “performance” may decide which speed to usewithin this range.
This is from executing:
cpufreq-set -u 2.21Ghz
cpufreq-set -d 1.67Ghz
Governor is performance because of:
cpufreq-set -g performance
Which executes correctly
But this is only applying for first four cores
The last four are unaffected. Even if execute above commands adding which cores this should affect it still doing this for the first four.
How to change behavior of cores 4,5,6,7? Namely the governor and frequency scalling?
If I try to change governor for specific core this happens:
[root@XperiaXA2 defaultuser]# cpufreq-set -g ondemand -c5
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn’t loaded?
[root@XperiaXA2 defaultuser]#
It doesnt matter what governor I choose
If I try to change freq scalling adding let’s say -c5 it executes correctly but this affects first four 0,1,2,3 cores even if frequencies doesnt match. There is no change in cores 4,5,6,7
And so, how to make those setting apply after reboot?