[gem5-users] gem5 stable release proposal [RESULTS]

2020-01-09 Thread Bobby Bruce
Dear all,

Thank you to all those who voted and provided us with valuable feedback on
the future direction of gem5. Voting is now closed and I've tallied the
votes. There appears to be a clear favored direction:

- The master shall be stable (13 votes to 3).

- gem5 will be released 3 times a year (11 votes to 3).

Given this result we will proceed with the release of gem5 19 in the coming
weeks, to exist on the stable master branch, with development moved towards
a new "develop" branch. I shall update the relevant documentation and will
send email updates as and when this is incorporated. We do not intend to
release gem5 19 with much fanfare; we consider it more of a "baseline"
release of gem5, as it exists now, in a relatively stable state. gem5 20
will be released in approximately 3 months time.

Kind regards,
Bobby
--
Dr. Bobby R. Bruce
Room 2235,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode

2020-01-09 Thread ABD ALRHMAN ABO ALKHEEL
Hi Dimitrios, I appreciate your help. How I can run the benchmark for one 
million instruction in the FS mode. In SE mode I used -I 100 . Any help 
would be appreciated. Best Regards

From: Dimitrios Chasapis 
Sent: Thursday, January 9, 2020 5:39:51 PM
To: gem5 users mailing list ; ABD ALRHMAN ABO ALKHEEL 

Subject: Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode


Hi,

Here is an example of an .rcs script.  As Ciro told you, first you need to have 
a bootable image, optionally create a checkpoint after boot and finally add the 
benchmarks to the cd image.

#/bin/bash
cd 
/your/path/SPEC_CPU_2017/benchspec/CPU/627.cam4_s/run/run_base_refspeed_aarch64-64.
/sbin/m5 dumpresetstats
/yourpath/SPEC_CPU_2017/benchspec/CPU/627.cam4_s/exe/cam4_s_base.aarch64-64
/sbin/m5 exit

In the example above you simply cd to the directory of the benchmark you want 
to use and then run it.  /sbin/m5 dumperesetstats resets your statistics 
counters and exit is used to finish the execution.  Note I use spec 2017, which 
I found that it's best to run directly as I do above than use their 
infrastructure.  Problem is that FS is too slow and you waste a lot of time 
running their python scripts.  Also, I would encourage you to learn about 
simpoints if you plan on running SPEC CPU 2006 with 
anything more than the test inputs.  Running with ref will take days/weeks.

Best,

Dimitrios Chasapis


On 1/9/20 6:03 PM, Ciro Santilli wrote:

The linked documentation runs an arbitrary benchmark of your choice.
You just have to add SPEC CPU to the image yourself as explained
there. I can't fully automate SPEC CPU build because it is closed source.


On Thu, Jan 9, 2020 at 3:10 PM ABD ALRHMAN ABO ALKHEEL
 wrote:



Thanks Ciro, I appreciate your help. Can you provide me an example on .rcs 
script to run the benchmark. Any help would be appreciated. Best Regards 

From: Ciro Santilli 
Sent: Thursday, January 9, 2020 9:52:28 AM
To: gem5 users mailing list ; 
abdkeel...@hotmail.com 

Subject: Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode

1. get Linux to boot, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-buildroot-setup
2. learn to checkpoint at the end of boot, restore, and run an
executable afterwards, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-run-benchmark
3. learn to add your own files to the image, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#add-new-files-to-the-buildroot-image

On Thu, Jan 9, 2020 at 1:43 AM ABD ALRHMAN ABO ALKHEEL
 wrote:



Hello all, I wanna run benchmark on the gem5 in FS mode. Any help would be 
appreciated. Best Regards
___
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


WARNING / LEGAL TEXT: This message is intended only for the use of the 
individual or entity to which it is addressed and may contain information which 
is privileged, confidential, proprietary, or exempt from disclosure under 
applicable law. If you are not the intended recipient or the person responsible 
for delivering the message to the intended recipient, you are strictly 
prohibited from disclosing, distributing, copying, or in any way using this 
message. If you have received this communication in error, please notify the 
sender and destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode

2020-01-09 Thread Dimitrios Chasapis

Hi,

Here is an example of an .rcs script.  As Ciro told you, first you need 
to have a bootable image, optionally create a checkpoint after boot and 
finally add the benchmarks to the cd image.


#/bin/bash
cd 
/your/path/SPEC_CPU_2017/benchspec/CPU/627.cam4_s/run/run_base_refspeed_aarch64-64.

/sbin/m5 dumpresetstats
/yourpath/SPEC_CPU_2017/benchspec/CPU/627.cam4_s/exe/cam4_s_base.aarch64-64
/sbin/m5 exit

In the example above you simply cd to the directory of the benchmark you 
want to use and then run it.  /sbin/m5 dumperesetstats resets your 
statistics counters and exit is used to finish the execution.  Note I 
use spec 2017, which I found that it's best to run directly as I do 
above than use their infrastructure.  Problem is that FS is too slow and 
you waste a lot of time running their python scripts.  Also, I would 
encourage you to learn about simpoints  if 
you plan on running SPEC CPU 2006 with anything more than the test 
inputs. Running with ref will take days/weeks.


