PrincetonUniversity / openpiton

The OpenPiton Platform
http://www.openpiton.org
629 stars 212 forks source link

General questions about benchmarking #104

Open rogpld opened 2 years ago

rogpld commented 2 years ago

I'm interested in doing some custom benchmarks on OpenPiton + Ariane.

Is there a way to get the l1.5 and l2 miss rate from the simulations? Running

sims -sys=manycore -x_tiles=1 -y_tiles=1 -vlt_run -ariane dhrystone.riscv -precompiled -rtl_timeout=10000000 -post_process_cmd="perf > perf.log"

gives me an empty perf.log file. I see no performance results besides the cycle count printed from within the dhrystone elf (which reflects the perf. counters results and has no information about l1.5 and l2).

Thank you.

Jbalkind commented 2 years ago

Just seeing this now (broken email notification settings) and I assume you probably resolved this already. I'll leave an answer for posterity:

Page 40 of the microarchitecture specification explains the address formatting to get L2 accesses and misses: http://openpiton.org/docs/micro_arch.pdf