Hi All,
I am new to firesim, so apologies if this is a naïve question. I am trying to get performance-counter statistics for SPEC-17 benchmarks on Firesim. I am following the methodology for single-node simulations in the Firesim Doc, and using the default config: a 4-core Rocket-core RISC-V design. I am interested in measuring execution-cycles, executed-instructions, L2-accesses, L2-misses and DRAM-accesses for each benchmark.
I tried to use the hpm_counters and memory_stats.csv to measure the core and memory statistics as described in this UC Berkeley Lab Assignment – however, I am having trouble with both aspects:
Could someone with more experience help me understand how I can get the core and cache statistics for a benchmark in Firesim?
Thanks,
Gururaj
--------------------
Some additional details:
As for the memory_stats.csv, you need to make sure you change the profileinterval parameter in your config_runtime.ini to a value that’s different than -1. If you set that value to X, then the memory_stats values will be sampled every X cycles.
I’m not familiar enough with the usage of hpm_counters, so I will leave that for someone else to answer, but I would point out that FireSim also has the AutoCounter feature which can possibly be more fine-grained and might be worth looking at (https://docs.fires.im/en/latest/Advanced-Usage/Debugging-and-Profiling-on-FPGA/AutoCounter.html).
Finally, I believe there was a recent thread on the Chipyard mailing list that might be relevant: https://groups.google.com/u/2/g/chipyard/c/NBFasBCiR8w
Shana Tova,
Alon
--
You received this message because you are subscribed to the Google Groups "FireSim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firesim+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firesim/861b93e3-b49e-471e-9180-3e8020ef1dbcn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firesim/0cca01d68d3c%242f460340%248dd209c0%24%40berkeley.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/firesim/CAHg8tWrS%2Bmss4g5daQ6gqvCRGOGS-5oj%3DnxCfnxZD7G9B82eyQ%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "FireSim" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firesim/hWoqInJK4ME/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firesim+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firesim/CAGW4o-6v_4_9LFAAhq62M%3Dpb5Y3nwyF2HS44HGRYg1sJ5L7Y%2Bg%40mail.gmail.com.