Your problem of one core not executing the user instructions even after using the taskset could be because of setting affinity after switching to ptlsim. I do the taskset in qemu before switching to PTLSIM.
Also, be aware of correct mask for the taskset. It is like
taskset 0x1
taskset 0x2
taskset 0x4
taskset 0x8
in case of four multi-programs. Also, I use Inter Process Communication, using semaphores to reach each individual program to it's region of interest, and then do the checkpointing/switching to simulation, once all programs reach their ROI. For me it is working, for different combination of benchmarks.

--ishwar

On 5/24/2011 11:33 AM, Saurabh Gupta wrote:
Hi,

I have been trying to figure out ways to do skip in multicore simulations.
The only feasible way was to run the multiprogrammed benchmark for a while
and call create_checkpoint in the VM to save the state of machine. When I
try to use that checkpoint in run_bench.py, one of the core doesn't execute
any user more instructions at all. I have used taskset for CPU affinity as
suggested by a post here. I don't know how to explain this behavior.

Now, I am trying to simply run the whole simulation and would want to reset
some stats after I have run the skip phase. I understand it is really time
consuming to do that but for now I would like to see things running at the
least. Please suggest how can I reset the stats in ptlsim, or somehow have a
snapshot of stats after the skip and after the completion and use -subtract
to get the stats for the region of interest.

Thanks,

-Saurabh


_______________________________________________
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