blob: 768ebc1519a1879c82cfb1fc47c96a26597aeac7 (
plain) (
tree)
|
|
#!/bin/sh
set -x
grep AnonHugePages /proc/meminfo
sudo systemctl set-property --runtime -- user.slice AllowedCPUs=0-7
sudo systemctl set-property --runtime -- user-1000.slice AllowedCPUs=0-7
sudo systemctl set-property --runtime -- system.slice AllowedCPUs=0-7
sudo systemctl set-property --runtime -- systemd-getty.slice AllowedCPUs=0-7
sudo systemctl set-property --runtime -- init.scope AllowedCPUs=0-7
sudo echo ff | sudo tee /sys/bus/workqueue/devices/writeback/cpumask
sudo virsh allocpages 2M 0
|