[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-tasks/master] [2714] Graph absolute instability of the HSDir set



commit 93aa1f07c24126a086505efa06621916eac02bab
Author: Robert Ransom <rransom.8774@xxxxxxxxx>
Date:   Sun May 29 04:08:19 2011 -0700

    [2714] Graph absolute instability of the HSDir set
---
 task-2714/README                                   |    1 +
 task-2714/graph-hsdir-set-absolute-instability     |    9 +++++++++
 .../graph-hsdir-set-absolute-instability.gnuplot   |   12 ++++++++++++
 3 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/task-2714/README b/task-2714/README
index 4283696..f75f70a 100644
--- a/task-2714/README
+++ b/task-2714/README
@@ -22,6 +22,7 @@ Instructions:
     ./generate-consensus-hsdir-lists
     ./compute-hsdir-set-instability
     ./graph-hsdir-set-instability
+    ./graph-hsdir-set-absolute-instability
 
 Bugs:
 
diff --git a/task-2714/graph-hsdir-set-absolute-instability b/task-2714/graph-hsdir-set-absolute-instability
new file mode 100755
index 0000000..06c31a4
--- /dev/null
+++ b/task-2714/graph-hsdir-set-absolute-instability
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+# This script must be run as ./graph-hsdir-set-instability .
+
+gnuplot >out/hsdir-set-absolute-instability-graph.ps <<EOF
+set terminal postscript color solid
+load "graph-hsdir-set-absolute-instability.gnuplot"
+EOF
+
diff --git a/task-2714/graph-hsdir-set-absolute-instability.gnuplot b/task-2714/graph-hsdir-set-absolute-instability.gnuplot
new file mode 100644
index 0000000..ee7f088
--- /dev/null
+++ b/task-2714/graph-hsdir-set-absolute-instability.gnuplot
@@ -0,0 +1,12 @@
+
+set xdata time
+set timefmt "%Y-%m-%d-%H-%M-%S"
+set format x "%Y-%m-%d"
+set xrange ["2011-01-01-00-00-00":]
+
+plot "out/hsdir-set-instability" using 1:(0):2 with lines title "HSDir set size",\
+     "out/hsdir-set-instability" using 1:(0):6 with filledcurves title "4 hr",\
+     "out/hsdir-set-instability" using 1:(0):5 with filledcurves title "3 hr",\
+     "out/hsdir-set-instability" using 1:(0):4 with filledcurves title "2 hr",\
+     "out/hsdir-set-instability" using 1:(0):3 with filledcurves title "1 hr"
+



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits