[gem5-users] SPEC2017 FS Simulation - Using KVM up to the point when the benchmarks finally run

2023-04-17 Thread Farbin Fayza via gem5-users
Hello, I'm using the x86-spec-cpu2017-benchmarks.py config file to run spec2017 benchmarks. I followed this tutorial https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/spec-2017/ for building the spec disk image. Currently, the linux booting is done with KVM CPU and the

[gem5-users] Re: SPEC2017 Calculating CPI

2023-04-13 Thread Farbin Fayza via gem5-users
; So, whenever atomic cpu resume from checkpoint, it counts from that point. > I hope this is what you were looking for. This can probably make to the > mainline gem5 if my understanding of the issue is correct. > > Best, > Heng > > On Apr 12, 2023, at 15:40, Farbin Fayza via g

[gem5-users] SPEC2017 Calculating CPI

2023-04-12 Thread Farbin Fayza via gem5-users
Hi, I'm running SPEC2017 benchmark in full-system mode using the configs/example/gem5_library/x86-spec-cpu2017-benchmarks.py config file. In the outputs m5/stats.txt, there's no system.cpu.cpi metric mentioned. So, to calculate the CPI, I tried dividing board.processor.switch0.core.numCycles by

[gem5-users] Re: SPEC2017 - Most of the metrics in m5.out/stats.txt are 0 or undefined

2023-04-12 Thread Farbin Fayza via gem5-users
ublic/gem5? Thanks, Farbin. On Fri, Apr 7, 2023 at 10:12 PM Eliot Moss wrote: > On 4/7/2023 10:05 PM, Farbin Fayza via gem5-users wrote: > > Could you kindly tell me if there's any way to run the gem5 simulation > faster using multiple cores? > > Is it possible while w

[gem5-users] Re: SPEC2017 - Most of the metrics in m5.out/stats.txt are 0 or undefined

2023-04-14 Thread Farbin Fayza via gem5-users
; >> Thanks, >> Farbin. >> >> >> On Fri, Apr 7, 2023 at 10:12 PM Eliot Moss wrote: >> >>> On 4/7/2023 10:05 PM, Farbin Fayza via gem5-users wrote: >>> > Could you kindly tell me if there's any way to run the gem5 simulation >>> faste

[gem5-users] Re: SPEC2017 FS Simulation - Using KVM up to the point when the benchmarks finally run

2023-04-19 Thread Farbin Fayza via gem5-users
enchmark application. Here is the note I took for doing > that: https://github.com/studyztp/some-notes/blob/main/m5op-specinvoke.md > > Best, > Zhantong > > > > On Mon, Apr 17, 2023 at 8:02 AM Farbin Fayza via gem5-users < > gem5-users@gem5.org> wrote: > >>

[gem5-users] How to use the argument warmup-insts?

2023-04-19 Thread Farbin Fayza via gem5-users
Hi, could anyone tell me how to use the option warm-up insts? I found this option in configs/common/Options.py line 612 parser.add_argument( "-W", "--warmup-insts", action="store", type=int, default=None, help="Warmup period in total instructions (requires --standard-switch)", ) But I'm not sure

[gem5-users] Re: SPEC2017 - Most of the metrics in m5.out/stats.txt are 0 or undefined

2023-04-07 Thread Farbin Fayza via gem5-users
gt;> >>> I would expect these benchmarks (with test input) to take days to >>> simulate completely. The actual simulation time would depend on the CPU >>> type you are simulating and the hardware platform where the simulations are >>> run. I think for Timing/Minor CPU you can

[gem5-users] Re: SPEC2017 - Most of the metrics in m5.out/stats.txt are 0 or undefined

2023-04-07 Thread Farbin Fayza via gem5-users
e benchmarks (with test input) to take days to >> simulate completely. The actual simulation time would depend on the CPU >> type you are simulating and the hardware platform where the simulations are >> run. I think for Timing/Minor CPU you can expect a simulation rate of >> 40

[gem5-users] Setting the maxinsts after warm-up period for running SPEC2017 in full-system mode

2023-04-10 Thread Farbin Fayza via gem5-users
Hello, Could anyone tell me how to set the max number of instructions to run after the warm-up period? I'm not sure how to make the relevant change in the x86-spec-cpu2017-benchmarks.py file. Or, is it possible to do this with command-line arguments? Thanks, Farbin.

[gem5-users] Re: Setting the maxinsts after warm-up period for running SPEC2017 in full-system mode

2023-04-11 Thread Farbin Fayza via gem5-users
ot;processor.switch()". > > You might also have to append something like "ExitEvent.SCHEDULED_TICK: > handle_exit()" to "ExitEvent.EXIT: handle_exit()," in line ~300 of the same > file. > > Hope I helped! > Humza Ikram > -- > *F

[gem5-users] Re: SPEC2017 - Most of the metrics in m5.out/stats.txt are 0 or undefined

2023-04-06 Thread Farbin Fayza via gem5-users
of these are fixed in the spec-2006 benchmarks file (link below) in > the develop branch and you could try moving them over to the spec-2017 > benchmarks file. > > https://gem5.googlesource.com/public/gem5/+/refs/heads/develop/configs/example/gem5_library/x86-spec-cpu2006-benchmarks.py >

[gem5-users] SPEC2017 - Most of the metrics in m5.out/stats.txt are 0 or undefined

2023-04-05 Thread Farbin Fayza via gem5-users
Hi, I'm trying to run spec2017 benchmark in full system mode with gem5. I followed this tutorial to build the disk image file for spec https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/spec-2017/ . The only difference with the tutorial is that I have spec version, 1.1.9