Hi

I am currently using Simpoint to make some application running checkpoints on 
SPEC2006. According to some guidance online, my steps are as following:

1. Running benchmark on gem5 in SE mode using options “--simpoint-profile 
--simpoint-interval 100000” to generate simpoint.bb.gz file

2. Running Simpoint options like this to generate test.simpoint and test.weight 
“-loadFVFile simpoint.bb.gz -maxK 30 -saveSimpoints test.simpoint 
-saveSimpointWeights test.weight -inputVectorsGzipped”

3. Rerun gem5 with options: 
“--take-simpoint-checkpoint=./445.gobmk-simpoint/test.simpoint,./445.gobmk-simpoint/test.weight,1000000,0
 ” to generate checkpoint like: 
“cpt.simpoint_00_inst_1000000_weight_0.193939_interval_1000000_warmup_0”

4. Restore using checkpoint generate by step 3 using options: 
“--restore-simpoint-checkpoint -r 2 --checkpoint-dir ./445.gobmk-simpoint \\“

My problem is I can run Step1-3 successfully and checkpoints of the benchmark 
is generated.

However, when I try running Step4 with whichever checkpoint, the simulation 
process just terminate after execution of ONLY 1 INSTRUCTION, here’s the output:

```
Resuming from 
./445.gobmk-simpoint/cpt.simpoint_04_inst_90000000_weight_0.018182_interval_1000000_warmup_0
```

```
Resuming from SimPoint #4, start_inst:90000000, weight:0.018182, 
interval:1000000, warmup:0
```

```
Global frequency set at 1000000000000 ticks per second
```

```
warn: No dot file generated. Please install pydot to generate the dot file and 
pdf.
```

```
src/mem/dram_interface.cc:690: warn: DRAM device capacity (8192 Mbytes) does 
not match the address range assigned (512 Mbytes)
```

```
src/arch/riscv/isa.cc:275: info: RVV enabled, VLEN = 256 bits, ELEN = 64 bits
```

```
src/base/statistics.hh:279: warn: One of the stats is a legacy stat. Legacy 
stat is a stat that does not belong to any statistics::Group. Legacy stat is 
deprecated.
```

```
system.remote_gdb: Listening for connections on port 7003
```

```
src/sim/process.cc:396: warn: Checkpoints for pipes, device drivers and sockets 
do not work.
```

```
Switch at curTick count:10000
```

```
src/sim/simulate.cc:199: info: Entering event queue @ 58886401000.  Starting 
simulation...
```

```
Switched CPUS @ tick 58886401500
```

```
switching cpus
```

```
src/sim/simulate.cc:199: info: Entering event queue @ 58886401500.  Starting 
simulation...
```

```
src/sim/power_state.cc:105: warn: PowerState: Already in the requested power 
state, request ignored
```

```
src/sim/simulate.cc:199: info: Entering event queue @ 58886402000.  Starting 
simulation...
```

```
Warmed up! Dumping and resetting stats!
```

```
src/sim/simulate.cc:199: info: Entering event queue @ 58886402500.  Starting 
simulation...
```

Exiting @ tick 58886411000 because simulate() limit reached



As shown above, simulation ENCOUNTER EXITEVENT immediately after entering 
eventq and stats.txt shows only 1 INSTRUCTION is done.

My Question is: Is there somthing wrong about my procedure or Did I do 
something wrong?

Im running under gem5v23.1, Simpoint 3.2 in RISCV arch.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to