mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 21:06:48 +00:00
Make benchmark CI more fair
This commit is contained in:
parent
aa77747f94
commit
9e59db2f42
@ -61,13 +61,13 @@ run_benchmark() {
|
|||||||
-smp 1 \
|
-smp 1 \
|
||||||
-m 8G \
|
-m 8G \
|
||||||
-machine q35,kernel-irqchip=split \
|
-machine q35,kernel-irqchip=split \
|
||||||
-cpu Icelake-Server,+x2apic \
|
-cpu Icelake-Server,-pcid,+x2apic \
|
||||||
--enable-kvm \
|
--enable-kvm \
|
||||||
-kernel ${LINUX_KERNEL} \
|
-kernel ${LINUX_KERNEL} \
|
||||||
-initrd ${BENCHMARK_DIR}/../build/initramfs.cpio.gz \
|
-initrd ${BENCHMARK_DIR}/../build/initramfs.cpio.gz \
|
||||||
-drive if=none,format=raw,id=x0,file=${BENCHMARK_DIR}/../build/ext2.img \
|
-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 \
|
-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/benchmark_entrypoint.sh mitigations=off' \
|
-append 'console=ttyS0 rdinit=/benchmark/benchmark_entrypoint.sh mitigations=off hugepages=0 transparent_hugepage=never' \
|
||||||
-nographic \
|
-nographic \
|
||||||
2>&1 | tee ${linux_output}"
|
2>&1 | tee ${linux_output}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user