-
Notifications
You must be signed in to change notification settings - Fork 0
/
after check point
50 lines (36 loc) · 1.65 KB
/
after check point
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
GEM5_DIR=$(pwd)/../gem5
IMG=$(pwd)/../resources/rootfs.ext2
VMLINUX=$(pwd)/../resources/vmlinux
Bootld=$(pwd)/../resources/boot.arm64
FS_CONFIG=$(pwd)/armFS.py
GEM5_EXE=$GEM5_DIR/build/ARM/gem5.opt
SCRIPT=$(pwd)/rcS/single/hack_back_ckpt.rcS
#/hack_back_ckpt.rcS
NNODES=2
$GEM5_EXE $FS_CONFIG \
--kernel=$VMLINUX \
--disk=$IMG \
--bootscript=$SCRIPT \
--bootloader=$Bootld \
--checkpoint-dir=neda \
--cpu=atomic \
--num-cores=8
7,8 50%
GEM5_DIR=$(pwd)/../gem5
IMG=$(pwd)/../resources/rootfs.ext2
VMLINUX=$(pwd)/../resources/vmlinux
Bootld=$(pwd)/../resources/boot.arm64
FS_CONFIG=$(pwd)/armFS.py
GEM5_EXE=$GEM5_DIR/build/ARM/gem5.opt
SCRIPT=$(pwd)/rcS/single/hello.rcS
#/hack_back_ckpt.rcS
NNODES=2
$GEM5_EXE $FS_CONFIG \
--kernel=$VMLINUX \
--disk=$IMG \
--bootscript=$SCRIPT \
--bootloader=$Bootld \
--restore \
--checkpoint-dir=neda \
--cpu=atomic \
--num-cores=8