plot 1.8 KB

123456789101112131415161718192021222324252627282930313233
  1. reset
  2. set terminal postscript enhanced colour portrait size 6,6
  3. set key top left
  4. set out 'dist_activity_synthetic.eps'
  5. set title "Simple activity relocation vs. no relocation (5 nodes)"
  6. set xlabel "Microseconds artificial load"
  7. set ylabel "Speedup"
  8. plot '/tmp/result_5_True' using (($1)/54):(($6)/(($2+$3+$4)/3)) title 'With activity relocation' w l, '/tmp/result_5_False' using (($1)/54):($6/(($2+$3+$4))) title 'Without activity relocation' w l
  9. set out 'dist_activity_synthetic_load_NO.eps'
  10. set title 'Synthetic load without relocation'
  11. set xlabel 'Simulation time'
  12. set ylabel 'Observed activity (s)'
  13. plot 'dist_activity_synthetic/activity-log_NO' using 1:($2) title 'Node 1' w l lw 5, '' using 1:($3) title 'Node 2' w l lw 5, '' using 1:($4) title 'Node 3' w l lw 5
  14. set out 'dist_activity_synthetic_load_AT.eps'
  15. set title 'Synthetic load with activity tracking'
  16. set xlabel 'Simulation time'
  17. set ylabel 'Observed activity (s)'
  18. plot 'dist_activity_synthetic/activity-log_AT' using 1:($2) title 'Node 1' w l lw 5, '' using 1:($3) title 'Node 2' w l lw 5, '' using 1:($4) title 'Node 3' w l lw 5
  19. set out 'dist_activity_synthetic_speedup.eps'
  20. set title "Speedup with and without activity relocation"
  21. set xlabel "Computation nodes"
  22. set ylabel "Speedup"
  23. plot 'dist_activity_synthetic/result_nodes_True' using 1:(5371/(($2+$3+$4)/3)) title 'Activity relocation' w l lw 5, 'dist_activity_synthetic/result_nodes_False' using 1:(5371/(($2+$3+$4)/3)) title 'No relocation' w l lw 5
  24. set out 'dist_activity_synthetic_50.eps'
  25. set title "Simple activity relocation vs. no relocation (50 nodes)"
  26. set xlabel "Microseconds artificial load"
  27. set ylabel "Speedup"
  28. plot '/tmp/result_50_True' using (($1)/54):((($6+$7+$8)/3)/(($2+$3+$4)/3)) title 'With activity relocation' w l, '/tmp/result_50_False' using (($1)/54):((($6+$7+$8)/3)/(($2+$3+$4))) title 'Without activity relocation' w l