Re: [gem5-users] Changing the "inParallelMode"
Hi Yuchen, Parallel mode is currently only supported for kvm cpu model. -Ayaz > On Feb 29, 2020, at 11:25 PM, YUCHEN ZHOU wrote: > > > Hi all, > > > > Recently I tried to parallelize the gem5's simulation engine to run on > shared-memory multicore systems. I changed the value of "inParallelMode" to > "true" in eventq.cc which I thought could be used to change the execution > mode of gem5 and I changed the main.py, event.mainq = > event.getEventQueue(0)--> event.mainq = event.getEventQueue(1) in order to > generate two threads. Then I used gem5 to simultaneously two programs on a > multi-core system, then I got a "core dump”. And I found in gem5/src/sim > eventq_ impl:96 assert(!inParallelMode || this == curEventQueue()) failed. > > Might I know if there is something wrong with the way I changed the mode or > the work about Parallelizing M5 is not fully completed? > > It would be appreciated if you could reply at your earliest convenience. > > > Thank you! > > > Best regards, > Yuchen Zhou > > > > > > > > > > > > > > > > > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Changing the "inParallelMode"
Hi, This work was started in past You can the progress information and steps required in this link http://www.m5sim.org/Parallel_M5 For now seeing the mailing I do not see anyone continuing this work, but there were people who had started working on this On Sun, Mar 1, 2020 at 2:25 AM YUCHEN ZHOU wrote: > Hi all, > > > > Recently I tried to parallelize the gem5's simulation engine to run on > shared-memory multicore systems. I changed the value of "inParallelMode" > to "true" in eventq.cc which I thought could be used to change the > execution mode of gem5 and I changed the main.py, event.mainq = > event.getEventQueue(0)--> event.mainq = event.getEventQueue(1) in order > to generate two threads. Then I used gem5 to simultaneously two programs on > a multi-core system, then I got a "core dump”. And I found in > gem5/src/sim eventq_ impl:96 assert(!inParallelMode || this == > curEventQueue()) failed. > > Might I know if there is something wrong with the way I changed the mode > or the work about Parallelizing M5 is not fully completed? > > It would be appreciated if you could reply at your earliest convenience. > > > Thank you! > > > Best regards, > Yuchen Zhou > > > > > > > > > > > > > > > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] Changing the "inParallelMode"
Hi all, Recently I tried to parallelize the gem5's simulation engine to run on shared-memory multicore systems. I changed the value of "inParallelMode" to "true" in eventq.cc which I thought could be used to change the execution mode of gem5 and I changed the main.py, event.mainq = event.getEventQueue(0)--> event.mainq = event.getEventQueue(1) in order to generate two threads. Then I used gem5 to simultaneously two programs on a multi-core system, then I got a "core dump”. And I found in gem5/src/sim eventq_ impl:96 assert(!inParallelMode || this == curEventQueue()) failed. Might I know if there is something wrong with the way I changed the mode or the work about Parallelizing M5 is not fully completed? It would be appreciated if you could reply at your earliest convenience. Thank you! Best regards, Yuchen Zhou ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] 3D Network-on-Chip
Hi, Can we model a 3D-NoC ?I'm new in gem5 and i want to know how can i simulate a 3D mesh Network-on-Chip Thank youWith regards,Mitra ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users