Conversation
|
Hi, thanks for your PR. This is a nice idea to improve our checkpoint flow. But there is still some issues that should be fixed before merging this PR.
For your contribution, I also have some questions:
|
|
Hi ,thanks for your valuable feedback and recognition of the PR! I totally agree with all your suggestions and will address each point promptly: 1. PR Description & Commit MessageI’ll add a detailed English description to the PR (including key changes, design logic, and compatibility notes) and update all commit messages to follow the English convention. This will be completed within next week. 2. XiangShan-doc UpdateI’ll migrate the "Motivation" and "Experimental Results" sections from the PDF to 3. Code IssuesNo problem! Please feel free to point out the specific code issues – I’ll fix them immediately and add corresponding test cases to avoid regressions. 4. Test Results EnhancementI fully understand the need for stronger validation. I’ll try to expand the test suite. 5. Questions About CacheReplay
Thanks again for your guidance! |
|
feat: Add memory access trace (memtrace) feature to support cache microarchitecture state recovery for accelerated simulation OverviewThis PR introduces the memory access trace (memtrace) feature, which provides the core fundamental capability to skip the warm-up phase by directly constructing and restoring the microarchitecture state of the cache, ultimately achieving a remarkable speedup of the simulator's execution. Core Changes
Feature DescriptionWhen the The generated memory access trace file can be used with the CacheReplay tool (https://github.com/greenfool/CacheReplay.git) to simulate and generate the cache microarchitecture state under any specified configuration. Furthermore, in full-system simulators such as GEM5, while restoring the program execution state based on the checkpoint generated by NEMU, the runtime state of the cache can be directly restored, completely skipping the traditional warm-up phase. This greatly reduces the total number of instructions that need to be simulated in detail, and achieves a significant improvement in simulation efficiency. Compatibility Guarantee
|
修改文档.pdf