[Disksim-users] Regarding simulation of events in ssd model disksim

Abdul Rahman abdulrahman004 at gmail.com
Wed Sep 2 13:25:48 EDT 2009


I started using the ssd model of disksim simulator a couple of weeks back
and I have gone through the call stack of the functions that were called
after a request from the parameter file was read. I have debugged the
program to trace the function calls for a few requests that were handled, I
have a couple of doubts of how things are really simulated in the ssd
simulator. Firstly, I notice that the simulator handles function on a per
request basis. In the actual model requests come in all the time that are
buffered at the controller level to be handled later. Also, two or more
requests may be interleaved. I haven't seen how this behavior is simulated
in the model and its always like the call returns back to
disksim_simulate_event(event_count) function where the next request is
handled sequentially

Also, how is the time tracked for interleaved events. If there 4 requests
that were interleaved completely, the simulation time will be the time taken
for 1 request (rather than 4). So, where is the check being made to check if
an event's simulation time should be added to the total simulation time or
if it was a parallel operation. It might also be possible that an even was
partially interleaved , in which case only a fractin of time for that event
has to be added to the total simulation time instead of the complete time

Thanks
Abdul Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20090902/07666c80/attachment.html>


More information about the Disksim-users mailing list