mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gem5 readme: document failed restores on aarch64
This commit is contained in:
31
README.adoc
31
README.adoc
@@ -2543,10 +2543,39 @@ at commit da79d6c6cde0fbe5473ce868c9be4771160a003b with the following gem5 comma
|
||||
./run -a arm -g -- --caches --l1d_size=1024MB --l1i_size=1024MB --l2cache --l2_size=1024MB --l3_size=1024MB --cpu-type=HPI
|
||||
|
||||
# 20M
|
||||
./run -a x86_64 -g -- --caches --l1d_size=1024 --l2cache --l2_size=1024 --l3_size=1024
|
||||
./run -a x86_64 -g -- --caches --l1d_size=1024 --l2cache --l2_size=1024 --l3_size=1024
|
||||
./run -a x86_64 -g -- --caches --l1d_size=1024MB --l2cache --l2_size=1024MB --l3_size=1024MB
|
||||
....
|
||||
|
||||
At commit 1f5baf5371f0670f7724f53ddb7793701ed84b9e:
|
||||
|
||||
....
|
||||
printf '#!/bin/sh
|
||||
m5 resetstats
|
||||
dhrystone 1000
|
||||
m5 exit
|
||||
' >readfile.gitignore
|
||||
chmod +x readfile.gitignore
|
||||
./run -a aarch64 -g -E 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'
|
||||
|
||||
# 2.736.506
|
||||
./run -a aarch64 -g
|
||||
# 2.736.473
|
||||
./run -a aarch64 -g -- --caches --l2cache
|
||||
# 2.736.509
|
||||
./run -a aarch64 -g -- --caches --l2cache --l1d_size=1024 --l1i_size=1024 --l2_size=1024 --l3_size=1024
|
||||
# 2.736.473
|
||||
./run -a aarch64 -g -- --caches --l2cache --l1d_size=1024kB --l1i_size=1024kB --l2_size=1024kB --l3_size=1024kB
|
||||
# 50.193.186
|
||||
./run -a aarch64 -g -- --caches --l2cache --l1d_size=1024 --l1i_size=1024 --l2_size=1024 --l3_size=1024 --cpu-type=HPI
|
||||
# 5.924.610
|
||||
./run -a aarch64 -g -- --caches --l2cache --l1d_size=1024kB --l1i_size=1024kB --l2_size=1024kB --l3_size=1024kB --cpu-type=HPI
|
||||
# 2.736.509
|
||||
./run -a aarch64 -g -- --caches --l2cache --l1d_size=1024 --l1i_size=1024 --l2_size=1024 --l3_size=1024 --restore-with-cpu=HPI -r 1
|
||||
# 2.736.949
|
||||
./run -a aarch64 -g -- --caches --l2cache --l1d_size=1024kB --l1i_size=1024kB --l2_size=1024kB --l3_size=1024kB --restore-with-cpu=HPI -r 2
|
||||
....
|
||||
|
||||
Cache sizes can in theory be checked with the methods described at: link:https://superuser.com/questions/55776/finding-l2-cache-size-in-linux[]:
|
||||
|
||||
....
|
||||
|
||||
Reference in New Issue
Block a user