Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hints and algorithm documentation #33

Open
wizonesolutions opened this issue Sep 29, 2019 · 5 comments
Open

Hints and algorithm documentation #33

wizonesolutions opened this issue Sep 29, 2019 · 5 comments

Comments

@wizonesolutions
Copy link

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
Copy link

Mi-Al commented Sep 29, 2019

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
Copy link
Owner

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

@benyaminl
Copy link

benyaminl commented Nov 6, 2019

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
Copy link

das-s commented Mar 31, 2020

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants