grid-14-virt-clusters

Applications of on-demand virtual clusters to high performance computing
git clone https://git.igankevich.com/grid-14-virt-clusters.git
Log | Files | Refs

plot-imb.gp (1818B)


      1 #!/usr/bin/gnuplot -persist
      2 
      3 set terminal svg enhanced dashed round size 1600/6*0.94, 900/5*0.94 font "Times New Roman,10" round
      4 
      5 set style line 1 lt 1 lc rgb "#202020" lw 2
      6 set style line 2 lt 2 lc rgb "#202020" lw 2
      7 set style line 3 lt 3 lc rgb "#202020" lw 2
      8 set style line 4 lt 1 lc rgb "#0e3f5d"
      9 set style line 5 lt 1 lc rgb "#0e3f5d"
     10 set style line 6 lt 1 lc rgb "#202020" lw 4
     11 set style line 7 lt 1 lc rgb "#202020"
     12 set style line 8 lt 2 lc rgb "#202020" lw 4
     13 set style line 9 lt 3 lc rgb "#202020" lw 4
     14 
     15 unset grid
     16 set border 3
     17 set key left Left reverse
     18 
     19 #set output 'imb.svg'
     20 #set multiplot layout 1, 2
     21 set output 'imb-1.svg'
     22 #set title 'Average throughput'
     23 set ylabel 'Throughput [Mb/s]'
     24 set xlabel 'Message length [B]'
     25 set logscale x 2
     26 set xrange [2:2**22]
     27 set xtics 2**6, 2**4 add ('2' 2) format '2^{%L}' nomirror out scale 1,0
     28 set ytics 0,30 nomirror out
     29 plot 'none.all'    using 1:6 with lines ls 1 smooth unique title 'none',\
     30      'macvlan.all' using 1:6 with lines ls 2 smooth unique title 'macvlan',\
     31      'veth.all'    using 1:6 with lines ls 3 smooth unique title 'veth'
     32 
     33 
     34 #do for [name in 'br macvlan none'] {
     35 #	print name
     36 #	plot for [i=3:8] 'imb-exchange-' . name . '/imb.' . i . '.out' using 1:6 with lines title 'nprocs=' . i**2
     37 #}
     38 set output 'imb-2.svg'
     39 #set title 'Throughput for 16Kb message'
     40 set key left bottom Left reverse
     41 unset logscale x
     42 set xtics format '%g' ('4' 4, '9' 9, '16' 16, '25' 25, '36' 36, '49' 49, '64' 64)
     43 set xlabel 'No. of cores'
     44 set xrange [9:64]
     45 set yrange [100:140]
     46 set ytics 100,10 nomirror out
     47 plot 'peek-exchange.none'    using ($1**2):7 with lines ls 1 smooth unique title 'none',\
     48      'peek-exchange.macvlan' using ($1**2):7 with lines ls 2 smooth unique title 'macvlan',\
     49      'peek-exchange.veth'    using ($1**2):7 with lines ls 3 smooth unique title 'veth'