Hi all,

My server's specifications are as follows: Intel E5310 @1.6GHz, 8 cores, each 
core has 32K L1 data cache, 32K L1 instruction cache and 4096K L2 cache.
Running two conparison program(double version and float version) on my server 
with the same input, running time of double version is 2m25s, and float version 
is 2m7s. float version < double version ( Due to the deviation of float 
version's result within the acceptable range, so we don't consider its impact )
But when I put two conparison program to run on gem5, I got the opposite 
result. We used SE mode to simulate Atom Embedded environment, with the command 
line of " ./build/X86/gem5.fast configs/example/se.py -c 
/home/zzh/code/double_scale -o 16 -n 2 --mem-size=2048MB --caches --l2cache 
--l2_size 256kB --cpu-clock 1.46GHz --sys-clock 1.46GHz 
--cpu-type=AtomicSimpleCPU "

Finally I got two stats.txt as follows:
Double version’s stats.txt:
sim_seconds                     337.821068               # Number of seconds 
simulated sim_ticks
sim_ticks                    337821067887820              #Number of ticks 
simulated
host_inst_rate                    2164548              # Simulator instruction 
rate (inst/s)
host_op_rate                      3369417              # Simulator op 
(including micro ops) rate (op/s)
host_tick_rate                    2820528361            # Simulator tick rate 
(ticks/s)
host_mem_usage                     2323216              # Number of bytes of 
host memory used
host_seconds                      119772.26             # Real time elapsed on 
the host
sim_insts                       259252813524            #Number of instructions 
simulated
system.mem_ctrls_0.totalEnergy        129723290069280            #Total energy 
per rank( pJ )
system.mem_ctrls_0.averagePower          384                 #Core power per 
rank

Float version’s stats.txt:
sim_seconds                   349.758410               # Number of seconds 
simulated sim_ticks
sim_ticks                   349758409947185             #Number of ticks 
simulated
host_inst_rate                  2423477                # Simulator instruction 
rate (inst/s)
host_op_rate                    3935604               # Simulator op (including 
micro ops) rate (op/s)
host_tick_rate                  3269516689             # Simulator tick rate 
(ticks/s)
host_mem_usage                  2324240               # Number of bytes of host 
memory used
host_seconds                   106975.57               # Real time elapsed on 
the host 
sim_insts                    259252795117             #Number of instructions 
simulated
system.mem_ctrls_0.totalEnergy     134307229419840            #Total energy per 
rank( pJ )
system.mem_ctrls_0.averagePower        384                #Core power per rank

From the above data, why run time (sim_seconds) show the opposite result with 
the server? double version of the time is less than the float version. And in 
terms of the total energy per rank, double version is also smaller than the 
float version.
Though the number of instructions simulated( sim_insts ) of double version is 
greater than float version.






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

Reply via email to