Haven't used ruby with gem5... But are instruction fetches entire cache lines (or something larger than a single instruction)? Than 1 load per cache line of instructions isn't crazy.
On Fri, Nov 14, 2014 at 7:42 AM, Geeta Patil via gem5-users < gem5-users@gem5.org> wrote: > > Hi All, > > I got stats.txt after executing following command: > > ./build/ALPHA/gem5.opt configs/example/ruby_fs.py -n 2 --l1i_size=32kB > --l1d_size=32kB --l2_size=8MB --num-l2caches=8 -b barnes > > When I analyze content of stat.txt I get number of instruction simulated > as : > sim_insts 12184940560 > # Number of instructions simulated > > but when Check the count of total LOAD and IFETCH events occurring it is > very big number : > > system.ruby.l1_cntrl0.Load::total 18446744071863115776 > > system.ruby.l1_cntrl0.Ifetch::total 18446744073013530624 > > Therefor number of loads per instruction is 1513896927.19708 > =18446744071863115776 /12184940560 > > I want to get number of events occurring per simulated instruction. > > Can anybody help me out in understanding why such a huge number of loads > happening per instruction. I am doing wrong calulation? > > Thank You, > -- > *Geeta* > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users