osu: remove gsub hack

This commit is contained in:
Rodrigo Arias 2021-04-21 17:54:08 +02:00
parent d5626851de
commit a9e1579242
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ w=6
p = ggplot(data=df, aes(x=size, y=medianLatency)) + p = ggplot(data=df, aes(x=size, y=medianLatency)) +
labs(x="Message size", y="Median latency (µs)", labs(x="Message size", y="Median latency (µs)",
#title=sprintf("OSU benchmark: osu_latency", nodes, tasksPerNode, cpusPerTask), #title=sprintf("OSU benchmark: osu_latency", nodes, tasksPerNode, cpusPerTask),
subtitle=gsub("-", "\uad", output)) + subtitle=output) +
geom_line(aes(linetype=unitName)) + geom_line(aes(linetype=unitName)) +
geom_point(aes(shape=unitName), size=2) + geom_point(aes(shape=unitName), size=2) +
scale_y_log10(breaks = breaks, minor_breaks = minor_breaks) + scale_y_log10(breaks = breaks, minor_breaks = minor_breaks) +

View File

@ -56,7 +56,7 @@ p = ggplot(data=df, aes(x=sizeKB, y=bw)) +
geom_vline(aes(xintercept = PSM2_MTU.val/1024), color="red") + geom_vline(aes(xintercept = PSM2_MTU.val/1024), color="red") +
labs(x="Message size (KiB)", y="Bandwidth (GB/s)", labs(x="Message size (KiB)", y="Bandwidth (GB/s)",
#title=sprintf("OSU benchmark: osu_bw --iterations %d", iterations), #title=sprintf("OSU benchmark: osu_bw --iterations %d", iterations),
subtitle=gsub("-", "\uad", output)) + subtitle=output) +
geom_point(shape=21, size=2) + geom_point(shape=21, size=2) +
#annotate("text", x = 10.2, y = 8.5e3, label = "MTU = 10KB", color="red", hjust=0) + #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") + facet_wrap(vars(PSM2_MTU), nrow=3, labeller = "label_both") +