Skip to content

Documentation does not explain how to set per-cpu frequency in /etc/default/cpupower #218

@evertvorster

Description

@evertvorster

Hi there!
I have been using cpupower on my i9-13900HX for a while, and I am seriously impressed.

At the beginning I was trying to get /etc/default/cpupower to set the frequencies for my cpu. As this CPU has a big.LITTLE design, it has a bunch of power efficient cores that run at different frequencies than that of the performance cores.

For the life of me, I could not figure out how to get configure file for cpupower in /etc/default/cpupower to set different frequencies for the various cores.

The whole reason I got into this cpu frequency thing is that the min and max frequencies are not set correctly by the kernel, and you can read about that whole saga here:
https://bugzilla.kernel.org/show_bug.cgi?id=217976

In the end, I wrote a little bash script that uses cpupower to set the frequencies manually, and have expanded the script to actually scale down the cpu frequencies when the laptop enters a powersaving state if the AC power is disconnected, for instance.

However, I would like to be able to initially set the cpu frequencies to sane values by setting up cpupower properly for this cpu architecture.

Any help in how to specify per cpu frequencies, or per range of cpu frequencies in /etc/default/cpupower would be greatly appreciated.

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