Commit Graph

12 Commits

Author SHA1 Message Date
Anton 7b03630a5e
Added notes to the documentation about the default `energy_perf_bias` settings (#774)
* added additional clarification for the default `energy_perf_bias` settings

* fixed typo in the `epb` verbose message for cpufreqctl
2024-09-12 19:32:30 +02:00
Anton 08d95b6bec
Add EPB (Energy Performance Bias) settings support (#771)
* Added `energy_perf_bias` support for intel_pstate driver

* Refactored epb part, added doc for energy_perf_bias settings
2024-09-09 17:46:38 +02:00
Harsh Panchal 7ac55199f2
Add support for setting "Platform Profile" (#752)
* Add support for setting "Platform Profile"

* Add reference for Platform Profile
2024-08-04 10:15:46 +02:00
Angel cc6d98d8b1
Minor refactor: code clean-up & make it more readable (#695)
* Clean code

* Back

* Clean code

* Back

* Clean code

* Change arch based detection
2024-05-12 16:16:40 +02:00
Michael Livshin c67e290cc0
cpufreqctl: don't try writing to non-existent files (#533)
When you give "nosmt" to your kernel, you still get directories under
/sys that correspond to inactive hyperthreads, but there's nothing
writable inside those directories, which causes auto-cpufreq to
generate lots of logspam.
2023-07-01 09:36:25 +02:00
Ishaan Bhimwal 29d5d87ded
fix multiple typos as reported by typos (#410) 2022-07-31 08:14:27 +02:00
Ákos Várady 1aa1983ccf
Add min/max allowed frequencies option (#309) (#324)
* Add min/max allowed frequencies option (#309)

Setting the minimum/maximum allowed CPU frequencies is now possible
via 'scaling_min_freq' and 'scaling_max_freq' options in config
for both modes (charger and battery).
Values should be given in kHZ.

Example:
scaling_min_freq = 1800000
scaling_max_freq = 2000000

I also did autoformatting via 'black', using --line-length 100.
Code is now a bit tidier than before.

* Fixes for min/max allowed frequencies option

* Further modify min/max frequency option

* Fix temporary modification in min/max allowed frequency option

Co-authored-by: Akos Varady <akos.varady@ericsson.com>
2021-12-26 11:01:32 +01:00
bobslept b999f49dba
Remove package options (#304) 2021-12-08 21:07:50 +01:00
Mert Can Demir 9a6b9cf387 Add the feature that makes EPP changeable (#45)
* Add the feature that makes EPP changeable

* Remove .vscode folder

* Fix little statement thing

* implemented mechanism to backup/restore original cpufreqctl file

Co-authored-by: Adnan Hodzic <adnan@hodzic.org>
2020-03-21 16:11:18 +01:00
Adnan Hodzic cda094fb89 code improvements for snap to work in strict confinement 2020-02-10 18:18:02 +01:00
John Athanaselis d727f5ab76 Update cpufreqctl.sh (#19) 2020-01-07 20:03:20 +01:00
Adnan Hodzic 01d3c1ee84 added cpufreqctl_deploy + added cpufreqctl script 2019-12-31 12:15:16 +01:00