Summarize Linux cache attempts

This commit is contained in:
Ciro Santilli
2018-02-26 08:11:15 +00:00
parent 1b797928e1
commit 4519c63b01

View File

@@ -1696,7 +1696,17 @@ cat /sys/devices/system/cpu/cpu0/cache/index2/size
+
Checking `level` is needed, for example `level0` and `level1` represented the same level on Linux 4.15.
+
TODO: check not working. `/sys` files don't exist, and `getconf` values empty. Ticket inbound. Related:
TODO: check not working. Breakdown:
+
--
** arm QEMU and GEM5, x86 GEM5: `/sys` files don't exist, and `getconf` values empty
** x86 QEMU: `/sys` files exist, but `getconf` values still empty
--
+
We can also try to check simply by verifying if benchmarks are getting sped up by larger caches.
+
Related:
+
** http://gem5-users.gem5.narkive.com/4xVBlf3c/verify-cache-configuration
* Memory latency: TODO These look promising:
+
@@ -1734,6 +1744,7 @@ grep numCycles m5out/stats.txt
....
+
TODO: why doesn't this exist:
+
....
ls /sys/devices/system/cpu/cpu0/cpufreq
....