CMU-SAFARI/MQSim

Runtime error on Linux

Closed this issue · 2 comments

We tried to run MQSim on linux with default configuration (on github).
It was successful when unmodified configuration was used. But it caused
segmentation fault when we used higher memory frequency or smaller page size.

Experiment environment is Ubuntu 18.04, G++ 7.3.0

Problem was solved by modifying src/ssd/Data_Cache_Manager_Flash_Advanced.cpp:496-503
Commented part of the attached code is the code on this repository.

Modified implementation also runs well on Windows.
(Attached file is modified implementation. Note that it is saved as .txt format due to github upload issue)

linux_bug_fix.txt

Thanks. The code is updated with your suggested change.

Arash