|
|
@ -1,8 +1,9 @@
|
|
|
|
#!/bin/bash
|
|
|
|
#!/bin/bash
|
|
|
|
echo "Reserving hugepages"
|
|
|
|
echo "Reserving hugepages"
|
|
|
|
echo 8192 | sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
|
|
|
|
echo 6144 | sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
|
|
|
|
echo 3 | sudo tee /proc/sys/vm/drop_caches
|
|
|
|
echo 3 | sudo tee /proc/sys/vm/drop_caches
|
|
|
|
echo 1 | sudo tee /proc/sys/vm/compact_memory
|
|
|
|
echo 1 | sudo tee /proc/sys/vm/compact_memory
|
|
|
|
|
|
|
|
echo 0-15 | sudo tee /sys/fs/cgroup/cpuset/machine.slice/cpuset.cpus
|
|
|
|
echo "Starting Network"
|
|
|
|
echo "Starting Network"
|
|
|
|
virsh --connect=qemu:///system net-start default
|
|
|
|
virsh --connect=qemu:///system net-start default
|
|
|
|
sudo systemctl start smb nmb
|
|
|
|
sudo systemctl start smb nmb
|
|
|
|