[gem5-users] Re: Any way to add randomization into full system simulation?

2020-05-20 Thread Jason Lowe-Power via gem5-users
Hi Heng,

I suggest modifying the Bridge object to allow for random latency. Then,
you can "splice" (see port.splice) the Bridge between your LLC and memory
controllers. You can also set the random seed from the python run script (I
don't remember exactly how, but grep for "random" in the src/m5 directory).

Cheers,
Jason

On Sun, May 17, 2020 at 11:55 PM Ciro Santilli via gem5-users <
gem5-users@gem5.org> wrote:

> Maybe you want to look into: m5 readfile, 9P or use two disks as
> mentioned at:
> https://cirosantilli.com/linux-kernel-module-cheat/#gem5-restore-new-script
>
> On Sun, May 17, 2020 at 9:20 PM HENG ZHUO via gem5-users
>  wrote:
> >
> > Hi,
> >
> > I am trying to run some benchmark on ARM full system simulation. Already
> use AtomicSimpleCPU to do the bootup and everything to speed up warmup, but
> still, ROI is few seconds of machine time, which takes up to few days to
> simulate. Also, for statistical confidence reasons, repeated run with same
> configs is wanted. With knowing that gem5 is deterministic, just re-restore
> with the same checkpoints will just give me same results. I want to launch
> multiple (for example 10) copies of same gem5 commands. Is there anyway in
> gem5, which allows insetting randomization between runs? For instance, can
> I somehow change the random seed in the full system, but after restoring
> from the same checkpoint? Or, I will have to just generate different
> checkpoints.
> >
> > Any suggestions/help is appreciated!
> >
> > Best,
> > Heng
> > ___
> > gem5-users mailing list -- gem5-users@gem5.org
> > To unsubscribe send an email to gem5-users-le...@gem5.org
> > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Any way to add randomization into full system simulation?

2020-05-18 Thread Ciro Santilli via gem5-users
Maybe you want to look into: m5 readfile, 9P or use two disks as
mentioned at: 
https://cirosantilli.com/linux-kernel-module-cheat/#gem5-restore-new-script

On Sun, May 17, 2020 at 9:20 PM HENG ZHUO via gem5-users
 wrote:
>
> Hi,
>
> I am trying to run some benchmark on ARM full system simulation. Already use 
> AtomicSimpleCPU to do the bootup and everything to speed up warmup, but 
> still, ROI is few seconds of machine time, which takes up to few days to 
> simulate. Also, for statistical confidence reasons, repeated run with same 
> configs is wanted. With knowing that gem5 is deterministic, just re-restore 
> with the same checkpoints will just give me same results. I want to launch 
> multiple (for example 10) copies of same gem5 commands. Is there anyway in 
> gem5, which allows insetting randomization between runs? For instance, can I 
> somehow change the random seed in the full system, but after restoring from 
> the same checkpoint? Or, I will have to just generate different checkpoints.
>
> Any suggestions/help is appreciated!
>
> Best,
> Heng
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s