Hello!
   I guess i was not clear enough in my question last time as i din't
receive any response so here i am.

1) I want to modify gem5 so that it can identify shared region among the
processes.
2) I found that arch/x86 may support system calls like shmget, shmctl etc.
but currently those system calls are  not implemented.
But,
I am working with alpha "(SE mode)" so is there any way that i can modify
gem5
i) To support the system calls mentioned above.
ii) or may be use other IPC methods like message passing or others.

     Thank you.
Vishal

On Wed, Jun 20, 2012 at 1:41 PM, <gem5-users-requ...@gem5.org> wrote:

> Send gem5-users mailing list submissions to
>        gem5-users@gem5.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> or, via email, send a message with subject or body 'help' to
>        gem5-users-requ...@gem5.org
>
> You can reach the person managing the list at
>        gem5-users-ow...@gem5.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gem5-users digest..."
>
>
> Today's Topics:
>
>   1. Re: question about .rcS file (wael Amr)
>   2. Implementation of producer consumer problem (vishal rawtiya)
>   3. Re: running SPEC benchmark in Full system mode (Mahmood Naderan)
>   4. Re: running SPEC benchmark in Full system mode (Bojun Ma)
>   5. Re: running SPEC benchmark in Full system mode (Mahmood Naderan)
>   6. Re: Implementation of producer consumer problem (Jack Harvard)
>   7. Re: running SPEC benchmark in Full system mode (Bojun Ma)
>   8. Re: running SPEC benchmark in Full system mode (Mahmood Naderan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 20 Jun 2012 07:24:05 +0300
> From: wael Amr <wael.amrhos...@gmail.com>
> To: gem5 users mailing list <gem5-users@gem5.org>
> Subject: Re: [gem5-users] question about .rcS file
> Message-ID:
>        <caoi0bo3cbkycm-b+ykubgmj-8afvjw8w+rz1svodooj1iqd...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> concerning the second question:
> The function of .rcS file is calling commands for executing the benchmark
> as shown in :
> http://www.m5sim.org/PARSEC_benchmarks
>
> Thanks
> Best Regards
> Wael AMR
>
> On Wed, Jun 20, 2012 at 2:31 AM, Bojun Ma <boj...@mtu.edu> wrote:
>
> > Hi, All,
> >      I'd like to know if there are any guide for how to write an .rcS
> file
> > of SPEC benchmark in Full System mode.
> >      I guess it should be similar like the rcS file in
> > configs/example/boot.
> >      what is the function of .rcS file in simulation?
> >
> >
> > Regards,
> > Bojun Ma
> >
> > _______________________________________________
> > gem5-users mailing list
> > gem5-users@gem5.org
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120620/9efef954/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 20 Jun 2012 09:57:18 +0530
> From: vishal rawtiya <vishu.h...@gmail.com>
> To: gem5-users@gem5.org
> Subject: [gem5-users] Implementation of producer consumer problem
> Message-ID:
>        <cannm73ekub3rc1+bdut700wdqkyvnypslaunfb43mgf5o3t...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello!
>
>     I am a beginner at gem5, so forgive me for any ignorance. I want to
> test my modified cache system.
> I am using ALPHA_SE.
>
> And to test my environment.
> I need to write producer consumer program in which an array is shared
> between producer and consumer.
>
> But my problem is that i can not figure out the way to share variables
> across the program.
> The only way i know is using system calls like *shmget, shmctl *but those
> are not supported by gem5.
>
> So is there any other way i can make it work.
>
> Thanks in advance.
>
> Regards,
> Vishal Rawtiya
> vishu.h...@gmail.com
> Indian Institue Of Technology Delhi
> Dept.Of Comp.Sci.& Engg.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120620/0dc650cb/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Wed, 20 Jun 2012 11:39:09 +0430
> From: Mahmood Naderan <mahmood...@gmail.com>
> To: gem5 users mailing list <gem5-users@gem5.org>
> Subject: Re: [gem5-users] running SPEC benchmark in Full system mode
> Message-ID:
>        <CADa2P2V_3D0zFyuLwSVx=fjz5ax1vb68haqez4vjzg47ykq...@mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> SPEC benchmarks are cpu and memory intensive. SE mode is enough.
>
> On 6/20/12, Bojun Ma <boj...@mtu.edu> wrote:
> > Hi,All,
> >     I searched the wiki document, but only found document of running SPEC
> > in SE mode.
> >     Can anyone who has the experience in running SPEC in FS mode give me
> > some guide?
> >
> >     Thanks in advance.
> >
> > Regards,
> > Bojun Ma
> >
>
>
> --
> // Naderan *Mahmood;
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 20 Jun 2012 03:14:07 -0400
> From: Bojun Ma <boj...@mtu.edu>
> To: gem5 users mailing list <gem5-users@gem5.org>
> Subject: Re: [gem5-users] running SPEC benchmark in Full system mode
> Message-ID:
>        <CAM4u=s8gzadnjaqj3vdhpoj5vju8zneo4nbge9n0jrqifwa...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> But I want to run a SPEC benchmark in a multicores system.So I choose FS
> mode.
>
> On Wed, Jun 20, 2012 at 3:09 AM, Mahmood Naderan <mahmood...@gmail.com
> >wrote:
>
> > SPEC benchmarks are cpu and memory intensive. SE mode is enough.
> >
> > On 6/20/12, Bojun Ma <boj...@mtu.edu> wrote:
> > > Hi,All,
> > >     I searched the wiki document, but only found document of running
> SPEC
> > > in SE mode.
> > >     Can anyone who has the experience in running SPEC in FS mode give
> me
> > > some guide?
> > >
> > >     Thanks in advance.
> > >
> > > Regards,
> > > Bojun Ma
> > >
> >
> >
> > --
> > // Naderan *Mahmood;
> > _______________________________________________
> > gem5-users mailing list
> > gem5-users@gem5.org
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120620/46d1353a/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 5
> Date: Wed, 20 Jun 2012 11:49:36 +0430
> From: Mahmood Naderan <mahmood...@gmail.com>
> To: gem5 users mailing list <gem5-users@gem5.org>
> Subject: Re: [gem5-users] running SPEC benchmark in Full system mode
> Message-ID:
>        <cada2p2vqhq-6+h0cv06erafvxzizcfwelh4frwytbf4w-lt...@mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> If your problem is "multicore simulation", both SE and FS can do that.
> If your problem is "simulating a while system including network, IO,
> OS activity, multithread,..." then you should use FS.
> SPEC benchmarks are single threaded and many of them are runable in SE
> mode.
>
> --
> // Naderan *Mahmood;
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 20 Jun 2012 08:45:12 +0100
> From: Jack Harvard <jack.harv...@gmail.com>
> To: gem5 users mailing list <gem5-users@gem5.org>
> Subject: Re: [gem5-users] Implementation of producer consumer problem
> Message-ID:
>        <CAMkd4tbdNpWWeskEVFqYE-TSBoupwK1y_CbsAAFHqj=erws...@mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> Why a ring buffer [implemented in an array as in C/C++] with one
> producer thread and one consumer thread will not meet your
> requirement?
>
> Jack
>
>
> On Wed, Jun 20, 2012 at 5:27 AM, vishal rawtiya <vishu.h...@gmail.com>
> wrote:
> > Hello!
> >
> > ???? I am a beginner at gem5, so forgive me for any ignorance. I want to
> > test my modified cache system.
> > I am using ALPHA_SE.
> >
> > And to test my environment.
> > I need to write producer consumer program in which an array is shared
> > between producer and consumer.
> >
> > But my problem is that i can not figure out the way to share variables
> > across the program.
> > The only way i know is using system calls like shmget, shmctl but those
> are
> > not supported by gem5.
> >
> > So is there any other way i can make it work.
> >
> > Thanks in advance.
> >
> > Regards,
> > Vishal Rawtiya
> > vishu.h...@gmail.com
> > Indian Institue Of Technology Delhi
> > Dept.Of Comp.Sci.& Engg.
> >
> >
> >
> >
> >
> > _______________________________________________
> > gem5-users mailing list
> > gem5-users@gem5.org
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 20 Jun 2012 03:47:55 -0400
> From: Bojun Ma <boj...@mtu.edu>
> To: gem5 users mailing list <gem5-users@gem5.org>
> Subject: Re: [gem5-users] running SPEC benchmark in Full system mode
> Message-ID:
>        <CAM4u=s_71m4bp0ta8fheze+o70rjdwemve5z8amkvblbcq0...@mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks for your reply.
> I mean I want to run a single benchmark on multi cores at the same time.
> My goal is to simulate the power distribution of multi core system.
> I just cannot find some specific guide for running SPEC in FS mode.
>
>
> On Wed, Jun 20, 2012 at 3:19 AM, Mahmood Naderan <mahmood...@gmail.com
> >wrote:
>
> > If your problem is "multicore simulation", both SE and FS can do that.
> > If your problem is "simulating a while system including network, IO,
> > OS activity, multithread,..." then you should use FS.
> > SPEC benchmarks are single threaded and many of them are runable in SE
> > mode.
> >
> > --
> > // Naderan *Mahmood;
> > _______________________________________________
> > gem5-users mailing list
> > gem5-users@gem5.org
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120620/1f22d4c2/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 8
> Date: Wed, 20 Jun 2012 12:43:02 +0430
> From: Mahmood Naderan <mahmood...@gmail.com>
> To: gem5 users mailing list <gem5-users@gem5.org>
> Subject: Re: [gem5-users] running SPEC benchmark in Full system mode
> Message-ID:
>        <cada2p2x+qswaq-x+ed-g9fw2exqfann3avvaoucmdktvgjq...@mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> if you think it is mandatory to run spec under FS mode, look how
> PARSEC benchmarks are simulated under FS. I don't use FS.
>
> --
> // Naderan *Mahmood;
>
>
> ------------------------------
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> End of gem5-users Digest, Vol 71, Issue 63
> ******************************************
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to