6 load_per_node = 1000; # average load per node
7 printf "WARNING: Hardcoded load_per_node: %g\n", load_per_node > "/dev/stderr";
10 theo_dur = 10000.0; # theoretical time limit
11 printf "WARNING: Hardcoded theo_dur: %g\n", theo_dur > "/dev/stderr";
14 comp_factor = 1e6; # computing factor ( -c )
15 printf "WARNING: Hardcoded comp_factor: %g\n", comp_factor > "/dev/stderr";
18 comm_factor = 1.25e5; # communication factor ( -C )
19 printf "WARNING: Hardcoded comm_factor: %g\n", comm_factor > "/dev/stderr";
20 printf " comm_factor will be adjusted by ratio from exp. name\n" > "/dev/stderr";
21 adjust_comm_factor = 1;
23 if (!comp_power) { # average computing power per node
25 printf "WARNING: Hardcoded comp_power: %g\n", comp_power > "/dev/stderr";
29 printf "%-75s %11s %11s %11s %14s %11s\n", "# Experimentation",
30 "Overhead", "Comput.(1)", "Comput.(2)", "Data amnt", "Stddev";
32 printf "%-75s %11s %11s %14s %11s\n", "# Experimentation",
33 "Comput.(1)", "Comput.(2)", "Data amnt", "Stddev";
48 nodes = total_load / load_per_node;
49 stddev = 100.0 * $3 / load_per_node;
52 comp_cap = comp_power * nodes;
53 theo_comp = 100.0 * computed / (theo_dur * comp_cap);
54 real_comp = 100.0 * computed / (real_dur * comp_cap);
55 if (adjust_comm_factor) {
56 # find comp/comm ratio
57 split($1, tmp, "[_/:]")
58 ratio = tmp[4] / tmp[3]
59 real_comm_factor = comm_factor * ratio;
61 real_comm_factor = comm_factor;
63 # printf "# real_comm_factor: %g\n", real_comm_factor > "/dev/stderr";
64 data_total = total_load * real_comm_factor;
65 data = $5 / data_total;
67 overhead = 100.0 * (real_dur / theo_dur - 1.0);
68 printf "%-75s %11.4f %11.4f %11.4f %14.4f %11.4f\n",
69 $1, overhead, theo_comp, real_comp, data, stddev;
71 printf "%-75s %11.4f %11.4f %14.4f %11.4f\n",
72 $1, theo_comp, real_comp, data, stddev;