From b99e7be3be8f971bfda6044d8ba0a9fb46d54d50 Mon Sep 17 00:00:00 2001 From: Ram Lavi Date: Thu, 16 Nov 2023 17:17:41 +0200 Subject: [PATCH] vm-under-test: Disable swap space Disable swap space since it will introduce potential latency Signed-off-by: Ram Lavi --- vms/vm-under-test/scripts/first-boot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vms/vm-under-test/scripts/first-boot b/vms/vm-under-test/scripts/first-boot index 89e6b1e4..0789dc5b 100755 --- a/vms/vm-under-test/scripts/first-boot +++ b/vms/vm-under-test/scripts/first-boot @@ -21,3 +21,5 @@ set -e mkdir /mnt/huge mount /mnt/huge --source nodev -t hugetlbfs -o pagesize=1GB + +swapoff -a