From d47dd5aa3882aea1a8eff4fb9faa4881274559dc Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 17 Jan 2023 12:45:46 +0100 Subject: Unify things and rename things --- lindy/old/vm/vmconf.sh | 30 ----- lindy/old/vm/vmunconf.sh | 17 --- lindy/old/vm/win10_vm_conf_20211123.xml | 208 -------------------------------- 3 files changed, 255 deletions(-) delete mode 100755 lindy/old/vm/vmconf.sh delete mode 100755 lindy/old/vm/vmunconf.sh delete mode 100644 lindy/old/vm/win10_vm_conf_20211123.xml (limited to 'lindy/old/vm') diff --git a/lindy/old/vm/vmconf.sh b/lindy/old/vm/vmconf.sh deleted file mode 100755 index c5dfd7f..0000000 --- a/lindy/old/vm/vmconf.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -set -x - -grep AnonHugePages /proc/meminfo - -sudo systemctl set-property --runtime -- user.slice AllowedCPUs=4-7 -sudo systemctl set-property --runtime -- user-1000.slice AllowedCPUs=4-7 -sudo systemctl set-property --runtime -- system.slice AllowedCPUs=4-7 -sudo systemctl set-property --runtime -- systemd-getty.slice AllowedCPUs=4-7 -sudo systemctl set-property --runtime -- init.scope AllowedCPUs=4-7 - -sudo echo f0 | sudo tee /sys/bus/workqueue/devices/writeback/cpumask - -MAX=4 -for i in $(seq $MAX); do - echo "== $i/$MAX ==" - echo 3 | sudo tee /proc/sys/vm/drop_caches - echo 1 | sudo tee /proc/sys/vm/compact_memory - sleep 5 - sudo virsh allocpages 2M 3072 - grep AnonHugePages /proc/meminfo -done - -sudo virsh start win10 - -systemctl --user restart scream-client - -grep AnonHugePages /proc/meminfo - diff --git a/lindy/old/vm/vmunconf.sh b/lindy/old/vm/vmunconf.sh deleted file mode 100755 index 768ebc1..0000000 --- a/lindy/old/vm/vmunconf.sh +++ /dev/null @@ -1,17 +0,0 @@ - -#!/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 - diff --git a/lindy/old/vm/win10_vm_conf_20211123.xml b/lindy/old/vm/win10_vm_conf_20211123.xml deleted file mode 100644 index 25a7b4e..0000000 --- a/lindy/old/vm/win10_vm_conf_20211123.xml +++ /dev/null @@ -1,208 +0,0 @@ - - win10 - 7d426215-c3ea-4f8e-af7d-77c9b9ddb88d - - - - - - 6291456 - 6291456 - - - - 4 - 1 - - - - - - - - - - hvm - /usr/share/edk2-ovmf/x64/OVMF_CODE.fd - /var/lib/libvirt/qemu/nvram/win10_VARS.fd - - - - - - - - - - - - - - - - - - - - - - destroy - restart - destroy - - - - - - /usr/bin/qemu-system-x86_64 - - - - -
- - - - - - -
- - -
- - -
- - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - -
- - - - -
- - - - -
- - -
- - - - - -
- - - - - - - - - - -
- - -
- - - -