initial version (alpha)
This commit is contained in:
commit
b5de726919
58 changed files with 1237 additions and 0 deletions
14
system_files/usr/etc/systemd/system/cpu-performance.service
Normal file
14
system_files/usr/etc/systemd/system/cpu-performance.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Apply Performance Settings
|
||||
After=sysinit.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c 'echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor'
|
||||
ExecStart=/bin/sh -c 'echo always > /sys/kernel/mm/transparent_hugepage/enabled'
|
||||
ExecStart=/bin/sh -c 'echo always > /sys/kernel/mm/transparent_hugepage/defrag'
|
||||
ExecStart=/bin/sh -c 'echo performance > /sys/module/pcie_aspm/parameters/policy || true'
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue