mirror of
https://github.com/erpalma/throttled.git
synced 2026-03-07 21:43:56 +01:00
Update Arch Linux instructions
This commit is contained in:
parent
4b076e1496
commit
ea23800588
|
|
@ -28,7 +28,7 @@ The tool supports **undervolting** the CPU by configuring voltage offsets for CP
|
|||
The tool now supports overriding the **IccMax** by configuring the maximum allowed current for CPU, cache and GPU planes. The tool will re-apply IccMax on resume from standby and hibernate. You can now either use the `ICCMAX` key in config to set global values or the `ICCMAX.AC` and `ICCMAX.BATTERY` keys to selectively set current values for the two power profiles. **NOTE:** the values specified in the config file are the actual current limit of your system, so those are not a offset from the default values as for the undervolt. As such, you should first find your system default values with the `--monitor` command.
|
||||
|
||||
### HWP override (EXPERIMENTAL)
|
||||
I have found that under load my CPU was not always hitting max turbo frequency, in particular when using one/two cores only. For instance, when running [prime95](https://www.mersenne.org/download/) (1 core, test #1) my CPU is limited to about 3500 MHz over the theoretical 4000 MHz maximum. The reason is the value for the HWP energy performance [hints](http://manpages.ubuntu.com/manpages/artful/man8/x86_energy_perf_policy.8.html). By default TLP sets this value to `balance_performance` on AC in order to reduce the power consumption/heat in idle. By setting this value to `performance` I was able to reach 3900 MHz in the prime95 single core test, achieving a +400 MHz boost. Since this value forces the CPU to full speed even during idle, a new experimental feature allows to automatically set HWP to performance under load and revert it to balanced when idle. This feature can be enabled (in AC mode *only*) by setting to `True` the `HWP_Mode` parameter in the throttled config file : https://github.com/erpalma/throttled/blob/master/etc/throttled.conf#L41 .
|
||||
I have found that under load my CPU was not always hitting max turbo frequency, in particular when using one/two cores only. For instance, when running [prime95](https://www.mersenne.org/download/) (1 core, test #1) my CPU is limited to about 3500 MHz over the theoretical 4000 MHz maximum. The reason is the value for the HWP energy performance [hints](http://manpages.ubuntu.com/manpages/artful/man8/x86_energy_perf_policy.8.html). By default TLP sets this value to `balance_performance` on AC in order to reduce the power consumption/heat in idle. By setting this value to `performance` I was able to reach 3900 MHz in the prime95 single core test, achieving a +400 MHz boost. Since this value forces the CPU to full speed even during idle, a new experimental feature allows to automatically set HWP to performance under load and revert it to balanced when idle. This feature can be enabled (in AC mode *only*) by setting to `True` the `HWP_Mode` parameter in the throttled config file : https://github.com/erpalma/throttled/blob/master/etc/throttled.conf#L44 .
|
||||
|
||||
I have run **[Geekbench 4](https://browser.geekbench.com/v4/cpu/8656840)** and now I can get a score of 5391/17265! On `balance_performance` I can reach only 4672/16129, so **15% improvement** in single core and 7% in multicore, not bad ;)
|
||||
|
||||
|
|
@ -62,7 +62,9 @@ The tool is now running with Python3 by default (tested w/ 3.6) and a virtualenv
|
|||
### Arch Linux [community package](https://www.archlinux.org/packages/community/x86_64/throttled/):
|
||||
```
|
||||
pacman -S throttled
|
||||
sudo systemctl enable --now throttled.service
|
||||
# For now, systemd service and conf still use legacy name
|
||||
less /etc/lenovo_fix.conf
|
||||
sudo systemctl enable --now lenovo_fix.service
|
||||
```
|
||||
Thanks to *felixonmars* for creating and maintaining this package.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue