• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# sample Gnuplot command file for iperf3 results
3set term x11
4#set term png
5#set term postscript landscape color
6set key width -12
7
8# iperf3 data fields
9#start bytes bits_per_second retransmits snd_cwnd
10
11set output "iperf3.png"
12#set output "iperf3.eps"
13
14#set nokey
15
16set grid xtics
17set grid ytics
18set grid linewidth 1
19set title "TCP performance: 40G to 10G host"
20set xlabel "time (seconds)"
21set ylabel "Bandwidth (Gbits/second)"
22set xrange [0:60]
23set yrange [0:15]
24set ytics nomirror
25set y2tics
26set y2range [0:2500]
27# dont plot when retransmits = 0
28set datafile missing '0'
29set pointsize 1.6
30
31plot "40Gto10G.old.dat" using 1:3 title '3.10 kernel' with linespoints lw 3 pt 5, \
32	 "40Gto10G.new.dat" using 1:3 title '4.2 kernel' with linespoints lw 3 pt 7, \
33 	 "40Gto10G.old.dat" using 1:4 title 'retransmits' with points pt 7 axes x1y2
34
35#plot "iperf3.old.dat" using 1:3 title '3.10 kernel' with linespoints lw 3 pt 5, \
36#	 "iperf3.new.dat" using 1:3 title '4.2 kernel' with linespoints lw 3 pt 7
37
38