THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
# cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]
Alternatively, if you do not want to mess with kernel parameters, you can create a new systemd service which disables this on each boot. Create the file "/etc/systemd/system/disable-thp.service" with the following content:
[Unit]
Description=Disable Transparent Huge Pages (THP)
[Service]
Type=simple
ExecStart=/bin/sh -c "echo 'never' > /sys/kernel/mm/transparent_hugepage/enabled && echo 'never' > /sys/kernel/mm/transparent_hugepage/defrag"
[Install]
WantedBy=multi-user.target
Restart systemd, start the new service and make sure the new service runs at startup:
# systemctl daemon-reload
# systemctl start disable-thp
# systemctl enable disable-thp
Metron install pre-preparation:
...