Hi zpwu, Tianyi I am also new on GEm5, My work is also related with Multicore, One of my lab fellow already worked with GEM5 and and build a Triplet Architecture which is related with interUnit Now I have to modify and interact between the Objects on multicore. Core are fashioned in TBHIN Form. can you help me is there any option to interact between objects through passing message between the Objects. regards Shany
--- On Sat, 29/9/12, [email protected] <[email protected]> wrote: From: [email protected] <[email protected]> Subject: Re: [gem5-users] How to setup multi-core architecture simulation To: "gem5 users mailing list" <[email protected]>, "Tianyi Wang" <[email protected]> Date: Saturday, 29 September, 2012, 2:21 AM Hi, I am fairly new to gem5 as well but I managed to get this done by reading through this thread (http://www.digipedia.pl/usenet/thread/11778/1757/). You'll have to change the se.py script to run different workloads in different cpu. I am not sure what you mean by mesh technology though. Here is what I did, I added an option in Options.py (config/common/) and then added this code below the elif options.cmd case in se.py: elif options.cmd: process = LiveProcess() process.executable = options.cmd process.cmd = [options.cmd] + options.options.split() multiprocesses.append(process) elif options.multiprogram: executable = ["hello", "dealII", "bzip2", "mcf"] cmd_list = [["hello"], ["dealII"], ["bzip2", "bzip-input.gif"], ["mcf", "mcf.in" ]] for num in xrange(4): proc = LiveProcess() proc.executable = executable[num] proc.cmd = cmd_list[num] multiprocesses.append(proc) Quoting Tianyi Wang <[email protected]>: > Hi, all > > I am new to gem5. Currently I want to do some experiments such that a > task-graph like application running on a multi-core platform. I have read the > latest tutorial and I am able to run some examples shown in the video. > > Using one example to be specific: hello world. > > I run the script: > > build/ALPHA/gem5.opt configs/example/se.py -c > tests/test-progs/hello/bin/alpha/linux/hello, and I got the result with no > problem. > > My questions is if I want to run four "hello world" instances on four > different cores with mesh topology, how can I do that? I try to use option > --topology=Mesh, however, it seems that se.py didn't support this option. Do > I need to use some other scripts? Can anyone help me with this problem or any > suggestion/advice would be appreciated? > > Thanks, > > Tianyi > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
