In my py file, I use the following code to initialize the multiprocess:
if options.benchmark == 'perlbench':
for i in xrange(np):
process = LiveProcess()
process.executable = cpu2006.perlbench.executable
process.cmd = cpu2006.perlbench.cmd
process.cwd = cpu2006.perlbench.cwd
process.output = cpu2006.perlbench.output + (".%s"%i)
multiprocess.append(process)
Then the multiprocesses are assigned to the processors.
2014年2月14日 下午01:07,Yang Zhang <[email protected]> 写道:
Dear kun,Thanks for your reply.I modified se.py and assign all cpu[i]=process.But there is still no data of other CPUs except for cpu0.
I will check if there is anything wrong with the parser.Thanks,Yang
On Thursday, February 13, 2014, Zhang kunta <[email protected]> wrote:
In the hello example, you can assign a workload to each processor with the parameter :" -c "path/hello;path/hello" "
Running spec is somewhat different because the workloads are configured in the py file. However, you can handle this if you understand how the workload is initialized and assigned to a processor in the py file. Just copy multiple workloads and assign one at a time.
Best wishes,
Kun
> 在 2014年2月14日,上午11:53,Yang Zhang <[email protected]> 写道:
>
> Dear all,
>
> I am new to gem5. I am wondering whether it is possible for any one of cpu2006 could be run paralleled by several cpus.
>
> I configured a system with 4 cpus and 8GB memory to run a full size soplex but found only the first cpu was running because there is no data of other cpus.
>
> Is it possible that anything wrong with configuration?
>
> Thanks,
>
> -yang
> _______________________________________________
> 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_______________________________________________
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
