On Tue, Sep 27, 2011 at 10:23 AM, sparsh mittal <[email protected]>wrote:

> Hello
> This refers to a previous reply of Avadh:
>
>> To run simulations in more deterministic way, first create all the
>> processes, threads and assign them on your desired CPU. Then create a
>> checkpoint so when you run your simulation, it will not run any OS level
>> task scheduling (unless something new comes up..).  I use this method to run
>> simulations in more deterministic way. To synchronize across multiple
>> processes, you can use named semaphores to sync them.
>>
>
> I wanted to ask if you could give an example. I tried the following but it
> does not work.
>  taskset ... parsecmgmt ...b1 & taskset ... parsecmgmt ...b2;
> ./create_checkpoint 2core_checkpoint; ./stop_sim
>

I mentioned earlier to use semaphore to synchronize across the processes. To
explain it in detail checkout my blog post
http://marssandbeyond.blogspot.com/2011/09/creating-barrier-between-processes-with.html
.
You'll need to modify the parse benchmarks to use this method to synchronize
across multiple benchmarks.  Quick note, parsec benchmarks in disk image are
modified version so use that instead of standard distribution.

Let me know if you have more questions or leave a comment on the blog.

- Avadh

Actually without deterministic simulation, I cannot verify/conclude anything
> from the simulations.
> Thanks and Regards
> Sparsh Mittal
>
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to