-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change the LLC size #14
Comments
(i) The LLC size can be configured using the runtime config file (.conf). When you simulate a design, firesim creates runtime.conf with default values in firesim-nvdla/sim/output/f1/FireSimNoNIC-FireSimRocketChipQuadCoreConfig_WithNVDLALarge-FireSimDDR3FRFCFSLLC4MBConfig75MHz. To change the default values, copy this file to firesim-nvdla/sim/custom-runtime-configs and rename it. For LLC, you want to change mm_llc_wayBits, mm_llc_setBits, and mm_llc_blockBits. Then, in firesim-nvdla/deploy/config_hwdb.ini, change (ii) Yes, it is. FireSim has performance counters for LLC and DRAM. These counters can be dumped at a configurable interval, by setting |
Thank you for you reply. brespError,llc_misses,llc_refills,llc_writebacks,rankPower_0_allPreCycles,rankPower_0_numACT,rankPower_0_numCASR,rankPower_0_numCASW,rankPower_1_allPreCycles,rankPower_1_numACT,rankPower_1_numCASR,rankPower_1_numCASW,rankPower_2_allPreCycles,rankPower_2_numACT,rankPower_2_numCASR,rankPower_2_numCASW,rankPower_3_allPreCycles,rankPower_3_numACT,rankPower_3_numCASR,rankPower_3_numCASW,readOutstandingHistogram_0,readOutstandingHistogram_1,readOutstandingHistogram_2,readOutstandingHistogram_3,readOutstandingHistogram_4,rrespError,totalReadBeats,totalReads,totalWriteBeats,totalWrites,writeOutstandingHistogram_0,writeOutstandingHistogram_1,writeOutstandingHistogram_2,writeOutstandingHistogram_3,writeOutstandingHistogram_4 Now, I have two questions. (a)I want to get the number of the DRAM accesses when I run Yolov3 on NVDLA. (b)Can I change the clock frequency of NVDLA(default: 75MHz)? |
For the number of accesses to DRAM, you can use llc_misses. The target (i.e. simulated) machine clock frequency is artificially set to 3.2 GHz. To change that, please read this answer by Sagar on the FireSim google group. |
Thank you for your reply. I have a question about your paper "Integrating NVIDIA Deep Learning Accelerator (NVDLA) with RISC-V SoC on FireSim". Thank you |
Sorry for the delayed reply. I know that this can be puzzling but you should not confuse the "target" and the "FPGA host" clocks. Here, 3.2GHz is the target clock frequency. It is the simulated clock frequency and all of the performance measurements are based on this frequency. That means the 7.5 fps is based on NVDLA (and the Rocket processor) clocked at 3.2GHz. The 75MHz clock is the FPGA host clock frequency. You do not really need to care about this clock but if you want to learn more, you can check out the original FireSim paper and "FASED: FPGA-Accelerated Simulation and Evaluation of DRAM" and also look up some of their references. This may help you understand how FireSim "decouples" target and host clocks and let you simulate a design at 3.2GHz on an FPGA that is clocked at 75MHz. Currently, FireSim does not support multiple clock domains. That means DRAM is simulated at the same frequency as the rest of the design (i.e. 3.2GHz). AFAIK, multi-clock support is planned for later version and I hope I can integrate it to FireSim-NVDLA. |
Hi @farzadfch.
I read your paper 'Integrating NVIDIA Deep Learning Accelerator(NVDLA) with RISC-V SoC on FireSim'.
In your paper, you change the LLC size.
Now, I have two questions.
(i)Could you tell me the way to change the LLC size and measure NVDLA's running time?
(ii)Is it possible to measure the number of DRAM access when changing the LLC size?
In the present circumstances, I succeed in running YOLOv3 on NVDLA.
Please give me the advice.
I'm sorry to trouble you again.
The text was updated successfully, but these errors were encountered: