Hi,

> does this mean that I have gone the right way and  do I  not need to
> specify  any arguments or  input(ref,train) to run the "spec cpu 2006" on
> gem5-fullsystem like what is said in the file  "speccmds.cmd" that is in "
> /home/farideh/mnt/benchspec/CPU2006/401.bzip2/run/run_base_ref_gcc43-64bit.0000
> "?


 That depends on what input you intend to run bzip with. "speccmds.cmd"
contains all commands to run a particular benchmark with a specific input.
You can use a command from that file to run the benchmark+input combination
you want to run (e.g. to run bzip with chicken.jpg, you will have to
pass "chicken.jpg
30"  as arguments to the bzip binary).

what does these mean  "-E , -c , -o" in the file  speccmds.cmd?


-e, -o are used to redirect the stdout and stderr of your benchmark run to
particular files.

 should I use 6 input( input.source , chicken.jpg , liberty.jpg ,
> input.program , text.html , input.combined ) for running bzip2 on
> gem5-fullsystem-arm or just use  input.combined for input of  bzip2?


I think this really depends on what you are trying to study. Usually in
papers, when authors present their data, they will mention the
benchmark+input combination. Moreover, from SPEC's website:

"401.bzip2's reference workload has six components: two small JPEG images,
a program binary, some program source code in a tar file, an HTML file, and
a "combined" file, which is representative of an archive that contains both
highly compressible and not very compressible files."

So you can pick an input which suits your experiments (or if you do not
care, maybe the combined file makes the most sense).

When I ran 401.bzip2 ,it finished after 10days.  I need to  know between
> "429.mcf, 445.gobmk, 
> 456.hmmer,458.sjeng,462.libquantum,473.astar,483.xalancbmk
> and 998.specrand"",Which one runs in 10 short days?


I don't really remember the difference in execution times of these
benchmarks (I think mcf, gobmk and sjeng will be faster than others, also
it depends on which inputs are you using).  I will suggest that you run
these benchmarks on real hardware and see the difference in their execution
times (you should see similar behavior on gem5 as well).


and Is it not problem , if I use 4cores and cpu-type=DerivO3CPU for running
> "spec cpu 2006" on gem5-fullsystem ?


Running a complete benchmark might be too slow with DerivO3CPU. You can
either use smaller inputs or run your benchmark for a smaller number of
instructions. Moreover, I don't think 4 cores make sense with spec cpu 2006
benchmarks as they are single threaded workloads (obviously it also depends
on what are you trying to study).

For the last question, if I use sript file for running  bzip2 on
> gem5-fullsystem   the following command, is it correct?


Yes, that looks correct to me (assuming that the benchmark paths are
correct).

-Ayaz

On Sun, Dec 20, 2020 at 8:01 AM FARIDEH ZIAEE <faridehzi...@gmail.com>
wrote:

> Hi
> Thanks.
>
>
> According to the SPEC website, I built  and ran "spec cpu 2006"  for "ref
> and test input" by useing  cross-compiling and  qemu to chroot to an arm
> linux image then I have traid to run  "spec cpu 2006" on
> gem5-fullsystem-arm.
>
> and you said "As far as I remember bzip binary inside run folder (the one
> you referred to above) uses "data/all/input/input.combined" file  by
> default and the output you are seeing definitely shows that bzip ran with
> input.combined."
> ,does this mean that I have gone the right way and  do I  not need to
> specify  any arguments or  input(ref,train) to run the "spec cpu 2006" on
> gem5-fullsystem like what is said in the file  "speccmds.cmd" that is in "
> /home/farideh/mnt/benchspec/CPU2006/401.bzip2/run/run_base_ref_gcc43-64bit.0000
> "?
>   the file  speccmds.cmd ::
>
> ""-C
> /home/farideh/mnt/benchspec/CPU2006/401.bzip2/run/run_base_ref_gcc43-64bit.0000
> -o input.source.out -e input.source.err
> ../run_base_ref_gcc43-64bit.0000/bzip2_base.gcc43-64bit input.source 280
> -o chicken.jpg.out -e chicken.jpg.err
> ../run_base_ref_gcc43-64bit.0000/bzip2_base.gcc43-64bit chicken.jpg 30
> -o liberty.jpg.out -e liberty.jpg.err
> ../run_base_ref_gcc43-64bit.0000/bzip2_base.gcc43-64bit liberty.jpg 30
>
>
> -o input.program.out -e input.program.err
> ../run_base_ref_gcc43-64bit.0000/bzip2_base.gcc43-64bit input.program 280
> -o text.html.out -e text.html.err
> ../run_base_ref_gcc43-64bit.0000/bzip2_base.gcc43-64bit text.html 280
> -o input.combined.out -e input.combined.err
> ../run_base_ref_gcc43-64bit.0000/bzip2_base.gcc43-64bit input.combined 200""
>
> what does these mean  "-E , -c , -o" in the file  speccmds.cmd?
>
> ///////////////////////////////
>
> According to the file ""speccmds.cmd""  in "
> cpu2006/benchspec/CPU2006/401.bzip2/run/ run_base_ref_gcc43-64bit.0000", the
> bzip2  built with  6 input( input.source , chicken.jpg , liberty.jpg ,
> input.program , text.html , input.combined )  , should I use 6 input(
> input.source , chicken.jpg , liberty.jpg , input.program , text.html ,
> input.combined ) for running bzip2 on gem5-fullsystem-arm or just use
> input.combined for input of  bzip2?
>
>   /////////////////
>
> What arguments are usually used to implement the "spec cpu 2006" on
> gem5-fullsysytem and how should they be used?
>
>
> When I ran 401.bzip2 ,it finished after 10days.  I need to  know between
> "429.mcf, 445.gobmk, 
> 456.hmmer,458.sjeng,462.libquantum,473.astar,483.xalancbmk
> and 998.specrand"",Which one runs in 10 short days?
>
> /////////////
>
> and Is it not problem , if I use 4cores and cpu-type=DerivO3CPU for
> running "spec cpu 2006" on gem5-fullsystem ?
>
>
> For the last question, if I use sript file for running  bzip2 on
> gem5-fullsystem   the following command, is it correct?
>
>
>
> #!/bin/sh
> cd /cpu2006/benchspec/CPU2006/401.bzip2/run/ run_base_ref_gcc43-64bit.0000
> /sbin/m5 resetstats
> /cpu2006/benchspec/CPU2006/401.bzip2/run/ run_base_ref_gcc43-64bit.0000
> /bzip2_base.gcc43-64bit   input.combined  200  >  input.combined.out  2 >
> input.combined.err
> /sbin/m5 exit
>
>
> Best regards.
>
>
>
>
>
>
>
>
>
>
> On Sun, Dec 20, 2020 at 1:16 PM Ayaz Akram <yazak...@ucdavis.edu> wrote:
>
>> Hi,
>>
>> The output you are seeing indicates a successful bzip run. As far as I
>> remember bzip binary inside run folder (the one you referred to above) uses
>> "data/all/input/input.combined" file  by default and the output you are
>> seeing definitely shows that bzip ran with input.combined. If you want to
>> use a different input you can pass that as an argument to bzip. Having said
>> that, I think it is generally better to run spec workloads using runspec
>> tool. I think you can find more information on how to do it on SPEC website.
>>
>> -Ayaz
>>
>
_______________________________________________
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

Reply via email to