Skip to content

Instantly share code, notes, and snippets.

@kenanpelit
Created January 13, 2020 17:05
Show Gist options
  • Save kenanpelit/c0d5d3bba785881369b31f74887c5bbf to your computer and use it in GitHub Desktop.
Save kenanpelit/c0d5d3bba785881369b31f74887c5bbf to your computer and use it in GitHub Desktop.
[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: 40
# Time window #2 duration
PL2_Duration_S: 0.002
# Max allowed temperature before throttling
Trip_Temp_C: 75
# 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: 34
# Time window #1 duration
PL1_Duration_s: 28
# Max package power for time window #2
PL2_Tdp_W: 40
# Time window #2 duration
PL2_Duration_S: 0.002
# Max allowed temperature before throttling
Trip_Temp_C: 90
# 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: 0
# Integrated GPU voltage offset (mV)
GPU: 0
# CPU cache voltage offset (mV)
CACHE: 0
# System Agent voltage offset (mV)
UNCORE: 0
# Analog I/O voltage offset (mV)
ANALOGIO: 0
#[UNDERVOLT.AC]
## CPU core voltage offset (mV)
#CORE: 0
## Integrated GPU voltage offset (mV)
#GPU: 0
## CPU cache voltage offset (mV)
#CACHE: 0
## System Agent voltage offset (mV)
#UNCORE: 0
## Analog I/O voltage offset (mV)
#ANALOGIO: 0
#[UNDERVOLT]
## CPU core voltage offset (mV)
#CORE: -110
## Integrated GPU voltage offset (mV)
#GPU: -90
## CPU cache voltage offset (mV)
#CACHE: -110
## System Agent voltage offset (mV)
#UNCORE: -90
## Analog I/O voltage offset (mV)
#ANALOGIO: 0
[UNDERVOLT]
# CPU core voltage offset (mV)
CORE: -105
# Integrated GPU voltage offset (mV)
GPU: -85
# CPU cache voltage offset (mV)
CACHE: -105
# 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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment