[Disksim-users] Re: Problem when running disksim in emulation mode

Sankaran Sivathanu ssankaran at gmail.com
Sun Nov 9 19:57:28 EST 2008


Hi Yinliang,

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.

Thanks,
Sankaran.



On Sun, Nov 9, 2008 at 7:45 PM, Yinliang Yue <yueyinliang at gmail.com> wrote:

>
> Hi Sankaran,
>
> The real data can't be written onto the emulation disks in disksim. I am
> not sure whether this is the actual reason.
>
> 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.
>
> -Yinliang
>
>
> On 11/10/08, Sankaran Sivathanu <ssankaran at gmail.com> wrote:
>
>> Hi,
>>
>> 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.
>>
>> 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
>> tmpioreq is becoming 0 suddenly.
>>
>> It would be great if anyone could tell me the reason/fix for this problem.
>>
>> Thanks,
>> Sankaran.
>>
>>
>> --
>> Sankaran Sivathanu
>> www.cc.gatech.edu/~sankaran <http://www.cc.gatech.edu/%7Esankaran>
>>
>> _______________________________________________
>> Disksim-users mailing list
>> Disksim-users at ece.cmu.edu
>> https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>>
>>
>
>
> --
> Best regards!
>
> Yinliang YUE
> HUST, Wuhan, China
> yueyinliang at gmail.com




-- 
Sankaran Sivathanu
www.cc.gatech.edu/~sankaran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20081109/b0e4374b/attachment.html>


More information about the Disksim-users mailing list