Skip to content

Instantly share code, notes, and snippets.

@themagicalmammal
Last active February 25, 2023 18:12
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save themagicalmammal/69802f0c35c2d9d2cea7fbf3f22262f8 to your computer and use it in GitHub Desktop.
Save themagicalmammal/69802f0c35c2d9d2cea7fbf3f22262f8 to your computer and use it in GitHub Desktop.
Intel Undervolt Config for i5-7200U Intel Graphics 620 (/etc/intel-undervolt.conf)
# Enable or Disable Triggers (elogind)
# Usage: enable [yes/no]
enable yes
# CPU Undervolting
# Usage: undervolt ${index} ${display_name} ${undervolt_value}
# Example: undervolt 2 'CPU Cache' -25.84
undervolt 0 'CPU' -90
undervolt 1 'GPU' -30
undervolt 2 'CPU Cache' -90
undervolt 3 'System Agent' -90
undervolt 4 'Analog I/O' -90
# Power Limits Alteration
# Usage: power ${domain} ${short_power_value} ${long_power_value}
# Power value: ${power}[/${time_window}][:enabled][:disabled]
# Domains: package
# Example: power package 45 35
# Example: power package 45/0.002 35/28
# Example: power package 45/0.002:disabled 35/28:enabled
# Critical Temperature Offset Alteration
# Usage: tjoffset ${temperature_offset}
# Example: tjoffset -20
# Energy Versus Performance Preference Switch
# Usage: hwphint ${mode} ${algorithm} ${load_hint} ${normal_hint}
# Hints: see energy_performance_available_preferences
# Modes: switch, force
# Load algorithm: load:${capture}:${threshold}
# Power algorithm: power[:${domain}:[gt/lt]:${value}[:[and/or]]...]
# Capture: single, multi
# Threshold: CPU usage threshold
# Domain: RAPL power domain, check with `intel-undervolt measure`
# Example: hwphint force load:single:0.8 performance balance_performance
# Example: hwphint switch power:core:gt:8 performance balance_performance
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment