aboutsummaryrefslogtreecommitdiff
path: root/contrib/iperf3.gp
diff options
context:
space:
mode:
authorBrian Tierney <bltierney@lbl.gov>2015-12-15 15:26:55 -0800
committerBrian Tierney <bltierney@lbl.gov>2015-12-15 15:26:55 -0800
commitc50b5ea849ca07ca3d27d46dcb200f67ba7e6b81 (patch)
tree295766401fade0dea183849e6952ae215ce98f19 /contrib/iperf3.gp
parent224ae8c764cb9ff86a55d9a7ad8612b3644d42b1 (diff)
downloadiperf3-c50b5ea849ca07ca3d27d46dcb200f67ba7e6b81.tar.gz
adding scripts to generate gnuplots from iperf3 data
Diffstat (limited to 'contrib/iperf3.gp')
-rw-r--r--contrib/iperf3.gp37
1 files changed, 37 insertions, 0 deletions
diff --git a/contrib/iperf3.gp b/contrib/iperf3.gp
new file mode 100644
index 0000000..0bf49ea
--- /dev/null
+++ b/contrib/iperf3.gp
@@ -0,0 +1,37 @@
+#
+# sample Gnuplot command file for iperf3 results
+set term x11
+#set term png
+#set term postscript landscape color
+set key width -12
+
+# iperf3 data fields
+#start bytes bits_per_second retransmits snd_cwnd
+
+set output "iperf3.png"
+#set output "iperf3.eps"
+
+#set nokey
+
+set grid xtics
+set grid ytics
+set grid linewidth 1
+set title "TCP performance: 40G to 10G host"
+set xlabel "time (seconds)"
+set ylabel "Bandwidth (Gbits/second)"
+set xrange [0:60]
+set yrange [0:15]
+set ytics nomirror
+set y2tics
+set y2range [0:2500]
+# dont plot when retransmits = 0
+set datafile missing '0'
+set pointsize 1.6
+
+plot "40Gto10G.old.dat" using 1:3 title '3.10 kernel' with linespoints lw 3 pt 5, \
+ "40Gto10G.new.dat" using 1:3 title '4.2 kernel' with linespoints lw 3 pt 7, \
+ "40Gto10G.old.dat" using 1:4 title 'retransmits' with points pt 7 axes x1y2
+
+#plot "iperf3.old.dat" using 1:3 title '3.10 kernel' with linespoints lw 3 pt 5, \
+# "iperf3.new.dat" using 1:3 title '4.2 kernel' with linespoints lw 3 pt 7
+