Binod Kumar
2018-10-21 13:43:04 UTC
Dear all,
I am running the following command to debug(collect) cache contents for a
multi-core simulation with ruby memory system:
*./build/X86/gem5.opt --debug-flags=Cache configs/example/se.py
--cpu-type=DerivO3CPU --ruby --caches --l2cache --l1i_size=32kB
--l1d_size=32kB --l1i_assoc=8 --l1d_assoc=8 --l2_size=256kB --l2_assoc=4
--cacheline_size=64 --num-l2caches=8 --num-l3caches=1 --mem-size=8GB
--network=garnet2.0 --topology=MeshDirCorners_XY --num-cpus=8 --num-dirs=4
--mesh-rows=4 -c my-binary*
I am not able to understand as to why the "*Cache*" debug-flag is not
printing anything. Is this flag not allowed in "Ruby" memory system? I have
used the other flags like "ProtocolTrace" and "Ruby" which are printing
perfectly but i need the contents of "Cache" flag.
Also, the above command runs perfectly and simulation is completed.
However, nothing gets printed. I am unable to figure out the reason behind
it even after looking at the source codes.
P.S. my-binary is a multi-threaded workload.
Any help will be greatly appreciated.
*With Best Regards,*
*Binod Kumar*
IIT Bombay
I am running the following command to debug(collect) cache contents for a
multi-core simulation with ruby memory system:
*./build/X86/gem5.opt --debug-flags=Cache configs/example/se.py
--cpu-type=DerivO3CPU --ruby --caches --l2cache --l1i_size=32kB
--l1d_size=32kB --l1i_assoc=8 --l1d_assoc=8 --l2_size=256kB --l2_assoc=4
--cacheline_size=64 --num-l2caches=8 --num-l3caches=1 --mem-size=8GB
--network=garnet2.0 --topology=MeshDirCorners_XY --num-cpus=8 --num-dirs=4
--mesh-rows=4 -c my-binary*
I am not able to understand as to why the "*Cache*" debug-flag is not
printing anything. Is this flag not allowed in "Ruby" memory system? I have
used the other flags like "ProtocolTrace" and "Ruby" which are printing
perfectly but i need the contents of "Cache" flag.
Also, the above command runs perfectly and simulation is completed.
However, nothing gets printed. I am unable to figure out the reason behind
it even after looking at the source codes.
P.S. my-binary is a multi-threaded workload.
Any help will be greatly appreciated.
*With Best Regards,*
*Binod Kumar*
IIT Bombay