Forward 8080 when benchmarking Linux

This commit is contained in:
Yuke Peng 2024-09-26 14:42:39 +08:00 committed by Tate, Hongliang Tian
parent 76d4b180d0
commit 5564adee74

View File

@ -70,7 +70,7 @@ run_benchmark() {
-drive if=none,format=raw,id=x0,file=${BENCHMARK_DIR}/../build/ext2.img \
-device virtio-blk-pci,bus=pcie.0,addr=0x6,drive=x0,serial=vext2,disable-legacy=on,disable-modern=off,queue-size=64,num-queues=1,config-wce=off,request-merging=off,write-cache=off,backend_defaults=off,discard=off,event_idx=off,indirect_desc=off,ioeventfd=off,queue_reset=off \
-append 'console=ttyS0 rdinit=/benchmark/common/bench_runner.sh ${benchmark} linux mitigations=off hugepages=0 transparent_hugepage=never quiet' \
-netdev user,id=net01,hostfwd=tcp::5201-:5201 \
-netdev user,id=net01,hostfwd=tcp::5201-:5201,hostfwd=tcp::8080-:8080 \
-device virtio-net-pci,netdev=net01,disable-legacy=on,disable-modern=off \
-nographic \
2>&1"