Thanks Ted. I was looking at disksim_ioqueue.c "ioqueue_remove_completed_request" instead of ssd.c. Your hint helped me find what I needed. Thanks again.<br><br><div class="gmail_quote">On Tue, Jan 6, 2009 at 4:04 PM, Ted Wobber <span dir="ltr"><<a href="mailto:wobber@microsoft.com" target="_blank">wobber@microsoft.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Bhushan –</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Assuming that you are happy with a statistical summary of
requests, the SSD add-on computes the request latency in aggregate and also gives
information about the distribution of reads and writes.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">It also gives similar numbers for each simulated flash chip.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">If you need more detailed output, you can always hack the code. 
The SSD request completion handler is in ssd.c:  ssd_request_complete. 
There are also chip (element) access completion routines in that module.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Best regards,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Ted Wobber</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">MSR Silicon Valley</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:disksim-users-bounces@ece.cmu.edu" target="_blank">disksim-users-bounces@ece.cmu.edu</a> [mailto:<a href="mailto:disksim-users-bounces@ece.cmu.edu" target="_blank">disksim-users-bounces@ece.cmu.edu</a>] <b>On
Behalf Of </b>Bhushan<br>
<b>Sent:</b> Tuesday, January 06, 2009 11:16 AM<br>
<b>To:</b> disksim-users<br>
<b>Subject:</b> [Disksim-users] Response Time for each request.</span></p>

</div><div><div></div><div>

<p> </p>

<p>Hi,<br>
I am using the SSD Add-on for Disksim analyzing the performance of different
traces. Is there a way to determine the response time for each
request(read/write) in the trace? While debugging through the code, I found the
"ioqueue_remove_completed_request" function call in
disksim-ioqueue.c, while updates the "outtimestats" variable with the
response time but the problem is this function gets called multiple times for
each request.<br clear="all">
I need this functionality to understand how the SSD responds for different
requests.<br>
<br>
Any help would be greatly appreciated.<br>
-- <br>
Regards,<br>
Bhushan.</p>

</div></div></div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Bhushan.<br>