Hi Mohammadsadegh,
*
*
I think he is talking about the second scenario, which is in fact
multiprogramming. At least this is what I am trying
to do. I need to run several benchmarks on a CMP, such  that each benchmark
runs on one or two cores. It seem
pretty straightforward in SE mode, but since my benchmarks are
multi-threaded, I need to run in FS mode. So,
I am not sure how to do this. So, can you please give some hints about how
to do this?

Thanks.


On Wed, Jul 10, 2013 at 7:19 AM, Mohammadsadegh Sadri <
[email protected]> wrote:

> Hi, I personally think you are not clear with your question.
> gem5 runs on only one CPU core. Now if you have a server, or a cluster or
> a computer in your university which has N CPU cores and you want to use all
> of them, you can simply run N instances of gem5 and the OS will put each
> gem5 on a separate core automatically. Then on each instance of running
> gem5 , execute a different benchmark and capture statistics and ...
> don't worry about port numbers, gem5 will automatically detect another
> instance of gem5 is running. So it increases the port numbers (for VNC and
> m5term connection) automatically.  Just be careful about the m5out folder,
> in case you are producing a kind log or saving snapshots , they will all go
> to one m5out folder which is not good. I personally have created multiple
> physical copies of gem5 with separate m5out folders and run multiple
> instances of gem5 on our cluster.
>
> But if your question is, you have created a FS gem5 platform which
> contains N cores (with -n N option when running gem5) and then you want to
> run one separate benchmark on every of these cores, then again it shouldn't
> be a problem since the Linux OS running on your gem5 virtual platform
> handles this for you automatically. (well at least I am pretty sure for
> gem5.ARM platform it works fine, for the X86 I have never tried)
> also have a look here
> http://stackoverflow.com/questions/3203831/how-to-specify-a-cpu-core-to-run-a-program-in-linux
>
> ________________________________
> From: [email protected] [[email protected]] on behalf
> of Mahshid Sedghi [[email protected]]
> Sent: Tuesday, July 09, 2013 6:20 PM
> To: gem5 users mailing list
> Subject: Re: [gem5-users] Multiple Workloads in FS mode.......
>
> Hello,
>
> I am also interested in this topic. I'd appreciate if someone can provide
> some insight.
>
> Thanks.
>
>
> On Mon, Jul 8, 2013 at 8:53 PM, Zheng Wu <[email protected]<mailto:
> [email protected]>> wrote:
> Hi all,
>
> I am also curious to know the answer to this question.
>
> Thanks
>
> On 2013-07-07, at 2:08 PM, Amanpreet Kaur <[email protected]
> <mailto:[email protected]>> wrote:
>
> hello...
>
> I am new to gem5 and also from electronics background, so can anybody tell
> me what is the command for running multiple applications on multi core or
> multi-processors for X86 FS mode? like if I have to run 4 benchmarks on 4
> cores than what flags I need to set, or what all changes I have to make in
> script file please elaborate bcoz this will help me to understand it
> clearly.....also how to confirm that it is working properly? do I have to
> see simulation time that it should remain same or if I will run 8
> benchmarks on 4 cores than time should be double,what I am thinking is
> correct? please tell me the steps because I am struggling so much(read
> documentation,gone through all archive mails) it would be great if anybody
> can help me at the earliest.......actually I tried running commands without
> making any changes in the source code, but in the statistics file only one
> CPU is getting active, so how to assign workloads to other CPU's ?please
> tell me which all source file I have to ch
>  eck out.....
>
> thanks in advance..
>
> Amanpreet kaur
> M'tech
> IIT Delhi
>
> _______________________________________________
> gem5-users mailing list
> [email protected]<mailto:[email protected]>
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]<mailto:[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

Reply via email to