Skip to content

Enable overall cpufreq boost before enabling per-policy boost #810

@valpackett

Description

@valpackett

On a Snapdragon laptop, just using the regular [cpu] boost=1 without extra system configuration (this is on postmarketOS) I get this:

2025-11-11 02:36:34,284 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy4/boost' error: '[Errno 22] Invalid argument'
2025-11-11 02:36:34,284 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu4'
2025-11-11 02:36:34,284 WARNING  tuned.plugins.plugin_cpu: Unable to set boost on cpu 'cpu10'. Neither per-policy boost nor intel_pstate no_turbo is available.
2025-11-11 02:36:34,284 WARNING  tuned.plugins.plugin_cpu: Unable to set boost on cpu 'cpu6'. Neither per-policy boost nor intel_pstate no_turbo is available.
[…]

Well… you first need to write 1 to /sys/devices/system/cpu/cpufreq/boost before touching the "inner" /sys/devices/system/cpu/cpufreq/policy*/boost ones!

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