Hi,
I am trying to run m5 in the SE mode, for inorder CPU model. I am trying to
run SPEC2k6 benchmarks. If I run the benchmark, with only max-insts option
set like follows, it runs to the max insts and quits.
./build/ALPHA_SE/m5.opt  ./configs/spec2006/se.py --inorder --caches
--l2cache -n 1 --maxinsts 100 --bench mcf

But, I want to be able to fast forward some number of instructions in atomic
mode,  then warm up in timing mode and then switch to inorder mode for
simulation. If I use the command line :-
./build/ALPHA_SE/m5.opt --stats-file=mcf_inorder ./configs/spec2006/se.py
--inorder --caches --l2cache -n 1 --fast-forward=5000 --maxinsts 100 -s
--bench mcf

I get the following error:- What might be the issue or what I am doing wrong
here?

*Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7002
fatal: default_port: Unconnected port!
 @ cycle 0
[blowUp:build/ALPHA_SE/mem/port.cc, line 47]
Memory Usage: 2159556 KBytes
For more information see: http://www.m5sim.org/fatal/a98d4a8d*

The following changes were made to the Simulation.py file:-

 if options.standard_switch:
        switch_cpus = [TimingSimpleCPU(defer_
registration=True, cpu_id=(np+i))
                       for i in xrange(np)]
        switch_cpus_1 = [InOrderCPU(defer_registration=True,
cpu_id=(2*np+i))
                        for i in xrange(np)]

        for i in xrange(np):
            switch_cpus[i].system =  testsys
            switch_cpus_1[i].system =  testsys

            .....

         # simulation period
         if options.maxinsts:
               switch_cpus_1[i].max_insts_all_threads = options.maxinsts

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

Reply via email to