Hi Balaji,

While I don't have much experience with changing thread numbers, I know two
way of changing # of cores. Suppose you are using se mode;
The first way is to use commandline;

./build/X86/gem5.opt --debug-flags=Cache --trace-file=my_trace.out
configs/example/se.py
*--num-cpus="2"*--cmd="tests/test-progs/queens/bin/x86/linux/queens;tests/test-progs/queens/bin/x86/linux/queens"
--options="-c 8;-c 8"

here cmd is your binaries, and options are the parameters sent to them.

The second way is to tweak with Options.py and change default value of
num-cpus. Then you can use following command to do the same job;

./build/X86/gem5.opt --debug-flags=Cache --trace-file=my_trace.out
configs/example/se.py*
*--cmd="tests/test-progs/queens/bin/x86/linux/queens;tests/test-progs/queens/bin/x86/linux/queens"
--options="-c 8;-c 8"



2013/2/11 balaji sankar <[email protected]>

>
> How can i set/change the number of cores ? And is it correct to change
> numThreads in BaseCPU.py to my requirements ?
> --
> ~balaji
> _______________________________________________
> 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