diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-02-22 17:11:05 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-02-22 17:11:05 -0500 |
commit | 6adad879ebc6e5530591d7a1272b2471fde26f3d (patch) | |
tree | 6132bca5c1a60ff9838bf48942a0fe114a428dcd | |
parent | 20eada0aec9734ced5c3bd33c923ecf00f103380 (diff) |
keep a copy of the files used for ludwig data processing
-rw-r--r-- | backup/event-driven-sched-outliers.txt | 36 | ||||
-rwxr-xr-x | backup/make-model.sh | 38 | ||||
-rwxr-xr-x | backup/make-plots.sh | 95 | ||||
-rw-r--r-- | backup/pfair-aligned-sched-outliers.txt | 26 | ||||
-rw-r--r-- | backup/pfair-staggered-sched-outliers.txt | 6 |
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 @@ | |||
1 | P-FP, 1, 1 | ||
2 | P-FP, 2, 2 | ||
3 | P-FP, 3, 1 | ||
4 | P-FP, 3, 1 | ||
5 | P-FP, 5, 2 | ||
6 | P-FP, 6, 3 | ||
7 | P-FP, 7, 1 | ||
8 | P-FP, 8, 2 | ||
9 | P-FP, 9, 1 | ||
10 | P-FP, 12, 2 | ||
11 | P-FP, 13, 1 | ||
12 | P-FP, 14, 2 | ||
13 | P-FP, 16, 1 | ||
14 | P-FP, 17, 4 | ||
15 | P-FP, 18, 1 | ||
16 | P-FP, 20, 3 | ||
17 | P-FP-RM, 1, 1 | ||
18 | P-EDF, 1, 1 | ||
19 | P-EDF, 5, 1 | ||
20 | P-EDF, 6, 1 | ||
21 | P-EDF, 7, 1 | ||
22 | P-EDF, 15, 1 | ||
23 | P-EDF-RM, 8, 1 | ||
24 | P-EDF-RM, 17, 2 | ||
25 | C-EDF-L3, 8, 1 | ||
26 | C-EDF-L3, 3, 1 | ||
27 | C-EDF-L3-RM, 8, 2 | ||
28 | C-EDF-L3-RM, 9, 2 | ||
29 | C-EDF-L3-RM, 10, 1 | ||
30 | C-EDF-L3-RM, 14, 1 | ||
31 | C-EDF-L3-RM, 18, 1 | ||
32 | C-EDF-L2, 6, 1 | ||
33 | C-EDF-L2, 7, 1 | ||
34 | C-EDF-L2, 10, 3 | ||
35 | C-EDF-L2, 18, 1 | ||
36 | C-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 | |||
2 | SAMPLES_DIR=../../../Samples/cut/ | ||
3 | HOST=ludwig | ||
4 | |||
5 | function 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 | |||
32 | DIRS=$* | ||
33 | |||
34 | while [ ! -z "$1" ] | ||
35 | do | ||
36 | run_analysis $1 | ||
37 | shift | ||
38 | done | ||
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 | |||
3 | SAMPLES_DIR=../../../Samples/cut/ | ||
4 | MODEL_DIR=../../../Model/cut/final | ||
5 | |||
6 | OPLOT=~/diss/sw/plot/oplot.py | ||
7 | |||
8 | function 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 | |||
18 | function 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 | |||
29 | function 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 | |||
45 | function 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 | |||
67 | function 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 | |||
85 | plot_trends event-driven | ||
86 | plot_trends pfair-aligned | ||
87 | plot_trends pfair-staggered | ||
88 | |||
89 | plot_samples event-driven | ||
90 | plot_samples pfair-aligned | ||
91 | plot_samples pfair-staggered | ||
92 | |||
93 | plot_ticks | ||
94 | plot_sched | ||
95 | plot_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 @@ | |||
1 | PD2, 2, 1 | ||
2 | PD2, 6, 1 | ||
3 | PD2, 7, 1 | ||
4 | PD2, 8, 1 | ||
5 | PD2-RM, 11, 6 | ||
6 | PD2-RM, 17, 1 | ||
7 | PD2-RM, 4, 1 | ||
8 | PD2-L3, 1, 1 | ||
9 | PD2-L3, 2, 1 | ||
10 | PD2-L3, 3, 1 | ||
11 | PD2-L3, 4, 1 | ||
12 | PD2-L3, 13, 1 | ||
13 | PD2-L3, 14, 2 | ||
14 | PD2-L3, 15, 1 | ||
15 | PD2-L3, 17, 1 | ||
16 | PD2-L2, 1, 1 | ||
17 | PD2-L2, 4, 1 | ||
18 | PD2-L2, 5, 1 | ||
19 | PD2-L2, 7, 1 | ||
20 | PD2-L2, 8, 1 | ||
21 | PD2-L2, 9, 1 | ||
22 | PD2-L2, 10, 1 | ||
23 | PD2-L2, 12, 1 | ||
24 | PD2-L2, 13, 1 | ||
25 | PD2-L2, 16, 2 | ||
26 | PD2-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 @@ | |||
1 | PD2, 1, 4 | ||
2 | PD2-L3, 4, 1 | ||
3 | PD2-L3, 5, 1 | ||
4 | PD2-L3, 6, 1 | ||
5 | PD2-L3, 15, 1 | ||
6 | PD2-L3-RM, 1, 1 | ||