CMU-SAFARI / MQSim

MQSim is a fast and accurate simulator modeling the performance of modern multi-queue (MQ) SSDs as well as traditional SATA based SSDs. MQSim faithfully models new high-bandwidth protocol implementations, steady-state SSD conditions, and the full end-to-end latency of requests in modern SSDs. It is described in detail in the FAST 2018 paper by Arash Tavakkol et al., "MQSim: A Framework for Enabling Realistic Studies of Modern Multi-Queue SSD Devices" (https://people.inf.ethz.ch/omutlu/pub/MQSim-SSD-simulation-framework_fast18.pdf)
https://people.inf.ethz.ch/omutlu/pub/MQSim-SSD-simulation-framework_fast18.pdf
MIT License
268 stars 144 forks source link

Get response time for each request? #45

Closed DanlinJia closed 3 years ago

DanlinJia commented 3 years ago

Hi,

I'm defining a trace-based workload to feed MQSim. I wonder is that possible to get the finish time of each request? If yes, which file should I modify?

Thanks, Danlin

arashta commented 3 years ago

Hi @DanlinJia, Yes, it is possible to get the finish time for each request. Depending on your Host Interface type, which could be NVMe or SATA, you need to touch the SATA_consume_io_request function or NVMe_consume_io_request in IO_Flow_Base.cpp file, respectively.