Fwd: [Disksim-users] Invoking several copies of disksim simultaneously

John Bucy bucy at ece.cmu.edu
Tue Aug 29 18:20:24 EDT 2006


---------- Forwarded message ----------
From: John Bucy <bucy at gloop.org>
Date: Aug 29, 2006 3:20 PM
Subject: Re: [Disksim-users] Invoking several copies of disksim simultaneously
To: haya shem tov <hayashemtov at yahoo.com>
Cc: disksim-users at ece.cmu.edu


On 8/29/06, haya shem tov <hayashemtov at yahoo.com> wrote:
>
> Dear Disksim users,I intend to use several copies of disksim simultaneously,
> using disksim_interface.c. I think I can init several disksim copies,
> even using the same parameter file (?).
> Then I can activate each disksim copy separately,
> while they are all synchronized with the system time.
> The functions syssim_schedule_callback, syssim_deschedule_callback,
> syssim_report_completion will be invoked only by the disksim copy
> currently performs an internal event.
> Am I correct? Is the something I should note?

I would be shocked if this actually worked correctly;  there is a huge
amount of global state inside disksim; multiple instances will corrupt
each other.  If you really need to do this, you can probably fork off
processes and do the synchronization with some kind of ipc.


> I would also like to join a question previously ask in the forum -
> Does anybody have disk specification files newer then those published?
> This could really be a great help, since I feel my research may be much
> stronger using up-to-date disk specification.

I've been working on this in my (limited) spare time and I wish it was
done 9 months ago but there are only so many hours in the day :(



john



More information about the Disksim-users mailing list