i use arch btw
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add throttled

+113
+1
README.md
··· 32 32 ```shell 33 33 sudo cp sysctl/etc/sysctld.d/* /etc/sysctl.d/ 34 34 sudo cp zram/etc/systemd/zram-generator.conf /etc/systemd/ 35 + sudo cp throttled/etc/systemd/system/reload-cpu-modules.service /etc/systemd/system/ 35 36 ``` 36 37 37 38 #### Install yay
+22
throttled/etc/systemd/system/reload-cpu-modules.service
··· 1 + [Unit] 2 + Description=Reload CPU kernel modules to fix power limit throttling 3 + 4 + [Service] 5 + Type=oneshot 6 + 7 + ExecStart=rmmod intel_rapl_msr 8 + ExecStart=rmmod processor_thermal_device_pci_legacy 9 + ExecStart=rmmod processor_thermal_device 10 + ExecStart=rmmod processor_thermal_rapl 11 + ExecStart=rmmod intel_rapl_common 12 + ExecStart=rmmod intel_powerclamp 13 + 14 + ExecStart=modprobe intel_powerclamp 15 + ExecStart=modprobe intel_rapl_common 16 + ExecStart=modprobe processor_thermal_rapl 17 + ExecStart=modprobe processor_thermal_device 18 + ExecStart=modprobe processor_thermal_device_pci_legacy 19 + ExecStart=modprobe intel_rapl_msr 20 + 21 + [Install] 22 + WantedBy=multi-user.target
+90
throttled/etc/throttled.conf
··· 1 + [GENERAL] 2 + # Enable or disable the script execution 3 + Enabled: True 4 + # SYSFS path for checking if the system is running on AC power 5 + Sysfs_Power_Path: /sys/class/power_supply/ADP*/online 6 + # Auto reload config on changes 7 + Autoreload: True 8 + 9 + ## Settings to apply while connected to Battery power 10 + [BATTERY] 11 + # Update the registers every this many seconds 12 + Update_Rate_s: 30 13 + # Max package power for time window #1 14 + PL1_Tdp_W: 29 15 + # Time window #1 duration 16 + PL1_Duration_s: 28 17 + # Max package power for time window #2 18 + PL2_Tdp_W: 44 19 + # Time window #2 duration 20 + PL2_Duration_S: 0.002 21 + # Max allowed temperature before throttling 22 + Trip_Temp_C: 85 23 + # Set cTDP to normal=0, down=1 or up=2 (EXPERIMENTAL) 24 + #cTDP: 0 25 + # Disable BDPROCHOT (EXPERIMENTAL) 26 + Disable_BDPROCHOT: True 27 + 28 + ## Settings to apply while connected to AC power 29 + [AC] 30 + # Update the registers every this many seconds 31 + Update_Rate_s: 5 32 + # Max package power for time window #1 33 + PL1_Tdp_W: 44 34 + # Time window #1 duration 35 + PL1_Duration_s: 28 36 + # Max package power for time window #2 37 + PL2_Tdp_W: 44 38 + # Time window #2 duration 39 + PL2_Duration_S: 0.002 40 + # Max allowed temperature before throttling 41 + Trip_Temp_C: 95 42 + # Set HWP energy performance hints to 'performance' on high load (EXPERIMENTAL) 43 + # Uncomment only if you really want to use it 44 + HWP_Mode: True 45 + # Set cTDP to normal=0, down=1 or up=2 (EXPERIMENTAL) 46 + #cTDP: 0 47 + # Disable BDPROCHOT (EXPERIMENTAL) 48 + Disable_BDPROCHOT: True 49 + 50 + # All voltage values are expressed in mV and *MUST* be negative (i.e. undervolt)! 51 + [UNDERVOLT.BATTERY] 52 + # CPU core voltage offset (mV) 53 + CORE: -100 54 + # Integrated GPU voltage offset (mV) 55 + GPU: 0 56 + # CPU cache voltage offset (mV) 57 + CACHE: -100 58 + # System Agent voltage offset (mV) 59 + UNCORE: 0 60 + # Analog I/O voltage offset (mV) 61 + ANALOGIO: 0 62 + 63 + # All voltage values are expressed in mV and *MUST* be negative (i.e. undervolt)! 64 + [UNDERVOLT.AC] 65 + # CPU core voltage offset (mV) 66 + CORE: -100 67 + # Integrated GPU voltage offset (mV) 68 + GPU: 0 69 + # CPU cache voltage offset (mV) 70 + CACHE: -100 71 + # System Agent voltage offset (mV) 72 + UNCORE: 0 73 + # Analog I/O voltage offset (mV) 74 + ANALOGIO: 0 75 + 76 + # [ICCMAX.AC] 77 + # # CPU core max current (A) 78 + # CORE: 79 + # # Integrated GPU max current (A) 80 + # GPU: 81 + # # CPU cache max current (A) 82 + # CACHE: 83 + 84 + # [ICCMAX.BATTERY] 85 + # # CPU core max current (A) 86 + # CORE: 87 + # # Integrated GPU max current (A) 88 + # GPU: 89 + # # CPU cache max current (A) 90 + # CACHE: