11 lines
293 B
SYSTEMD
11 lines
293 B
SYSTEMD
|
[Unit]
|
||
|
Description=Disable Transparent Huge Pages
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/bin/sh -c "/bin/echo "never" | tee /sys/kernel/mm/transparent_hugepage/enabled"
|
||
|
ExecStart=/bin/sh -c "/bin/echo "never" | tee /sys/kernel/mm/transparent_hugepage/defrag"
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|