Skip to content

Instantly share code, notes, and snippets.

@kofemann
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kofemann/27969a0d679b8ef48920 to your computer and use it in GitHub Desktop.
Save kofemann/27969a0d679b8ef48920 to your computer and use it in GitHub Desktop.
sript to plot cms job efficiency
set key off
set yrange [0:1]
set xrange [:24]
set ylabel "Efficiency (cpu/wall time)"
set xlabel "execution time (hour)"
set xtics rotate
#set xdata time
set multiplot layout 1,2 rowsfirst title "CMS job efficiency by access protocol"
stats 'w07' using 3 nooutput
total = int(STATS_records)
set title sprintf("DCAP (%d recs.)", total)
plot 'w07' u ($2/3600):3 title 'dcap' lc rgb "#007cad"
stats 'w08' using 3 nooutput
total = int(STATS_records)
set title sprintf("NFSv4.1 (%d recs.)", total)
plot 'w08' u ($2/3600):3 title 'nfs' lc rgb "#00ad31"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment