On Fri, Mar 30, 2012 at 5:42 AM, Erik Tomusk <[email protected]> wrote: > ARM recently announced an internship to do something similar: > http://www.hipeac.net/content/multi-thread-gem5-simulator >
That's interesting . Does ARM have anybody/ any group working on something similar ? Coincidentally, the my research focus is on simulating networked Android phones. Since most phones today run ARM, I would mostly be interested in simulating an ARM processor within each GEM5 instance. Anirudh > -Erik > > > On 29/03/12 17:47, Anirudh Sivaraman wrote: >> >> I have a design for a parallel version of GEM5. I wanted to run it by >> the dev list before jumping in. The idea is to simulate a networked >> system of multiple machines. The networking simulation will be handled >> by ns3, a standard networking simulator. Each GEM5 instance will >> connect into ns3 using a tap device (I hope to use ethertap.cc for >> this) and ns3 will act as a "router" forwarding packets between GEM5 >> instances. Each machine will be simulated by it's own GEM5 instance in >> a separate thread and will hook into ns-3 using a tap device (ns-3 has >> some support for this). ns3 is pretty flexible and can simulate >> wired/wireless networks, but that should hopefully not matter to GEM5. >> >> The natural question is handling synchronization between the simulated >> times in the various GEM5 instances. My idea is to use barrier >> synchronization between the various GEM5 instances at periodic time >> intervals. Let's assume this time interval is 10 ms. Then each GEM5 >> instance runs from 0 through 10 ms of simulated time, and then waits >> until all other GEM5 instances have finished their 10 ms slice as >> well. The process then repeats itself from simulated time 10 to 20 ms. >> Consequently, instances don't get out of sync by more than 10 ms at >> any point. This interval is tunable, a lower interval gives you more >> accuracy but more run time as well. >> >> I realize that determinism is impossible in this framework, but that's >> a hit I am willing to take for my work. I wanted to know if there were >> any code examples on using ethertap.cc just like etherlink.cc >> (twosys-tsunami-simple-atomic.py) >> >> Anirudh >> _______________________________________________ >> gem5-dev mailing list >> [email protected] >> http://m5sim.org/mailman/listinfo/gem5-dev >> > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > _______________________________________________ > gem5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/gem5-dev _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
