Hi Yinliang, <br><br>Thanks for your reply. Just to be clear, I am not storing the data onto the emulated disk.  I store the data in a ramdisk and use the disksim for inducing the delay alone.<br><br>Thanks,<br>Sankaran.<br>
<br><br><br><div class="gmail_quote">On Sun, Nov 9, 2008 at 7:45 PM, Yinliang Yue <span dir="ltr"><<a href="mailto:yueyinliang@gmail.com">yueyinliang@gmail.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><br>Hi Sankaran,</div>
<div> </div>
<div>The real data can't be written onto the emulation disks in disksim. I am not sure whether this is the actual reason.</div>
<div> </div>
<div>If you copy a linux source code to the emulated disk, I think you should transform then into the trace format which can be accepted by disksim, such as ascii format.</div>
<div> </div>
<div>-Yinliang</div>
<div><br> </div>
<div><div><div></div><div class="Wj3C7c"><span class="gmail_quote">On 11/10/08, <b class="gmail_sendername">Sankaran Sivathanu</b> <<a href="mailto:ssankaran@gmail.com" target="_blank">ssankaran@gmail.com</a>> wrote:</span>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">Hi,<br><br>I configured disksim to work in emulation mode using the functions in disksim_interface.c.  I have setup disksim in the target side of ISCSI driver. So, as the requests come to the ISCSI target, I send it to disksim through disksim_interface_request_arrive() and then get the simulation time from the disksim.  <br>

<br>When I run it, it works fine for quite a long time, but when I stress it with continous worklaods(i copied a linux source tree to the emulated disk), the assert stmt in src/disksim_diskctlr.c  viz. "ddbg_assert2(tmpioreq != 0, "Cannot find ioreq")" in line number 3327 fails and the simulation stops.  I have no clue as to how the <br clear="all">

tmpioreq is becoming 0 suddenly.  <br><br>It would be great if anyone could tell me the reason/fix for this problem.<br><br>Thanks,<br>Sankaran.<br><span><br><br>-- <br>Sankaran Sivathanu<br><a href="http://www.cc.gatech.edu/%7Esankaran" target="_blank">www.cc.gatech.edu/~sankaran</a><br>

</span><br></div></div>_______________________________________________<br>Disksim-users mailing list<br><a href="mailto:Disksim-users@ece.cmu.edu" target="_blank">Disksim-users@ece.cmu.edu</a><br>
<a href="https://sos.ece.cmu.edu/mailman/listinfo/disksim-users" target="_blank">https://sos.ece.cmu.edu/mailman/listinfo/disksim-users</a><br><br></blockquote></div><font color="#888888">
<br><br clear="all"><br>-- <br>Best regards! <br><br>Yinliang YUE<br>HUST, Wuhan, China<br><a href="mailto:yueyinliang@gmail.com" target="_blank">yueyinliang@gmail.com</a> 
</font></blockquote></div><br><br clear="all"><br>-- <br>Sankaran Sivathanu<br><a href="http://www.cc.gatech.edu/~sankaran">www.cc.gatech.edu/~sankaran</a><br>