i use arch btw
1[Unit]
2Description=Reload CPU kernel modules to fix power limit throttling
3
4[Service]
5Type=oneshot
6
7ExecStart=rmmod intel_rapl_msr
8ExecStart=rmmod processor_thermal_device_pci_legacy
9ExecStart=rmmod processor_thermal_device
10ExecStart=rmmod processor_thermal_rapl
11ExecStart=rmmod intel_rapl_common
12ExecStart=rmmod intel_powerclamp
13
14ExecStart=modprobe intel_powerclamp
15ExecStart=modprobe intel_rapl_common
16ExecStart=modprobe processor_thermal_rapl
17ExecStart=modprobe processor_thermal_device
18ExecStart=modprobe processor_thermal_device_pci_legacy
19ExecStart=modprobe intel_rapl_msr
20
21[Install]
22WantedBy=multi-user.target