-
Notifications
You must be signed in to change notification settings - Fork 0
/
rundmc.sh
executable file
·60 lines (52 loc) · 1.29 KB
/
rundmc.sh
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
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
#./cache astar 64 1 1024 1 4
#./cache astar 64 1 2048 1 4
#./cache astar 64 1 4096 1 4
#echo ""
#./cache astar 64 1 1024 1 8
#./cache astar 64 1 2048 1 8
#./cache astar 64 1 4096 1 8
#echo ""
#./cache bzip2 64 1 1024 1 4
#./cache bzip2 64 1 2048 1 4
#./cache bzip2 64 1 4096 1 4
#echo ""
#./cache bzip2 64 1 1024 1 8
#./cache bzip2 64 1 2048 1 8
#./cache bzip2 64 1 4096 1 8
echo "Victim buffer test 1,2,4,8"
make CFLAGS=-DVICTIMCACHE lru
./cache astar 64 1 2048 1 1
./cache astar 64 1 2048 1 2
./cache astar 64 1 2048 1 4
./cache astar 64 1 2048 1 8
echo ""
./cache bzip2 64 1 2048 1 1
./cache bzip2 64 1 2048 1 2
./cache bzip2 64 1 2048 1 4
./cache bzip2 64 1 2048 1 8
echo ""
echo "Stream buffer test 1,2,4,8"
make CFLAGS=-DSTREAMBUFFER lru
./cache astar 64 1 2048 1
./cache astar 64 1 2048 2
./cache astar 64 1 2048 4
./cache astar 64 1 2048 8
echo ""
./cache bzip2 64 1 2048 1
./cache bzip2 64 1 2048 2
./cache bzip2 64 1 2048 4
./cache bzip2 64 1 2048 8
echo ""
echo "Combined buffer test 1,2,4,8"
make CFLAGS=-DVICTIMCACHE CFLAGS+=-DSTREAMBUFFER lru
./cache astar 64 1 2048 1 1
./cache astar 64 1 2048 1 2
./cache astar 64 1 2048 1 4
./cache astar 64 1 2048 1 8
echo ""
./cache bzip2 64 1 2048 1 1
./cache bzip2 64 1 2048 1 2
./cache bzip2 64 1 2048 1 4
./cache bzip2 64 1 2048 1 8
echo ""