diff --git a/garlic/fig/osu/latency.R b/garlic/fig/osu/latency.R index bb018e6..e116a73 100644 --- a/garlic/fig/osu/latency.R +++ b/garlic/fig/osu/latency.R @@ -40,7 +40,7 @@ w=6 p = ggplot(data=df, aes(x=size, y=medianLatency)) + labs(x="Message size", y="Median latency (µs)", #title=sprintf("OSU benchmark: osu_latency", nodes, tasksPerNode, cpusPerTask), - subtitle=gsub("-", "\uad", output)) + + subtitle=output) + geom_line(aes(linetype=unitName)) + geom_point(aes(shape=unitName), size=2) + scale_y_log10(breaks = breaks, minor_breaks = minor_breaks) + diff --git a/garlic/fig/osu/mtu.R b/garlic/fig/osu/mtu.R index c009a71..09e2f63 100644 --- a/garlic/fig/osu/mtu.R +++ b/garlic/fig/osu/mtu.R @@ -56,7 +56,7 @@ p = ggplot(data=df, aes(x=sizeKB, y=bw)) + geom_vline(aes(xintercept = PSM2_MTU.val/1024), color="red") + labs(x="Message size (KiB)", y="Bandwidth (GB/s)", #title=sprintf("OSU benchmark: osu_bw --iterations %d", iterations), - subtitle=gsub("-", "\uad", output)) + + subtitle=output) + geom_point(shape=21, size=2) + #annotate("text", x = 10.2, y = 8.5e3, label = "MTU = 10KB", color="red", hjust=0) + facet_wrap(vars(PSM2_MTU), nrow=3, labeller = "label_both") +