Skip to content

Commit

Permalink
vm-under-test: Disable swap space
Browse files Browse the repository at this point in the history
Disable swap space since it will introduce potential latency

Signed-off-by: Ram Lavi <ralavi@redhat.com>
  • Loading branch information
RamLavi committed Nov 20, 2023
1 parent 967594c commit b99e7be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vms/vm-under-test/scripts/first-boot
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ set -e

mkdir /mnt/huge
mount /mnt/huge --source nodev -t hugetlbfs -o pagesize=1GB

swapoff -a

0 comments on commit b99e7be

Please sign in to comment.