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 1000000 . Any help 
would be appreciated. Best Regards
________________________________
From: Dimitrios Chasapis <dchas...@bsc.es>
Sent: Thursday, January 9, 2020 5:39:51 PM
To: gem5 users mailing list <gem5-users@gem5.org>; ABD ALRHMAN ABO ALKHEEL 
<abdkeel...@hotmail.com>
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.0000
/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<http://gem5.org/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
<abdkeel...@hotmail.com><mailto:abdkeel...@hotmail.com> 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 <ciro.santi...@gmail.com><mailto:ciro.santi...@gmail.com>
Sent: Thursday, January 9, 2020 9:52:28 AM
To: gem5 users mailing list <gem5-users@gem5.org><mailto:gem5-users@gem5.org>; 
abdkeel...@hotmail.com<mailto:abdkeel...@hotmail.com> 
<abdkeel...@hotmail.com><mailto: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
<abdkeel...@hotmail.com><mailto:abdkeel...@hotmail.com> 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<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


_______________________________________________
gem5-users mailing list
gem5-users@gem5.org<mailto: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

Reply via email to