Skip to content

Commit

Permalink
Added some analysis of SFQRED over wireless
Browse files Browse the repository at this point in the history
It's good.
  • Loading branch information
Dave Taht committed Jan 10, 2012
1 parent 4a6653c commit 416a5de
Show file tree
Hide file tree
Showing 13 changed files with 29,713 additions and 0 deletions.
42 changes: 42 additions & 0 deletions test/newsfqred/Makefile
@@ -0,0 +1,42 @@
# convert ping format to something gnuplot can deal with

%.data : %.ping
./parse $< > $@

# FIXME - output pngs
GNUPLOT = /usr/bin/gnuplot
GNUPLOTI = /usr/bin/gnuplot
PAUSE=pause.plt
PNGOUT=png.plt
PSOUT=ps.plt

OBJ:=$(wildcard *.data)
PNG:=$(OBJ:.data=.png)
PS:=$(OBJ:.data=.ps)
GRAPHS:=$(wildcard *.ps *.png)

logscale=ericpinglog.plt
normscale=ericping.plt

all: $(OBJ) ping.png ping.ps ping_log.ps ping_log.png

pingl: $(OBJ)
cat $(logscale) $(PAUSE) | $(GNUPLOTI)

ping: $(OBJ)
cat $(normscale) $(PAUSE) | $(GNUPLOTI)

ping_log.png: $(OBJ)
cat $(PNGOUT) $(logscale) | $(GNUPLOT) > ping_log.png

ping.png: $(OBJ)
cat $(PNGOUT) $(normscale) | $(GNUPLOT) > ping.png

ping_log.ps: $(OBJ)
cat $(PSOUT) $(logscale) | $(GNUPLOT) > ping_log.ps

ping.ps: $(OBJ)
cat $(PSOUT) $(normscale) | $(GNUPLOT) > ping.ps

clean: $(OBJ)
rm -f $(PS) $(PNG) $(GRAPHS)
1 change: 1 addition & 0 deletions test/newsfqred/eps.plt
@@ -0,0 +1 @@
set terminal eps nocrop enhanced font arial 8 size 1000,1000
8 changes: 8 additions & 0 deletions test/newsfqred/ericping.plt
@@ -0,0 +1,8 @@
set title "5ghz Wireless Latency distribution of fping -b 220\n10ms period vs 50 iperfs \nREDSFQ"
set timestamp bottom
set key on inside bottom box title 'PING RTT'
set yrange [0:1]
set xrange [4:80]
set ylabel 'Probability'
set xlabel 'RTT MS'
plot 'fpingsample.data' u 2:(1./4281.) smooth cumulative title 'Wireless Latency under load'
9 changes: 9 additions & 0 deletions test/newsfqred/ericpinglog.plt
@@ -0,0 +1,9 @@
set title "Wireless 5ghz Latency of ping vs 50 iperf\n SFQRED"
set timestamp bottom
set key on inside bottom box title 'PING RTT (log scale)'
set yrange [0.05:240]
set xrange [1:10000]
set logscale y 10
set ylabel 'RTT MS'
set xlabel 'TIME'
plot 'fpingflows.data' u 2 title '10000 fpings'

0 comments on commit 416a5de

Please sign in to comment.