[Disksim-users] How to handle all synthio requests before disksim stops

GuoXufeng guoxf05 at 163.com
Sat Sep 21 04:03:27 EDT 2013


 Hello:
     I found a phenomenon that is when using synthetic workloads, the actual handled requests may be less than generated request amount. For example, I configured "Number of I/O requests to generate" to 10000 and "Maximum time of trace generated" to 100000. I add printf in the ssd_event_arrive function to see the actual coming requests. What I finally found is a big surprise: only 5575 requests come to the ssd_event_arrive.
     Then I checked the code and found that in the function "synthio_generate_io_activity" of "disksym_synthio.c", disksim_simstop() will be invoked once the generated requests exceed 10000. At this moment, the generated requests have no time to be transferred to ssd_event_arrive and then simulation is over. The problem is that when I compare two methods using sythetic workloads, the actual handled request amount may be different even though the configurations are identical.
     So I want to ask what I can do if I want to get all the generated requests to be handled. I found a way: first print the generated requests and then use these requests as the external trace to disksim. However, this method seems a little ugly. Can anybody help me?
     Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20130921/504e49dd/attachment.html>


More information about the Disksim-users mailing list