kitsunyan / intel-undervolt

Intel CPU undervolting and throttling configuration tool
GNU General Public License v3.0
935 stars 66 forks source link

Hints and algorithm documentation #33

Open wizonesolutions opened 5 years ago

wizonesolutions commented 5 years ago

I am probably overlooking something super-obvious, so I hope this is only a quick question.

The config file says:

# Energy Versus Performance Preference Switch
# Usage: hwphint ${mode} ${algorithm} ${load_hint} ${normal_hint}
# Hints: see energy_performance_available_preferences

Where do I "see energy_performance_available_preferences"? Is there something similar for the algorithm string?

Mi-Al commented 5 years ago

Today I had the same “issue”. I guess it is meant the main page https://github.com/kitsunyan/intel-undervoltEnergy Versus Performance Preference Switch.

kitsunyan commented 5 years ago

I meant kernel interface, available via /sys/devices/system/cpu/cpufreq/policy0/energy_performance_available_preferences. You can see available policies there.

benyaminl commented 5 years ago

I meant kernel interface, available via /sys/devices/system/cpu/cpufreq/policy0/energy_performance_available_preferences. You can see available policies there.

Does mine too old, I don't see any file that have energy_performace_available_preferences. Mine is i5-4300U. Thinkpad X240

and result on this

[root@thinkpad intel-undervolt]# systemctl status intel-undervolt-loop
● intel-undervolt-loop.service - Intel Undervolt Loop Service
   Loaded: loaded (/usr/lib/systemd/system/intel-undervolt-loop.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2019-11-06 13:39:25 WIB; 10s ago
 Main PID: 7101 (intel-undervolt)
   CGroup: /system.slice/intel-undervolt-loop.service
           └─7101 /usr/bin/intel-undervolt daemon

Nov 06 13:39:25 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
Nov 06 13:39:25 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
Nov 06 13:39:30 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
Nov 06 13:39:30 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
Nov 06 13:39:30 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
Nov 06 13:39:30 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
Nov 06 13:39:35 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
Nov 06 13:39:35 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
Nov 06 13:39:35 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
Nov 06 13:39:35 thinkpad.localdomain intel-undervolt[7101]: Failed to get hint: No such file or directory
[root@thinkpad intel-undervolt]# 

This is the config that I have


hwphint switch power:core:gt:8:and:uncore:lt:3 performance balance_performance
hwphint switch load:single:0.90 balance_power power

# Daemon Update Interval
# Usage: interval ${interval_in_milliseconds}
interval 5000

# Daemon Actions
# Usage: daemon action[:option...]
# Actions: undervolt, power, tjoffset
# Options: once

daemon undervolt:once
daemon power
daemon tjoffset

The First error is Nov 06 13:43:02 thinkpad.localdomain intel-undervolt[7247]: Failed to open powercap directory

das-s commented 4 years ago

I don't see any file that have energy_performace_available_preferences.

Ran into the same problem on i7-4600U on a Thinkpad 440s. I am getting a similar errors when using hwphint.

benyaminl commented 4 years ago

I don't see any file that have energy_performace_available_preferences.

Ran into the same problem on i7-4600U on a Thinkpad 440s. I am getting a similar errors when using hwphint.

I think that;s because our CPU doesn't support it, because the owner of this repo use the newer thinkpad. I just sold my thinkpad, and thinking get a new one, *wait ryzen is appealing, aaaaaaa