projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d532f
)
selfetests/bpf: Update vmtest.sh defaults
author
Yucong Sun
<sunyucong@gmail.com>
Mon, 25 Oct 2021 22:33:42 +0000
(15:33 -0700)
committer
Andrii Nakryiko
<andrii@kernel.org>
Wed, 27 Oct 2021 18:58:44 +0000
(11:58 -0700)
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
tools/testing/selftests/bpf/vmtest.sh
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/bpf/vmtest.sh
b/tools/testing/selftests/bpf/vmtest.sh
index 8889b3f552367d088594f214bc1863e59df4c7b1..027198768fad313a535a71fdeca213e419185a86 100755
(executable)
--- a/
tools/testing/selftests/bpf/vmtest.sh
+++ b/
tools/testing/selftests/bpf/vmtest.sh
@@
-224,10
+224,10
@@
EOF
-nodefaults \
-display none \
-serial mon:stdio \
- -cpu
kvm64
\
+ -cpu
host
\
-enable-kvm \
- -smp
4
\
- -m
2
G \
+ -smp
8
\
+ -m
4
G \
-drive file="${rootfs_img}",format=raw,index=1,media=disk,if=virtio,cache=none \
-kernel "${kernel_bzimage}" \
-append "root=/dev/vda rw console=ttyS0,115200"