hello Kumail,
I modify file CacheConfig.py as you guided . But unfortunately , when I
execute the cmd :
"build/X86/gem5.opt \
--stats-file=DRAM_state.log \
configs/example/updated_se.py \
--mem-type=LPDDR2_S4_1066_x32 \
--caches \
--cpu-type=detailed --num-cpus=4 \
--l1i_size 32kB --l1d_size 32kB \
--l2cache --l2_size 4MB \
--l3cache --l3_size 8MB \
-c cyj_test/bechmarks/hello"
I had got the warns:
"warn: add_child('l2'): child 'l2' already has parent
warn: add_child('tol2bus'): child 'tol2bus' already has parent
warn: add_child('l2'): child 'l2' already has parent
warn: add_child('tol2bus'): child 'tol2bus' already has parent"
and soon , it exited unexpectedly. I have no idea about what happened. Can you
show it more detailed to me, or show your configure file to me.
the accessory is my configure file. Thanks for your response ^_^.best wishes to you! -- YujieChen School of Computer Science and Technology Cluster and Grid Computing Lab Services Computing Technology and System Lab Huazhong University of Science and Technology Wuhan, 430074, China Email:[email protected] At 2014-11-12 22:36:24, "Kumail Ahmed" <[email protected]> wrote: Hello Yuije, In the for-loop for allocating CPUs, you can use the modulus operator to apply L2 caches evenly, you will also need to instantiate L1 private caches in a way that you can connect them to the system.tol2bus. Thank you for your answer :) Kumail Ahmed TU Kasierslautern, Germany On Wed, Nov 12, 2014 at 3:13 PM, Yujie Chen <[email protected]> wrote: hello,kumail, you can reference the original configure file of cache, namely config/common/CacheConfigure.py , l2 cache is shared among all cpus in the unmodified cacheconfig.py , and the l1 caches are all private. You can create a "l3 cache" and a "l3 cache bus" based on the BaseCache and CoherentBus,and define the l3 cache's cpu_side and mem_side . You can find the detailed answer on the Internet. by the way , I'm also confused about how to share 2 l2 caches between 4 cores : two cpus share one l2 cache. You said you make it , how do you make it ! I'll appreciate it if you response me! Thanks very much! -- YujieChen School of Computer Science and Technology Cluster and Grid Computing Lab Services Computing Technology and System Lab Huazhong University of Science and Technology Wuhan, 430074, China Email:[email protected] At 2014-11-11 21:01:32, "Kumail Ahmed via gem5-users" <[email protected]> wrote: Thank you very much andreas :) I did it! Can you tell me how I can add l3cache in the classical memory model? Do I have to create a new l3cache class can share it on the l2 bus? Thanks again, Kumail Ahmed Masters Student TU Kaiserslautern, Germany On Tue, Nov 11, 2014 at 1:56 PM, Andreas Hansson <[email protected]> wrote: Hi Kumail, The crossbar in gem5 supports address striping, so you can create a “toL2Bus” that interleaves between two L2 caches. Have a look at config/common/MemConfig.py for how the interleaving is configured (for the memory channels). You should be able to do something similar. Andreas From: Kumail Ahmed via gem5-users <[email protected]> Reply-To: Kumail Ahmed <[email protected]>, gem5 users mailing list <[email protected]> Date: Tuesday, 11 November 2014 10:45 To: "[email protected]" <[email protected]> Subject: [gem5-users] Sharing L2 cache Hello, How an I share two L2 caches between 4 CPU cores in GEM5. I guess I have to change the code in Cacheconfig.py. Can someone help me with this? Thanks, Kumail Ahmed -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782
update_CacheConfig.py
Description: Binary data
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
