aarch64 cpupower

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

aarch64 cpupower

Postby dk23 » Sat Dec 01, 2018 4:01 pm

cpupower does not seem to work on aarch64

$this->bbcode_second_pass_code('', ' uname -a
Linux tock 4.19.5-1-ARCH #1 SMP Tue Nov 27 17:33:26 MST 2018 aarch64 GNU/Linux

# cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
')

also the directory
$this->bbcode_second_pass_code('', '/sys/devices/system/cpu/cpu0/cpufreq')
is not present

I would like to set governor to performance

Thanks
dk23
dk23
 
Posts: 25
Joined: Wed Feb 04, 2015 4:18 pm

Re: aarch64 cpupower

Postby graysky » Sat Dec 01, 2018 4:36 pm

I believe this is known limitation of aarch64 at the moment.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: aarch64 cpupower

Postby lategoodbye » Sat Dec 29, 2018 2:02 am

Please look at https://github.com/lategoodbye/rpi-zero/issues/32 for more information.
lategoodbye
 
Posts: 116
Joined: Sat Dec 29, 2018 1:24 am

Re: aarch64 cpupower

Postby vap0rtranz » Wed Mar 06, 2019 4:05 am

Setting governors via the standard Linux processor devices works for me. I'm on a Mediatek 8173 SoC. And several governors are available, so it's just the cpupower utility that looks to be broke for that build of the aarch64 kernel? I've not build a kernel from source in awhile but I believe it was up to the build conf whether certain Linux system devices would be exposed via /sys?

This worked for me:

$this->bbcode_second_pass_code('', 'echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor')

Tweaking CPU governors, frequency, or literally voltages, is usually a 'set and forget' scenario, so why does the cpupower utility need to work??

I wrap the above tweak into my rc.local. Set and forget.
vap0rtranz
 
Posts: 5
Joined: Sat Mar 02, 2019 2:16 am


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 5 guests