ferry-hhh / CXL-DMSim

CXL-DMSim: A Full-System CXL Disaggregated Memory Simulator Based on gem5
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

How to use Checkpoint in x86-cxl-run.py? #1

Open cunyangwei opened 2 weeks ago

cunyangwei commented 2 weeks ago

What you created is really useful for me. I just want to know how to use Checkpoint in x86-cxl-run.py.

ferry-hhh commented 2 weeks ago

Thank you for your attention.

We have explored this issue as well, but it seems that the gem5 standard library tends to prefer switching CPUs during runtime for full system simulations. To verify whether CXL-DMSim can correctly save and restore checkpoints, we also made some modifications based on the fs.py. However, due to some errors, the saved checkpoint could not be successfully restored, and we expect this issue to be resolved in future versions.

For now, we recommend using atomic mode to enter the full system and then automatically switching to timing or O3 mode.