Best,

Dimitrios Chasapis


On 1/9/20 6:03 PM, Ciro Santilli wrote:

The linked documentation runs an arbitrary benchmark of your choice.
You just have to add SPEC CPU to the image yourself as explained
there. I can't fully automate SPEC CPU build because it is closed source.


On Thu, Jan 9, 2020 at 3:10 PM ABD ALRHMAN ABO ALKHEEL
 wrote:

Thanks Ciro, I appreciate your help. Can you provide me an example on .rcs 
script to run the benchmark. Any help would be appreciated. Best Regards 

From: Ciro Santilli 
Sent: Thursday, January 9, 2020 9:52:28 AM
To: gem5 users mailing list ; abdkeel...@hotmail.com 

Subject: Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode

1. get Linux to boot, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-buildroot-setup
2. learn to checkpoint at the end of boot, restore, and run an
executable afterwards, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-run-benchmark
3. learn to add your own files to the image, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#add-new-files-to-the-buildroot-image

On Thu, Jan 9, 2020 at 1:43 AM ABD ALRHMAN ABO ALKHEEL
 wrote:

Hello all, I wanna run benchmark on the gem5 in FS mode. Any help would be 
appreciated. Best Regards
___
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



http://bsc.es/disclaimer___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] In-flight conditional branches in O3

2020-01-09 Thread Dimitrios Chasapis

Hi,

Is there any option to limit the number of in-flight branches in the 
pipeline of the O3 CPU model?  I wasn't able to find one.


Best,

Dimitrios Chasapis


http://bsc.es/disclaimer
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode

2020-01-09 Thread Ciro Santilli
The linked documentation runs an arbitrary benchmark of your choice.
You just have to add SPEC CPU to the image yourself as explained
there. I can't fully automate SPEC CPU build because it is closed source.


On Thu, Jan 9, 2020 at 3:10 PM ABD ALRHMAN ABO ALKHEEL
 wrote:
>
> Thanks Ciro, I appreciate your help. Can you provide me an example on .rcs 
> script to run the benchmark. Any help would be appreciated. Best Regards 
> 
> From: Ciro Santilli 
> Sent: Thursday, January 9, 2020 9:52:28 AM
> To: gem5 users mailing list ; abdkeel...@hotmail.com 
> 
> Subject: Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode
>
> 1. get Linux to boot, e.g.:
> https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-buildroot-setup
> 2. learn to checkpoint at the end of boot, restore, and run an
> executable afterwards, e.g.:
> https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-run-benchmark
> 3. learn to add your own files to the image, e.g.:
> https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#add-new-files-to-the-buildroot-image
>
> On Thu, Jan 9, 2020 at 1:43 AM ABD ALRHMAN ABO ALKHEEL
>  wrote:
> >
> > Hello all, I wanna run benchmark on the gem5 in FS mode. Any help would be 
> > appreciated. Best Regards
> > ___
> > 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] Run CPU 2006 benchmark on gem5 fs mode

2020-01-09 Thread ABD ALRHMAN ABO ALKHEEL
Thanks Ciro, I appreciate your help. Can you provide me an example on .rcs 
script to run the benchmark. Any help would be appreciated. Best Regards

From: Ciro Santilli 
Sent: Thursday, January 9, 2020 9:52:28 AM
To: gem5 users mailing list ; abdkeel...@hotmail.com 

Subject: Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode

1. get Linux to boot, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-buildroot-setup
2. learn to checkpoint at the end of boot, restore, and run an
executable afterwards, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-run-benchmark
3. learn to add your own files to the image, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#add-new-files-to-the-buildroot-image

On Thu, Jan 9, 2020 at 1:43 AM ABD ALRHMAN ABO ALKHEEL
 wrote:
>
> Hello all, I wanna run benchmark on the gem5 in FS mode. Any help would be 
> appreciated. Best Regards
> ___
> 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] Default stack pointer value...

2020-01-09 Thread Anuj Falcon
What causes writeData() function in packet.hh to cause segmentation fault
in the context of gem5? How to resolve this?


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

Re: [gem5-users] Run CPU 2006 benchmark on gem5 fs mode

2020-01-09 Thread Ciro Santilli
1. get Linux to boot, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-buildroot-setup
2. learn to checkpoint at the end of boot, restore, and run an
executable afterwards, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#gem5-run-benchmark
3. learn to add your own files to the image, e.g.:
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/657c59249e56d861bb0a437a1b1c757797281910#add-new-files-to-the-buildroot-image

On Thu, Jan 9, 2020 at 1:43 AM ABD ALRHMAN ABO ALKHEEL
 wrote:
>
> Hello all, I wanna run benchmark on the gem5 in FS mode. Any help would be 
> appreciated. Best Regards
> ___
> 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