Hello,
L3 cache is not implemented in gem5 but you can manually implement it (and add 
a command line option such as --l3caches), unless you are using ruby (as far as 
I know due to not having a 3-level coherence protocol).

You may want to check this tutorial for more information about adding caches: 
http://pages.cs.wisc.edu/~david/courses/cs752/Spring2015/gem5-tutorial/part1/cache_config.html

Hope this helps

Cheers
Serhat

________________________________________
From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Moussa, Ayman 
[ayman.mouss...@imperial.ac.uk]
Sent: 27 February 2017 11:43
To: gem5 users mailing list
Subject: [gem5-users] l3 cache

Does the standard system call script (se.py) model an L3 cache or is it only L1 
and L2? When I ran it with the -h option, I saw an option for L3 caches so I 
used that:


build/ARM/gem5.opt configs/example/se.py --caches --l2cache --num-dirs=1 
--num-l2caches=1 --num-l2caches=1 --l1d_size=16kB --l1i_size=16kB 
--l2_size=64kB --l3_size=128kB --l1d_assoc=4 --l1i_assoc=4 --l2_assoc=8 
--l3_assoc=16 --cpu-type=DerivO3CPU --mem-type=DDR3_2133_x64 -c 
tests/test-progs/hello/bin/arm/linux/hello


but when I check the output of stats.txt and config.ini, there is no data about 
L3 caches which was driving me crazy as it was in the options. I checked the 
se.py too and didn't see anything specifying L3 caches (maybe I'm looking in 
the wrong place?) If I want to model an L3 cache, do I need to manually add it?


Thanks

Ayman

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to