GEM5 checkpoint switch to HPI for benchmarking.

Don't pass -e on checkpoint restore.

Add benchmarks to how much GEM5 is slower than QEMU.

Rename Kernel boot command line arguments to match kernel docs name.

Document how to pass extra options to GEM5.

Start listing interesting benchmarks to run on GEM5.

Add an openmp hello world.
This commit is contained in:
Ciro Santilli
2018-02-25 10:37:54 +00:00
parent 42d86576cd
commit 2eff007f7c
6 changed files with 162 additions and 26 deletions

7
run
View File

@@ -69,6 +69,7 @@ ${gem5opts} \
--disk-image='${outdir}/images/rootfs.ext2' \
--kernel='${outdir}/build/linux-custom/vmlinux' \
--root-device=/dev/sda \
$extra_flags \
"
elif [ "$arch" = arm ] || [ "$arch" = aarch64 ]; then
cmd="\
@@ -82,9 +83,9 @@ ${gem5opts} \
--dtb-file='${gem5_dir}/system/arm/dt/$([ "$arch" = arm ] && echo armv7_gem5_v1_1cpu || echo armv8_gem5_v1_1cpu).dtb' \
--kernel='${outdir}/build/linux-custom/vmlinux' \
--machine-type=VExpress_GEM5_V1 \
$extra_flags \
"
fi
cmd="$cmd \"\$@\""
else
buildroot_out_dir="./buildroot/output.${arch}~"
images_dir="$buildroot_out_dir/images"
@@ -169,7 +170,5 @@ $extra_flags \
;;
esac
fi
echo "$cmd"
echo "$cmd" | tee run.log
eval "$cmd"