Hello
I've faced a problem during running PARSEC Multi-threaded benchmarks on gem5
in "fs" mode.
I've ran PARSEC on a system with 4 cores:
./build/ALPHA/gem5.debug --debug-flags=Exec
--debug-file=/home/sobhan/Desktop/blackscholes.out
configs/example/fs.py --cpu-type="detailed" --caches --l2cache
--script=/home/sobhan/Desktop/script.rcS
-m 5000000000 --num-cpus=4
As you can see, I used "debug-flags=Exec" to see how threads run on different
cores.But in the trace file I've found that common instructions are running on
different cores and it seems that there is just one thread for running this
benchmark.
How can I run a Multi-threaded benchmark on a Multi-core processor, whereas
different threads run on different cores.
Here I present a part of my trace file to show that there are same instructions
run on all cores:
187500: system.cpu0 T0 : @sys_reset+81 : hw_mfpr IPR(0x140),r31
:IprAccess : D=0x0000000000000000
196500: system.cpu1 T0 : @sys_reset+73 : hw_mfpr IPR(0x140),r31
:IprAccess : D=0x0000000000000000
187500: system.cpu0 T0 : @sys_reset+85 : hw_mtpr r31,IPR(0x210)
:IprAccess : D=0x0000000000000000
187500: system.cpu0 T0 : @sys_reset+89 : lda r11,7(r31) :IntAlu
: D=0x0000000000000007
187500: system.cpu0 T0 : @sys_reset+93 : lda r1,31(r31) :IntAlu
: D=0x000000000000001f
196500: system.cpu1 T0 : @sys_reset+77 : hw_mfpr IPR(0x140),r31
:IprAccess : D=0x0000000000000000
196500: system.cpu1 T0 : @sys_reset+81 : hw_mfpr IPR(0x140),r31
:IprAccess : D=0x0000000000000000
196500: system.cpu1 T0 : @sys_reset+85 : hw_mtpr r31,IPR(0x210)
:IprAccess : D=0x0000000000000000
196500: system.cpu1 T0 : @sys_reset+89 : lda r11,7(r31) :IntAlu
: D=0x0000000000000007
196500: system.cpu1 T0 : @sys_reset+93 : lda r1,31(r31) :IntAlu
: D=0x000000000000001f
please help me.
Thank you
Best Regards
Sobhan Niknam
Department of Computer Engineering
Iran University of Science and Technology
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users