From b5b1245f820e5e589adfa618a62f7aacf62fcbc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sun, 4 Nov 2018 00:00:01 +0000 Subject: [PATCH] bench-boot: add updated benchmark --- README.adoc | 57 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/README.adoc b/README.adoc index 429ad9c..347b047 100644 --- a/README.adoc +++ b/README.adoc @@ -10500,49 +10500,74 @@ Run all kernel boot benchmarks for one arch: cat "$(./getvar bench_boot)" .... -Sample results at 2bddcc2891b7e5ac38c10d509bdfc1c8fe347b94: +Sample results at 8fb9db39316d43a6dbd571e04dd46ae73915027f: .... + cmd ./run --arch x86_64 --eval '/poweroff.out' -time 7.46 +time 8.25 exit_status 0 cmd ./run --arch x86_64 --eval '/poweroff.out' --kvm -time 7.61 +time 1.22 exit_status 0 cmd ./run --arch x86_64 --eval '/poweroff.out' --trace exec_tb -time 8.04 +time 8.83 exit_status 0 -instructions 1665023 +instructions 2244297 cmd ./run --arch x86_64 --eval 'm5 exit' --gem5 -time 254.32 +time 213.39 exit_status 0 -instructions 380799337 +instructions 318486337 cmd ./run --arch arm --eval '/poweroff.out' -time 5.56 +time 6.62 exit_status 0 - cmd ./run --arch arm --eval '/poweroff.out' --trace exec_tb -time 5.78 +time 6.90 exit_status 0 -instructions 742319 +instructions 776374 + +cmd ./run --arch arm --eval 'm5 exit' --gem5 +time 118.46 +exit_status 0 +instructions 153023392 + +cmd ./run --arch arm --eval 'm5 exit' --gem5 -- --cpu-type=HPI --caches --l2cache --l1d_size=1024kB --l1i_size=1024kB --l2_size=1024kB --l3_size=1024kB +time 2250.40 +exit_status 0 +instructions 151981914 cmd ./run --arch aarch64 --eval '/poweroff.out' -time 4.85 +time 4.94 exit_status 0 cmd ./run --arch aarch64 --eval '/poweroff.out' --trace exec_tb -time 4.91 +time 5.04 exit_status 0 -instructions 245471 +instructions 233162 cmd ./run --arch aarch64 --eval 'm5 exit' --gem5 -time 68.71 +time 70.89 exit_status 0 -instructions 120555566 +instructions 124346081 + +cmd ./run --arch aarch64 --eval 'm5 exit' --gem5 -- --cpu-type=HPI --caches --l2cache --l1d_size=1024kB --l1i_size=1024kB --l2_size=1024kB --l3_size=1024kB +time 381.86 +exit_status 0 +instructions 124564620 + +cmd ./run --arch aarch64 --eval 'm5 exit' --gem5 --gem5-build-type fast +time 58.00 +exit_status 0 +instructions 124346081 + +cmd ./run --arch aarch64 --eval 'm5 exit' --gem5 --gem5-build-type debug +time 1022.03 +exit_status 0 +instructions 124346081 .... TODO: aarch64 gem5 and QEMU use the same kernel, so why is the gem5 instruction count so much much higher?