Hi All,
I'm trying to use the run_bench.py script with the checkpoint_after.c script
to create checkpoints.
I'm using the Ubuntu-Natty.qcow2 image with the checkpoint_Afer.c script as
follows:
./FFT & ./checkpoint_After 1M First_Checkpoint
This is my utils file:
[DEFAULT]
marss_dir = /home/max/marrs/
util_dir = /home/max/marss/util/
img_dir = /home/max/DiskImage/
qemu_bin = /home/max/marss/qemu/qemu-system-x86_64
default_simconfig = -kill-after-run -quiet
[suite FFT]
checkpoints = First_Checkpoint
[email]
xoauth = something.txt
to = a991852 <at> hotmail.com
[run FFT_Final]
suite = FFT
images = /home/max/DiskImage/ubuntu-natty.qcow2
memory = 2G
simconfig = -logfile %(out_dir)s/%(bench)s.log
-stats %(out_dir)s/%(bench)s.yml
-machine atom_single_core
-stopinsns 1M
%(default_simconfig)s
However, when I tried running the script, it would generate a empty yml
file, this is the log file:
//
// MARSS: Cycle Accurate Systems simulator for x86
// Copyright 1999-2007 Matt T. Yourst <yourst <at> yourst.com>
// Copyright 2009-2011 Avadh Patel <avadh4all <at> gmail.com>
//
// Git branch 'master' on date Thu Apr 25 14:22:48 2013 (HEAD: ba6717)
// Built May 7 2013 21:34:40 on BUILDHOST using gcc-4.7
// With 1 simulated cores
// Running on max-virtual-machine.(none)
//
Active parameters:
-help disabled
-run enabled
-stop disabled
-kill disabled
-flush disabled
-quiet enabled
-logfile /home/max/marss/run/results/First_Checkpoint.log
-loglevel 0
-startlog 0
-startlogrip 18446744073709551615
-consolelog disabled
-logbufsize 524288
-logfilesize 67108864
-dump-state-now disabled
-screenshot
-log-user-only disabled
-dump-config-file
-stats /home/max/marss/run/results/First_Checkpoint.yml
-yamlstats /home/max/marss/run/results/First_Checkpoint.yml
-stats-format yaml
-snapshot-cycles infinity
-snapshot-now
-time-stats-logfile
-time-stats-period 10000
-startrip 18446744073709551615
-fast-fwd-insns 0
-fast-fwd-user-insns 0
-fast-fwd-checkpoint
-stopinsns 1 M
-stopcycle infinity
-stopiter infinity
-stoprip 18446744073709551615
-stop-at-marker infinity
-stop-at-marker-hits infinity
-stopinsns-rel infinity
-bbinsns 65536
-flushevery infinity
-kill-after-run enabled
-event-record
-event-record-stop disabled
-event-replay
-corefreq 0
-enable-checker disabled
-checker-startrip 18446744073709551615
-perfect-cache disabled
-dumpcode test.dat
-dump-at-end disabled
-bbdump
-verify-cache disabled
-machine atom_single_core
-enable-mongo disabled
-mongo-server 127.0.0.1
-mongo-port 27017
-bench-name
-tags
-run-tests disabled
-execute-after-kill
-sync 0
-simpoint
-simpoint-interval 10 M
-simpoint-chk-name simpoint
Configuration changed: Active parameters:
-help disabled
-run enabled
-stop disabled
-kill disabled
-flush disabled
-quiet enabled
-logfile /home/max/marss/run/results/First_Checkpoint.log
-loglevel 0
-startlog 0
-startlogrip 18446744073709551615
-consolelog disabled
-logbufsize 524288
-logfilesize 67108864
-dump-state-now disabled
-screenshot
-log-user-only disabled
-dump-config-file
-stats /home/max/marss/run/results/First_Checkpoint.yml
-yamlstats /home/max/marss/run/results/First_Checkpoint.yml
-stats-format yaml
-snapshot-cycles infinity
-snapshot-now
-time-stats-logfile
-time-stats-period 10000
-startrip 18446744073709551615
-fast-fwd-insns 0
-fast-fwd-user-insns 0
-fast-fwd-checkpoint
-stopinsns 1 M
-stopcycle infinity
-stopiter infinity
-stoprip 18446744073709551615
-stop-at-marker infinity
-stop-at-marker-hits infinity
-stopinsns-rel infinity
-bbinsns 65536
-flushevery infinity
-kill-after-run enabled
-event-record
-event-record-stop disabled
-event-replay
-corefreq 3092 M
-enable-checker disabled
-checker-startrip 18446744073709551615
-perfect-cache disabled
-dumpcode test.dat
-dump-at-end disabled
-bbdump
-verify-cache disabled
-machine atom_single_core
-enable-mongo disabled
-mongo-server 127.0.0.1
-mongo-port 27017
-bench-name
-tags
-run-tests disabled
-execute-after-kill
-sync 0
-simpoint
-simpoint-interval 10 M
-simpoint-chk-name simpoint
Initializing core 'base'
atom_#
# Simulated Machine Configuration
#
---
machine:
name: atom_single_core
cpu_contexts: 1
freq: 3092000000
atom_0:
type: core
threads: 1
fetch_q_size: 7
forward_buf_size: 32
itlb_size: 32
dtlb_size: 32
total_FUs: 6
int_FUs: 2
fp_FUs: 2
agu_FUs: 2
frontend_stages: 6
forward_buf_size: 32
commit_buf_size: 32
fetch_width: 2
issue_width: 2
max_branch_in_flight: 6
per_thread:
dispatch_q_size: 16
store_buf_size: 16
core_0_cont:
# This is a software related structure which has no relevence to any
hardware module.
type: core_controller
pending_queue_size: 128
icache_buffer_size: 32
L1_I_0:
type: cache
size: 32768
sets: 128
ways: 4
line_size: 64
latency: 2
pending_queue_size: 128
config: writeback
L1_D_0:
type: cache
size: 32768
sets: 64
ways: 8
line_size: 64
latency: 4
pending_queue_size: 128
config: writeback
L2_0:
type: cache
size: 262144
sets: 512
ways: 8
line_size: 64
latency: 6
pending_queue_size: 128
config: writeback
L3_0:
type: cache
size: 12582912
sets: 12288
ways: 16
line_size: 64
latency: 27
pending_queue_size: 256
coherence: MESI
MEM_0:
type: dram_cont
RAM_size: 2147483648
number_of_banks: 64
latency: 166
latency_ns: 53.6869
pending_queue_size: 128
p2p_core_L1_I_0:
type: interconnect
latency: 0
p2p_core_L1_D_0:
type: interconnect
latency: 0
p2p_L1_I_L2_0:
type: interconnect
latency: 0
p2p_L1_D_L2_0:
type: interconnect
latency: 0
p2p_L3_0_MEM_00:
type: interconnect
latency: 0
split_bus_00:
type: interconnect
latency: 6
arbitrate_latency: 1
per_cont_queue_size: 16
# End Machine Configuration
Dumped all machine configuration
Start logging at level 0 in cycle 0
Completed 0 cycles, 0 commits: 0 Hz,
0 insns/sec: rip 00000000fffffff0
assit_ljmp: csbase: 4294963200 eip: 57435
It will not complete any clock cycle, and commits nothing.
UPDATE: This is my qemu-img -info
max@max-virtual-machine:~/marss$ qemu-img info
/home/max/DiskImage/ubuntu-natty.qcow2
image: /home/max/DiskImage/ubuntu-natty.qcow2
file format: qcow2
virtual size: 22G (24000000000 bytes)
disk size: 1.1G
cluster_size: 65536
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 One 123M 2013-05-14 23:10:37 00:22:20.418
2 First 78M 2013-05-15 19:40:59 00:01:36.193
3 First_Fix 77M 2013-05-15 20:53:55 00:08:11.973
4 First_Fix_Again 77M 2013-05-15 21:23:43 00:01:21.398
5 something 77M 2013-05-15 23:33:03 00:01:18.534
6 First_Checkpoint 77M 2013-05-16 00:29:33 00:02:30.877
7 checkpoint_one 76M 2013-05-16 02:49:12 00:01:44.837
I created checkpoints by using:
./FFT & ./checkpoint_after 1M hello
or
./checkpoint_after 1M hello ; ./FFT ; ./stop_sim (appeared in micro 2012)
Then running the run_bench.py with the checkpoint appeared as above, but it
doesn't work.
Does anyone know why this happens?
Thanks
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel