Dear guys


For doing my thesis, I need to run PARSEC on GEM5. I used "Running PARSEC 
2.1 on M5" report but in this way, I encountered to some problems.

Firstly, when I run every benchmark, I receive same output. I guess that 
runscript.rcS file has  a problem. you can see this file below:

#!/bin/sh
# File to run the blackscholes benchmark
cd /parsec/install/bin/sbin/m5 dumpresetstats
#./blackscholes 64 /parsec/install/inputs/blackscholes/in_64K.txt 
/parsec/install/inputs/blackscholes/prices.txt
echo "Done :D"
/sbin/m5 exit


secondly, I need to 
have a cache trace with CPU number for each cache access.
 

please guide me for solving these problems.thank you. 
Best Regards 

Sobhan Niknam
Department of Computer Engineering
Iran University of Science and Technology




On Tuesday, January 7, 2014 5:53 PM, Sobhan Niknam <[email protected]> 
wrote:
 
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

Reply via email to