Hi I have just started using gem5 and am using MOESI Hammer protocol with the following options.
--ruby --cpu-type="timing" --num-cpus=4 --topology=Pt2Pt --ruby_stats=vortex2.ruby --l2cache --l1d_size=64kB --l1i_size=64kB --l1d_assoc=4 --l2_assoc=8 --l1i_assoc=4 --num-l2caches=4 --l2_size=2MB --cacheline_size=32 --caches I am not giving directory options as I understand that its not used and the protocol uses broadcast mechanism using Pt2Pt network. When I check the access patterns of L1 (data and instructions caches) and of L2 I see that access to L2 caches are equal to access of L1-D and L1-I caches combined, always. I am surprised, as I was expecting L2 to be accessed only in case of L1 misses. Am I doing something wrong? are my 'options' wrong? system.l1_cntrl0.L1IcacheMemory_total_accesses: 8492812 system.l1_cntrl0.L1DcacheMemory_total_accesses: 1738316 system.l1_cntrl0.L2cacheMemory_total_accesses: 10231128 system.l1_cntrl1.L1IcacheMemory_total_accesses: 8492689 system.l1_cntrl1.L1DcacheMemory_total_accesses: 1734358 system.l1_cntrl1.L2cacheMemory_total_accesses: 10227047 I have build X86_MOESI_hammer with following options TARGET_ISA = 'x86' CPU_MODELS = 'AtomicSimpleCPU,O3CPU,TimingSimpleCPU' PROTOCOL = 'MOESI_hammer' Regards Behram
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users