Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Yucong Sun <sunyucong@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211025223345.2136168-2-fallentree@fb.com

authored by

Yucong Sun and committed by
Andrii Nakryiko
547208a3 f9d532fc

+3 -3
+3 -3
tools/testing/selftests/bpf/vmtest.sh
··· 224 224 -nodefaults \ 225 225 -display none \ 226 226 -serial mon:stdio \ 227 - -cpu kvm64 \ 227 + -cpu host \ 228 228 -enable-kvm \ 229 - -smp 4 \ 230 - -m 2G \ 229 + -smp 8 \ 230 + -m 4G \ 231 231 -drive file="${rootfs_img}",format=raw,index=1,media=disk,if=virtio,cache=none \ 232 232 -kernel "${kernel_bzimage}" \ 233 233 -append "root=/dev/vda rw console=ttyS0,115200"