vms/qemu.d/game/release/end/dealloc_hugepages.sh

6 lines
152 B
Bash
Raw Permalink Normal View History

2021-05-19 17:49:55 +03:00
#!/bin/bash
sysctl vm.stat_interval=1
sysctl -w kernel.watchdog=1
echo 1 > /sys/bus/workqueue/devices/writeback/numa
echo 0 > /proc/sys/vm/nr_hugepages