Commit 547208a3 authored by Yucong Sun's avatar Yucong Sun Committed by Andrii Nakryiko

selfetests/bpf: Update vmtest.sh defaults

Increase memory to 4G, 8 SMP core with host cpu passthrough. This
make it run faster in parallel mode and more likely to succeed.
Signed-off-by: default avatarYucong Sun <sunyucong@gmail.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211025223345.2136168-2-fallentree@fb.com
parent f9d532fc
...@@ -224,10 +224,10 @@ EOF ...@@ -224,10 +224,10 @@ EOF
-nodefaults \ -nodefaults \
-display none \ -display none \
-serial mon:stdio \ -serial mon:stdio \
-cpu kvm64 \ -cpu host \
-enable-kvm \ -enable-kvm \
-smp 4 \ -smp 8 \
-m 2G \ -m 4G \
-drive file="${rootfs_img}",format=raw,index=1,media=disk,if=virtio,cache=none \ -drive file="${rootfs_img}",format=raw,index=1,media=disk,if=virtio,cache=none \
-kernel "${kernel_bzimage}" \ -kernel "${kernel_bzimage}" \
-append "root=/dev/vda rw console=ttyS0,115200" -append "root=/dev/vda rw console=ttyS0,115200"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment