Re: [gem5-users] How to suspend a packet in cache

2019-12-02 Thread Abhishek Singh
Hi Majid,

One way is the schedule the response of packet 1 to a later tick x( current
tick + 1), when the tick x is the system time, you have some sort of a flag
to check whether the packet 2 was serviced by L2 cache or not.
If no packet 2 had arrived in that time frame, you again delay the packet 1
response to y tick (y tick = current tick + n{number of ticks you want to
delay, I would suggest it to be 1})



On Mon, Dec 2, 2019 at 5:35 PM Majid Jalili  wrote:

> Hi,
> What is the best way to suspend a packet  in the cache. Let's say for a
> read access to L2, I have to suspend the request until another
> request comes in, although the main request might be a hit in L2.
>
> One solution might be checking the secondary request in
>  inpuSidePort::recvTimingReq(PacketPtr pkt)
> and then pushing back the main request to higher level, if the secondary
> is missing. But I want to keep the main packet in L2. Do you have any idea?
> Majid
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] How to suspend a packet in cache

2019-12-02 Thread Majid Jalili
Hi,
What is the best way to suspend a packet  in the cache. Let's say for a
read access to L2, I have to suspend the request until another
request comes in, although the main request might be a hit in L2.

One solution might be checking the secondary request in
 inpuSidePort::recvTimingReq(PacketPtr pkt)
and then pushing back the main request to higher level, if the secondary is
missing. But I want to keep the main packet in L2. Do you have any idea?
Majid
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Running a java program through gem5

2019-12-02 Thread Jason Lowe-Power
Hi all,

The enable redirects might help, but I would be shocked if all of the
necessary syscalls have been implemented. I strongly suggest using FS
mode instead of SE mode.

Cheers,
Jason

On Mon, Dec 2, 2019 at 12:49 PM Ciro Santilli  wrote:
>
> Related question yet without satisfactory answer:
> https://stackoverflow.com/questions/58399259/running-java-programs-in-gem5or-any-language-which-is-not-c
>
> Maybe we can use the new --redirects option to get this working, not
> sure: 
> https://stackoverflow.com/questions/5054/how-to-run-a-dynamically-linked-executable-syscall-emulation-mode-se-py-in-gem5/50696098#50696098
>
> On Mon, Dec 2, 2019 at 5:26 PM Leah Rumancik  wrote:
> >
> > Hello,
> >
> > What is the simplest way to run a java program through gem5? I have tried 
> > to run a HelloWorld program via
> >
> > > build/X86/gem5.opt configs/example/se.py --cmd /usr/bin/java --options 
> > > java/HelloWorld
> >
> > But I get the following error:
> >
> > /usr/bin/java: error while loading shared libraries: libjli.so: cannot open 
> > shared object file: No such file or directory
> >
> > There is no problem running the program outside of gem5.
> >
> > Thanks!
> > ___
> > gem5-users mailing list
> > gem5-users@gem5.org
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Running a java program through gem5

2019-12-02 Thread Ciro Santilli
Related question yet without satisfactory answer:
https://stackoverflow.com/questions/58399259/running-java-programs-in-gem5or-any-language-which-is-not-c

Maybe we can use the new --redirects option to get this working, not
sure: 
https://stackoverflow.com/questions/5054/how-to-run-a-dynamically-linked-executable-syscall-emulation-mode-se-py-in-gem5/50696098#50696098

On Mon, Dec 2, 2019 at 5:26 PM Leah Rumancik  wrote:
>
> Hello,
>
> What is the simplest way to run a java program through gem5? I have tried to 
> run a HelloWorld program via
>
> > build/X86/gem5.opt configs/example/se.py --cmd /usr/bin/java --options 
> > java/HelloWorld
>
> But I get the following error:
>
> /usr/bin/java: error while loading shared libraries: libjli.so: cannot open 
> shared object file: No such file or directory
>
> There is no problem running the program outside of gem5.
>
> Thanks!
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Running a java program through gem5

2019-12-02 Thread Leah Rumancik
Hello,

What is the simplest way to run a java program through gem5? I have tried to 
run a HelloWorld program via

> build/X86/gem5.opt configs/example/se.py --cmd /usr/bin/java --options 
> java/HelloWorld

But I get the following error:

/usr/bin/java: error while loading shared libraries: libjli.so: cannot open 
shared object file: No such file or directory

There is no problem running the program outside of gem5.

Thanks!
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users