Sorry, I had forgotten that getting the multi-queue simulation to run
requires an additional patch that's (1) not committed and (2) currently
only works for x86. See http://reviews.gem5.org/r/2320.

So I guess the question of whether pd-gem5 works with multithreading is
something we can just ponder abstractly for now...

Steve

On Mon, Jul 6, 2015 at 11:41 AM Mohammad Alian <[email protected]> wrote:

> Hello all,
>
> I want to partition a dual system simulation among two threads and run
> simulation using two event queues. Here are the changes that I made in
> fs.py:
>
> +++ configs/example/fs.py    2015-07-06 13:24:22.778525679 -0500
> @@ -325,9 +325,12 @@
>  np = options.num_cpus
>
>  test_sys = build_test_system(np)
> +test_sys.eventq_index = 0
>  if len(bm) == 2:
>      drive_sys = build_drive_system(np)
> +    drive_sys.eventq_index = 1
>      root = makeDualRoot(True, test_sys, drive_sys, options.etherdump)
> +    root.sim_quantum = 1000000
>  elif len(bm) == 1:
>      root = Root(full_system=True, system=test_sys)
>  else:
>
>
> I get "segmentation fault" after I start simulation:
>
> build/ARM/gem5.opt configs/example/fs.py --dual
> ...
> **** REAL SIMULATION ****
> warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
> warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
> info: Entering event queue @ 0.  Starting simulation...
> Segmentation fault (core dumped)
>
> Am I missing something?
>
> Thanks,
> Mohammad
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to