summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-22 17:11:05 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-22 17:11:05 -0500
commit6adad879ebc6e5530591d7a1272b2471fde26f3d (patch)
tree6132bca5c1a60ff9838bf48942a0fe114a428dcd
parent20eada0aec9734ced5c3bd33c923ecf00f103380 (diff)
keep a copy of the files used for ludwig data processing
-rw-r--r--backup/event-driven-sched-outliers.txt36
-rwxr-xr-xbackup/make-model.sh38
-rwxr-xr-xbackup/make-plots.sh95
-rw-r--r--backup/pfair-aligned-sched-outliers.txt26
-rw-r--r--backup/pfair-staggered-sched-outliers.txt6
5 files changed, 201 insertions, 0 deletions
diff --git a/backup/event-driven-sched-outliers.txt b/backup/event-driven-sched-outliers.txt
new file mode 100644
index 0000000..bd5af99
--- /dev/null
+++ b/backup/event-driven-sched-outliers.txt
@@ -0,0 +1,36 @@
1P-FP, 1, 1
2P-FP, 2, 2
3P-FP, 3, 1
4P-FP, 3, 1
5P-FP, 5, 2
6P-FP, 6, 3
7P-FP, 7, 1
8P-FP, 8, 2
9P-FP, 9, 1
10P-FP, 12, 2
11P-FP, 13, 1
12P-FP, 14, 2
13P-FP, 16, 1
14P-FP, 17, 4
15P-FP, 18, 1
16P-FP, 20, 3
17P-FP-RM, 1, 1
18P-EDF, 1, 1
19P-EDF, 5, 1
20P-EDF, 6, 1
21P-EDF, 7, 1
22P-EDF, 15, 1
23P-EDF-RM, 8, 1
24P-EDF-RM, 17, 2
25C-EDF-L3, 8, 1
26C-EDF-L3, 3, 1
27C-EDF-L3-RM, 8, 2
28C-EDF-L3-RM, 9, 2
29C-EDF-L3-RM, 10, 1
30C-EDF-L3-RM, 14, 1
31C-EDF-L3-RM, 18, 1
32C-EDF-L2, 6, 1
33C-EDF-L2, 7, 1
34C-EDF-L2, 10, 3
35C-EDF-L2, 18, 1
36C-EDF-L2, 20, 1
diff --git a/backup/make-model.sh b/backup/make-model.sh
new file mode 100755
index 0000000..86dd4fe
--- /dev/null
+++ b/backup/make-model.sh
@@ -0,0 +1,38 @@
1
2SAMPLES_DIR=../../../Samples/cut/
3HOST=ludwig
4
5function run_analysis() {
6 ALGS=$1
7 FILE="host=${HOST}.csv"
8 OUT="${ALGS}/${FILE}"
9
10 SRC="${SAMPLES_DIR}/${ALGS}/"
11
12 echo "Running analysis $SRC -> $OUT"
13
14 # no filtering for SCHED2, RELEASE, and TICK
15 analyze -i 0 ${SRC}/*overhead=SCHED2.sbn > $OUT
16 analyze -i 0 ${SRC}/*overhead=RELEASE.sbn >> $OUT
17 analyze -i 0 ${SRC}/*overhead=TICK.sbn >> $OUT
18
19 # manual filtering for SCHED
20 analyze -i 0 -o "${SRC}/sched-outliers.csv" \
21 ${SRC}/*overhead=SCHED.sbn >> $OUT
22
23 # IQR with extent=12 for CXS, RELEASE-LATENCY, and SEND-RESCHEd
24 analyze -i 12 ${SRC}/*overhead={CXS,RELEASE-LATENCY,SEND-RESCHED}.sbn >> $OUT
25
26 cd $ALGS
27 extract-trends.sh "${FILE}"
28 cd ..
29}
30
31
32DIRS=$*
33
34while [ ! -z "$1" ]
35do
36 run_analysis $1
37 shift
38done
diff --git a/backup/make-plots.sh b/backup/make-plots.sh
new file mode 100755
index 0000000..c8c8e2b
--- /dev/null
+++ b/backup/make-plots.sh
@@ -0,0 +1,95 @@
1#!/bin/bash
2
3SAMPLES_DIR=../../../Samples/cut/
4MODEL_DIR=../../../Model/cut/final
5
6OPLOT=~/diss/sw/plot/oplot.py
7
8function plot_trends() {
9 ALGS=$1
10 SRC="${MODEL_DIR}/${ALGS}/"
11
12 echo "Plotting trends $SRC -> $ALGS/"
13
14 $OPLOT -p "$ALGS/" ${SRC}/otrend*.csv
15 rm $ALGS/*-RM_*RELEASE-LATENCY_*.pdf
16}
17
18function plot_ticks() {
19 $OPLOT -p event-driven/ -i 0 -x 7 -y 100000 ${SAMPLES_DIR}/event-driven/*overhead=TICK.sbn
20
21 $OPLOT -p pfair-aligned/ -i 0 -x 30 -y 120000 \
22 ${SAMPLES_DIR}/pfair-aligned/*scheduler=*{L2,L3}*_*overhead=TICK.sbn
23 $OPLOT -p pfair-aligned/ -i 0 -x 130 -b 2 -y 400000 \
24 ${SAMPLES_DIR}/pfair-aligned/*scheduler={PD2,PD2-RM}_*overhead=TICK.sbn
25
26 $OPLOT -p pfair-staggered/ -i 0 -x 15 -y 600000 ${SAMPLES_DIR}/pfair-staggered/*overhead=TICK.sbn
27}
28
29function plot_release() {
30 $OPLOT -p event-driven/ \
31 -i 0 -y 25000 -x 280 -b 4 \
32 ${SAMPLES_DIR}/event-driven/*scheduler=G-*_*overhead=RELEASE.sbn
33 $OPLOT -p event-driven/ \
34 -i 0 -y 45000 -x 60 -b 1 \
35 ${SAMPLES_DIR}/event-driven/*scheduler={P,C}-*_*overhead=RELEASE.sbn
36
37 $OPLOT -p pfair-aligned/ -i 0 -x 9 -y 70000 \
38 ${SAMPLES_DIR}/pfair-aligned/*overhead=RELEASE.sbn
39
40 $OPLOT -p pfair-staggered/ -i 0 -x 9 -y 70000 \
41 ${SAMPLES_DIR}/pfair-staggered/*overhead=RELEASE.sbn
42}
43
44
45function plot_sched() {
46 # manual filtering for SCHED
47 $OPLOT -o ${SAMPLES_DIR}/event-driven/sched-outliers.csv -p event-driven/ \
48 -i 0 -y 140000 -x 280 -b 4 \
49 ${SAMPLES_DIR}/event-driven/*scheduler=G-*_*overhead=SCHED.sbn
50 $OPLOT -o ${SAMPLES_DIR}/event-driven/sched-outliers.csv -p event-driven/ \
51 -i 0 -y 160000 -x 45 -b 1 \
52 ${SAMPLES_DIR}/event-driven/*scheduler={P,C}-*_*overhead=SCHED.sbn
53
54
55 $OPLOT -o ${SAMPLES_DIR}/pfair-aligned/sched-outliers.csv -p pfair-aligned/ \
56 -i 0 -x 130 -y 100000 -b 2 \
57 ${SAMPLES_DIR}/pfair-aligned/*scheduler={PD2,PD2-RM}_**overhead=SCHED.sbn
58 $OPLOT -o ${SAMPLES_DIR}/pfair-aligned/sched-outliers.csv -p pfair-aligned/ \
59 -i 0 -x 30 -y 30000 \
60 ${SAMPLES_DIR}/pfair-aligned/*scheduler=*{L2,L3}*_**overhead=SCHED.sbn
61
62 $OPLOT -o ${SAMPLES_DIR}/pfair-staggered/sched-outliers.csv -p pfair-staggered/ \
63 -i 0 -x 15 -y 140000 \
64 ${SAMPLES_DIR}/pfair-staggered/*overhead=SCHED.sbn
65}
66
67function plot_samples() {
68 ALGS=$1
69 SRC="${SAMPLES_DIR}/${ALGS}/"
70
71 echo "Plotting samples $SRC -> $ALGS/"
72
73 # no filtering for SCHED2, RELEASE, and TICK
74 $OPLOT -p "$ALGS/" -i 0 -x 15 -y 120000 ${SRC}/*overhead=SCHED2.sbn
75
76 # IQR with extent=12 for CXS, RELEASE-LATENCY, and SEND-RESCHEd
77 $OPLOT -p "$ALGS/" -i 12 -x 15 -y 70000 ${SRC}/*overhead=CXS.sbn
78 $OPLOT -p "$ALGS/" -i 12 -x 15 -y 40000 ${SRC}/*overhead=RELEASE-LATENCY.sbn
79 $OPLOT -p "$ALGS/" -i 12 -x 15 -y 90000 ${SRC}/*overhead=SEND-RESCHED.sbn
80
81 # remove noise
82 rm -f $ALGS/*-RM_*RELEASE-LATENCY.pdf
83}
84
85plot_trends event-driven
86plot_trends pfair-aligned
87plot_trends pfair-staggered
88
89plot_samples event-driven
90plot_samples pfair-aligned
91plot_samples pfair-staggered
92
93plot_ticks
94plot_sched
95plot_release
diff --git a/backup/pfair-aligned-sched-outliers.txt b/backup/pfair-aligned-sched-outliers.txt
new file mode 100644
index 0000000..6999a65
--- /dev/null
+++ b/backup/pfair-aligned-sched-outliers.txt
@@ -0,0 +1,26 @@
1PD2, 2, 1
2PD2, 6, 1
3PD2, 7, 1
4PD2, 8, 1
5PD2-RM, 11, 6
6PD2-RM, 17, 1
7PD2-RM, 4, 1
8PD2-L3, 1, 1
9PD2-L3, 2, 1
10PD2-L3, 3, 1
11PD2-L3, 4, 1
12PD2-L3, 13, 1
13PD2-L3, 14, 2
14PD2-L3, 15, 1
15PD2-L3, 17, 1
16PD2-L2, 1, 1
17PD2-L2, 4, 1
18PD2-L2, 5, 1
19PD2-L2, 7, 1
20PD2-L2, 8, 1
21PD2-L2, 9, 1
22PD2-L2, 10, 1
23PD2-L2, 12, 1
24PD2-L2, 13, 1
25PD2-L2, 16, 2
26PD2-L2, 17, 1
diff --git a/backup/pfair-staggered-sched-outliers.txt b/backup/pfair-staggered-sched-outliers.txt
new file mode 100644
index 0000000..c449fb3
--- /dev/null
+++ b/backup/pfair-staggered-sched-outliers.txt
@@ -0,0 +1,6 @@
1PD2, 1, 4
2PD2-L3, 4, 1
3PD2-L3, 5, 1
4PD2-L3, 6, 1
5PD2-L3, 15, 1
6PD2-L3-RM, 1, 1