# file to plot iperf3 results for file 10.3.33.12:5_both-sum-1 set term png noenhanced size 600, 350 set key font ',10' set macro set grid xtics set grid ytics set key width -12 set label "Data Dir: corsa.9MB.loop " at character .5,.5 font ",9" set title "Throughput: Sum of 16 parallel streams; bbr vs cubic; overlapped \n nersc-tbn-1 to 10.3.33.12 \n 10Gbps host to 10Gbps host, rtt = 88.0ms" stats "pscheduler_both_p16_bbr1/10.3.33.12:5.all.dat" using 1:2 nooutput prefix "all1" stats "pscheduler_both_p16_bbr1/10.3.33.12:5.all.sum.dat" using 3:4 nooutput prefix "all2" stats "pscheduler_both_p16_bbr1/10.3.33.12:5.even.sum.dat" using 3:4 nooutput prefix "cubic" cubic_title = sprintf("title 'cubic (mean = %.2f Gbps)'", cubic_mean_x) cr_title = "title 'cubic retransmits (10.9171% of 85.4K segs)'" stats "pscheduler_both_p16_bbr1/10.3.33.12:5.odd.sum.dat" using 3:4 nooutput prefix "bbr" bbr1_title = sprintf("title 'bbr (mean = %.2f Gbps)'", bbr_mean_x) br1_title = "title 'bbr retransmits (12.2528% of 21969.3K segs)'" set xlabel "time \(seconds\)" set ylabel "Bandwidth \(Gbits/second\)" set y2label "TCP Retransmits" set ytics nomirror set y2tics set output "gnuplot/10.3.33.12:5_both-sum-1.png" set xrange [1:all1_max_x] set yrange [0:ceil(all2_max_x * 1.3)] set y2range [0:ceil(all2_max_y * 2 + 1)] plot "pscheduler_both_p16_bbr1/10.3.33.12:5.even.sum.dat" using 1:3 @cubic_title with linespoints lw 2 pt 2, \ "pscheduler_both_p16_bbr1/10.3.33.12:5.odd.sum.dat" using 1:3 @bbr1_title with linespoints lw 2 pt 7, \ "pscheduler_both_p16_bbr1/10.3.33.12:5.even.sum.dat" using 1:($4 == 0 ? NaN : $4) @cr_title with points pt 13 ps 1 axes x1y2, \ "pscheduler_both_p16_bbr1/10.3.33.12:5.odd.sum.dat" using 1:($4 == 0 ? NaN : $4) @br1_title with points pt 13 ps 1 axes x1y2, \