The PROTOCOL env var (available in build_opts) is used in Ruby only. For the classic memory system, MOESI is used.
Giacomo ________________________________ From: gem5-users <[email protected]> on behalf of Abhishek Singh <[email protected]> Sent: 11 December 2019 16:32 To: gem5 users mailing list <[email protected]> Subject: Re: [gem5-users] What is the default coherence mechanism in gem5 for multicore systems? Hi, The default is MI protocol in classic cache model, there are various protocols which you can find in build_opts directory. Also, you can find the build info by using —build-info flag. For example ./build/X86/gem5.opt —build-info On Wed, Dec 11, 2019 at 10:11 AM Francisco Carlos <[email protected]<mailto:[email protected]>> wrote: Hi all, I am currently running simulation in a multicore processor. I connect the memory system as follow: for i in range(np): system.cpu[i].icache = L1_ICache() system.cpu[i].dcache = L1_DCache() system.cpu[i].icache.connectCPU(system.cpu[i]) system.cpu[i].dcache.connectCPU(system.cpu[i]) system.l2cache = L2Cache() system.l2bus = L2XBar() #np means number of processor and it is a parameter for i in range(np): system.cpu[i].icache.connectBus(system.l2bus) system.cpu[i].dcache.connectBus(system.l2bus) system.l2cache.connectCPUSideBus(system.l2bus) system.l2cache.connectMemSideBus(system.membus) In summary, to each core I have private Icache and Dcache which are connected to an L2 shared cache. So, my question is: how is the coherence guaranteed in the system, since I do not provide this information in my configuration file? Is there a default coherency used in the gem5? If so, which is it? Thanks in advance. ---------------------------------------------------------------------------------------------------------------------------------------------- Francisco Carlos Silva Junior Ph.D student at University of Brasilia _______________________________________________ gem5-users mailing list [email protected]<mailto:[email protected]> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users 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.
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
