Skip to content

Lime A64 runs all cores on max frequency #7

@rhpvorderman

Description

@rhpvorderman

Hi, I noticed my A64 was getting quite warm. I found that it was running all cores at maximum frequency all the time.

Using cpufreq-info I found that its performance was mediated by the "performance" governor.

I debugged the issue and found that in the cpufrequtils service less /etc/init.d/cpufrequtils is started. This script tries to start the CPU by default with the "ondemand" governor. Unfortunately this governor is NOT available for the A64. Therefore it starts with the performance governor.

Solution is to create /etc/default/cpufrequtils with contents GOVERNOR=schedutil to set the governor to schedutil. This behaves similar to ondemand in that it schales the frequency based on the process scheduler (although ondemand is somewhat more aggressive).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions