Hello,
I want to generate checkpoints by already-generated simpoint file. The
simpoint file is generated by Valgrind and the format is identical to the
required format in SimPoint. SimPoint file of SPEC CPU2006 benchmark: gcc
is shown as follows:
23 0
4 1
21 2
28 3
12 4
9 5
29 6
8 7
1 8
17 9
18 11
20 12
15 13
10 14
22 15
5 17
27 18
14 19
I then follow the procedure from the wiki page.
1. Boot up MARSSx86 and then create checkpoints of gcc.
qemu/qemu-system-x86_64 -m 8G CPU2006.qcow2
./create_checkpoint gcc; <gcc_exe>; ./stop_sim;
2. Reboot MARSSx86 by the newly created checkpoint gcc
qemu/qemu-system-x86_64 -m 8G -snapshot -loadvm 16 -simconfig simconfig
-hda CPU2006.qcow2
The content of simconfig file is as follows:
-simpoint gcc_train.simpoint
-simpoint-interval 100M
-simpoint-chk-name sp_gcc_train
-machine single_core
After the procedure mentioned above, there are some messages shown on the
terminal:
MARSSx86::Creating checkpoint sp_gcc_train_sp_17
MARSSx86::Checkpoint sp_gcc_train_sp_17 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_7
MARSSx86::Checkpoint sp_gcc_train_sp_7 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_5
MARSSx86::Checkpoint sp_gcc_train_sp_5 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_14
MARSSx86::Checkpoint sp_gcc_train_sp_14 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_4
MARSSx86::Checkpoint sp_gcc_train_sp_4 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_19
MARSSx86::Checkpoint sp_gcc_train_sp_19 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_13
MARSSx86::Checkpoint sp_gcc_train_sp_13 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_9
MARSSx86::Checkpoint sp_gcc_train_sp_9 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_11
MARSSx86::Checkpoint sp_gcc_train_sp_11 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_12
MARSSx86::Checkpoint sp_gcc_train_sp_12 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_2
MARSSx86::Checkpoint sp_gcc_train_sp_2 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_15
MARSSx86::Checkpoint sp_gcc_train_sp_15 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_0
MARSSx86::Checkpoint sp_gcc_train_sp_0 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_18
MARSSx86::Checkpoint sp_gcc_train_sp_18 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_3
MARSSx86::Checkpoint sp_gcc_train_sp_3 created
MARSSx86::Creating checkpoint sp_gcc_train_sp_6
MARSSx86::Checkpoint sp_gcc_train_sp_6 created
PTLCALL type PTLCALL_ENQUEUE
MARSSx86::Command received : -stop
I think this means that the desired checkpoints are already generated.
However, when I check the checkpoints of my disk image using
qemu/qemu-img snapshot -l CPU2006.qcow2
There's no checkpoint with the name listed on the terminal.
I even use the method answered in this website:
https://www.mail-archive.com/[email protected]/msg01064.html
The results are the same as using qemu/qemu-img snapshot -l CPU2006.qcow2
The results are shown as follows:
image: CPU2006.qcow2
file format: qcow2
virtual size: 22G (24000000000 bytes)
disk size: 11G
cluster_size: 65536
Snapshot list:
7 perlbench 321M 2015-09-29 21:41:37 00:03:27.378
8 bzip2 321M 2015-09-29 21:50:42 00:04:20.362
9 gcc 321M 2015-09-29 22:10:05 00:02:42.525
10 mcf 321M 2015-09-29 22:19:16 00:02:12.994
11 gobmk 321M 2015-09-29 22:28:04 00:03:59.620
12 gamess 320M 2015-09-29 22:36:46 00:04:28.975
13 milc 324M 2015-09-29 22:45:25 00:03:18.760
14 gromacs 321M 2015-09-29 23:18:50 00:02:47.807
15 soplex 321M 2015-09-29 23:26:07 00:03:24.166
16 gcc_train 322M 2015-10-22 17:02:03 00:03:38.143
My question is where are the checkpoints file created from SimPoint?
Moreover, how can I use these checkpoints to run the simulation?
I've only used one checkpoint to run the simulation and have not tried
running simulation with multiple checkpoints.
Thank you for reading my long questions and sorry to waste your valuable
time. Hope you could help me with my problem. I would be very appreciate
with the help.
Thanks in advance!
Regards,
Taresa
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel