On Apr 22, 2008, at 8:25 PM, bipin kadel wrote:

Hi,
I am trying to run a multi core systems in m5-2.0b3 using O3CPU. I am using an EIO trace of spec cpu benchmarks. But when I look at the generated m5stats.txt file, it shows the differenet number of simulated instructions than that of which i given in cofiguration file.

Configuration I am using is:


system.cpu[0].workload = [Benchmarks.SPECTWOLFEIO()]
system.cpu[0].max_insts_all_threads = 100000000
system.cpu[1].workload = [ Benchmarks.SPECCRAFTYEIO()]
system.cpu[1].max_insts_all_threads = 100000000
system.cpu[2].workload = [Benchmarks.SPECPARSEREIO()]
system.cpu[2].max_insts_all_threads = 100000000
system.cpu[3].workload = [Benchmarks.SPECPERLBMKEIO()]
system.cpu[3].max_insts_all_threads = 100000000
system.cpu[4].workload = [Benchmarks.SPECGAPEIO()]
system.cpu[4].max_insts_all_threads = 100000000
system.cpu[5].workload = [Benchmarks.SPECVORTEXEIO()]
system.cpu[5].max_insts_all_threads = 100000000
system.cpu[6].workload = [Benchmarks.SPECBZIP2EIO()]
system.cpu[6].max_insts_all_threads = 100000000
system.cpu[7].workload = [Benchmarks.SPECEONEIO()]
system.cpu[7].max_insts_all_threads = 100000000

The result obtained is:

sim_freq 1000000000000 # Frequency of simulated ticks sim_insts 422286676 # Number of instructions simulated
..........
system.cpu0.committedInsts 35719584 # Number of Instructions Simulated system.cpu0.committedInsts_total 35719584 # Number of Instructions Simulated
.........
system.cpu1.committedInsts 30579154 # Number of Instructions Simulated system.cpu1.committedInsts_total 30579154 # Number of Instructions Simulated
.......
system.cpu2.committedInsts 66098168 # Number of Instructions Simulated system.cpu2.committedInsts_total 66098168 # Number of Instructions Simulated
......
system.cpu3.committedInsts 50714297 # Number of Instructions Simulated system.cpu3.committedInsts_total 50714297 # Number of Instructions Simulated
......
system.cpu4.committedInsts 40672413 # Number of Instructions Simulated system.cpu4.committedInsts_total 40672413 # Number of Instructions Simulated
......
system.cpu5.committedInsts 54509373 # Number of Instructions Simulated system.cpu5.committedInsts_total 54509373 # Number of Instructions Simulated
.....
system.cpu6.committedInsts 100000000 # Number of Instructions Simulated system.cpu6.committedInsts_total 100000000 # Number of Instructions Simulated
.....
system.cpu7.committedInsts 43993687 # Number of Instructions Simulated system.cpu7.committedInsts_total 43993687 # Number of Instructions Simulated


Can you please suggest how to make each CPU execute the 100000000 instructions?
The max_insts_all_threads parameter only works when a single CPU has multiple threads (e.g. a SMT out-of-order CPU). If you want to run separate CPUs until each cpu has reached 100000000, I believe Korey Sewell sent a couple of patches to the list to do just that in the last few days.

Ali

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to