mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Updates
This commit is contained in:
parent
9a31b657a4
commit
0c4318b159
3 changed files with 29 additions and 23 deletions
|
|
@ -19,7 +19,7 @@ TLP_PERSISTENT_DEFAULT=1
|
|||
# Seconds laptop mode has to wait after the disk goes idle before doing a sync.
|
||||
# Non-zero value enables, zero disables laptop mode.
|
||||
DISK_IDLE_SECS_ON_AC=0
|
||||
DISK_IDLE_SECS_ON_BAT=0
|
||||
DISK_IDLE_SECS_ON_BAT=2
|
||||
|
||||
# Dirty page values (timeouts in secs).
|
||||
MAX_LOST_WORK_SECS_ON_AC=15
|
||||
|
|
@ -48,33 +48,33 @@ CPU_SCALING_GOVERNOR_ON_BAT=performance
|
|||
# Possible values strongly depend on your CPU. For available frequencies see
|
||||
# the output of tlp-stat -p.
|
||||
#CPU_SCALING_MIN_FREQ_ON_AC=0
|
||||
#CPU_SCALING_MAX_FREQ_ON_AC=0
|
||||
#CPU_SCALING_MAX_FREQ_ON_AC=3900000
|
||||
#CPU_SCALING_MIN_FREQ_ON_BAT=0
|
||||
#CPU_SCALING_MAX_FREQ_ON_BAT=0
|
||||
#CPU_SCALING_MAX_FREQ_ON_BAT=3900000
|
||||
|
||||
# Set energy performance hints (HWP) for Intel P-state governor:
|
||||
# performance, balance_performance, default, balance_power, power
|
||||
# Values are given in order of increasing power saving.
|
||||
# Note: Intel Skylake or newer CPU and Kernel >= 4.10 required.
|
||||
CPU_HWP_ON_AC=performance #balance_performance
|
||||
CPU_HWP_ON_AC=performance
|
||||
CPU_HWP_ON_BAT=performance
|
||||
|
||||
# Set Intel P-state performance: 0..100 (%).
|
||||
# Limit the max/min P-state to control the power dissipation of the CPU.
|
||||
# Values are stated as a percentage of the available performance.
|
||||
# Requires an Intel Core i processor with intel_pstate driver.
|
||||
#CPU_MIN_PERF_ON_AC=0
|
||||
#CPU_MIN_PERF_ON_AC=30
|
||||
#CPU_MAX_PERF_ON_AC=100
|
||||
#CPU_MIN_PERF_ON_BAT=0
|
||||
#CPU_MAX_PERF_ON_BAT=30
|
||||
#CPU_MIN_PERF_ON_BAT=30
|
||||
#CPU_MAX_PERF_ON_BAT=100
|
||||
|
||||
# Set the CPU "turbo boost" feature: 0=disable, 1=allow
|
||||
# Requires an Intel Core i processor.
|
||||
# Important:
|
||||
# - This may conflict with your distribution's governor settings
|
||||
# - A value of 1 does *not* activate boosting, it just allows it
|
||||
CPU_BOOST_ON_AC=0
|
||||
CPU_BOOST_ON_BAT=0
|
||||
CPU_BOOST_ON_AC=1
|
||||
CPU_BOOST_ON_BAT=1
|
||||
|
||||
# Minimize number of used CPU cores/hyper-threads under light load conditions:
|
||||
# 0=disable, 1=enable.
|
||||
|
|
@ -107,7 +107,7 @@ DISK_DEVICES="sda sdb"
|
|||
# Separate values for multiple disks with spaces. Use the special value 'keep'
|
||||
# to keep the hardware default for the particular disk.
|
||||
DISK_APM_LEVEL_ON_AC="254 254"
|
||||
DISK_APM_LEVEL_ON_BAT="128 128"
|
||||
DISK_APM_LEVEL_ON_BAT="254 254"
|
||||
|
||||
# Hard disk spin down timeout:
|
||||
# 0: spin down disabled
|
||||
|
|
@ -129,7 +129,7 @@ DISK_APM_LEVEL_ON_BAT="128 128"
|
|||
# (*) Kernel >= 4.15 required, then recommended.
|
||||
# Multiple values separated with spaces are tried sequentially until success.
|
||||
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
|
||||
SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
|
||||
SATA_LINKPWR_ON_BAT="med_power_with_dipm max_performance"
|
||||
|
||||
# Exclude host devices from AHCI link power management.
|
||||
# Separate multiple hosts with spaces.
|
||||
|
|
@ -147,16 +147,16 @@ AHCI_RUNTIME_PM_TIMEOUT=15
|
|||
# PCI Express Active State Power Management (PCIe ASPM):
|
||||
# default, performance, powersave.
|
||||
PCIE_ASPM_ON_AC=performance
|
||||
PCIE_ASPM_ON_BAT=powersave
|
||||
PCIE_ASPM_ON_BAT=performance
|
||||
|
||||
# Radeon graphics clock speed (profile method): low, mid, high, auto, default;
|
||||
# auto = mid on BAT, high on AC; default = use hardware defaults.
|
||||
RADEON_POWER_PROFILE_ON_AC=high
|
||||
RADEON_POWER_PROFILE_ON_BAT=low
|
||||
RADEON_POWER_PROFILE_ON_BAT=high
|
||||
|
||||
# Radeon dynamic power management method (DPM): battery, performance.
|
||||
RADEON_DPM_STATE_ON_AC=performance
|
||||
RADEON_DPM_STATE_ON_BAT=battery
|
||||
RADEON_DPM_STATE_ON_BAT=performance
|
||||
|
||||
# Radeon DPM performance level: auto, low, high; auto is recommended.
|
||||
RADEON_DPM_PERF_LEVEL_ON_AC=auto
|
||||
|
|
@ -172,7 +172,7 @@ WOL_DISABLE=Y
|
|||
# Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
|
||||
# A value of 0 disables, >=1 enables power saving (recommended: 1).
|
||||
SOUND_POWER_SAVE_ON_AC=0
|
||||
SOUND_POWER_SAVE_ON_BAT=1
|
||||
SOUND_POWER_SAVE_ON_BAT=0
|
||||
|
||||
# Disable controller too (HDA only): Y/N.
|
||||
SOUND_POWER_SAVE_CONTROLLER=Y
|
||||
|
|
@ -188,7 +188,7 @@ BAY_DEVICE="sr0"
|
|||
|
||||
# Runtime Power Management for PCI(e) bus devices: on=disable, auto=enable.
|
||||
RUNTIME_PM_ON_AC=on
|
||||
RUNTIME_PM_ON_BAT=auto
|
||||
RUNTIME_PM_ON_BAT=on
|
||||
|
||||
# Exclude PCI(e) device adresses the following list from Runtime PM
|
||||
# (separate with spaces). Use lspci to get the adresses (1st column).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue