throttled icon indicating copy to clipboard operation
throttled copied to clipboard

List of config files

Open otaj opened this issue 7 years ago • 8 comments

Hi,

first of all thanks for the amazing work, it makes the system usable. However, I believe most people like me are not very well versed in undervolting, MBR, etc. terminology. It would be nice to have either a wiki page or list of known config files that work well with the specific configuration of various laptops so that new users don't have to test it themselves.

For example, I have a similar configuration to the one listed in the readme (T480, MX150 dGPU, i7-8550U), however, because of the difference in having dGPU, I had to tweak a few values in my config file in order to make it usable.

otaj avatar Jan 13 '19 15:01 otaj

I would be glad to share my undervolting config with you. I also have an i7-8550U so there's a good chance it will work for you too.

https://github.com/c-edw/dotfiles/blob/master/etc/lenovo_fix.conf

cedws avatar Feb 15 '19 01:02 cedws

I agree. I'm fighting too with this throttle issue. I own a T470 with a i5-7300u. I currently use the default configuration and I'm pretty scared to play with undervoltage. This project has a wiki. It could be nice to publish suitable configurations experimented by users there. Thanks for your great project.

xmaysonnave avatar May 03 '19 05:05 xmaysonnave

Actually playing with undervoltage is quite safe, at least for the hardware. The only issue is that you might corrupt your filesystem due to crashes. Usually I do this from a live usb, but I guess you can do it from your distro and keep a watch sync in background. I use prime95 to test the stability of the system and gradually lower the voltage at 5 or 10 mV steps. When you reach the limit you set a conservative value by about 10/20 % just to play safe. During tests I also stop and re-launch prime95 because often crashes happens during transitions from low to high freq.

erpalma avatar May 03 '19 08:05 erpalma

I actually only recently found a script, which was testing safe PHC (earlier method of undervolting for older intel CPUs) undervolting by prime95 (https://searchcode.com/file/48898279/mprime-phc-setup) - I plan to port it to Python and undervolting by writing to MSR registers, I will share it here when it is done.

otaj avatar May 03 '19 08:05 otaj

I'm highly interested for config running with i5-i8350U (t480s) if someone has. Otherwise I'll try myself I post here my result if succeed

kakawait avatar Aug 29 '19 18:08 kakawait

I'm highly interested for config running with i5-i8350U (t480s) if someone has. Otherwise I'll try myself I post here my result if succeed

Any updates? Im also running an i5-8350U

mike391 avatar Dec 20 '19 14:12 mike391

@kakawait Have you gone ahead and tried some voltages yet? I'm also running an i5-8350U t480s, and if you haven't tried yet I'd be glad to go ahead and try myself and share my results. It seems like some folks on Reddit with our same computer and CPU has managed to get theirs down to ~120-130, although I assume they're running Windows (and no talk of their GPU numbers to be found).

sammyspark avatar Jan 01 '20 07:01 sammyspark

@sammyspark sure I'm interested. I did some tweaks that seems to fix throttle and still stable but not sure if most optimal values. I will post my values as soon as I've my laptop on hands


Update

[GENERAL]
# Enable or disable the script execution
Enabled: True
# SYSFS path for checking if the system is running on AC power
Sysfs_Power_Path: /sys/class/power_supply/AC*/online

## Settings to apply while connected to Battery power
[BATTERY]
# Update the registers every this many seconds
Update_Rate_s: 30
# Max package power for time window #1
PL1_Tdp_W: 29
# Time window #1 duration
PL1_Duration_s: 28
# Max package power for time window #2
PL2_Tdp_W: 44
# Time window #2 duration
PL2_Duration_S: 0.002
# Max allowed temperature before throttling
Trip_Temp_C: 85
# Set cTDP to normal=0, down=1 or up=2 (EXPERIMENTAL)
cTDP: 0

## Settings to apply while connected to AC power
[AC]
# Update the registers every this many seconds
Update_Rate_s: 5
# Max package power for time window #1
PL1_Tdp_W: 44
# Time window #1 duration
PL1_Duration_s: 28
# Max package power for time window #2
PL2_Tdp_W: 44
# Time window #2 duration
PL2_Duration_S: 0.002
# Max allowed temperature before throttling
Trip_Temp_C: 95
# Set HWP energy performance hints to 'performance' on high load (EXPERIMENTAL)
HWP_Mode: False
# Set cTDP to normal=0, down=1 or up=2 (EXPERIMENTAL)
cTDP: 0

[UNDERVOLT.BATTERY]
# CPU core voltage offset (mV)
CORE: -80
# Integrated GPU voltage offset (mV)
GPU: -70
# CPU cache voltage offset (mV)
CACHE: -80
# System Agent voltage offset (mV)
UNCORE: -70
# Analog I/O voltage offset (mV)
ANALOGIO: 0

[UNDERVOLT.AC]
# CPU core voltage offset (mV)
CORE: -95
# Integrated GPU voltage offset (mV)
GPU: -85
# CPU cache voltage offset (mV)
CACHE: -95
# System Agent voltage offset (mV)
UNCORE: -85
# Analog I/O voltage offset (mV)
ANALOGIO: 0

# [ICCMAX.AC]
# # CPU core max current (A)
# CORE: 
# # Integrated GPU max current (A)
# GPU: 
# # CPU cache max current (A)
# CACHE: 

# [ICCMAX.BATTERY]
# # CPU core max current (A)
# CORE: 
# # Integrated GPU max current (A)
# GPU: 
# # CPU cache max current (A)
# CACHE: 

kakawait avatar Jan 01 '20 11:01 kakawait