Prettier graph

This commit is contained in:
Quentin 2022-08-05 18:31:26 +02:00
parent efd3a46475
commit 902555b9d5
Signed by: quentin
GPG key ID: E9602264D639FF68
2 changed files with 4 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 194 KiB

View file

@ -36,7 +36,8 @@ read_csv("csv/rpc-complexity.csv") -> clust
ggplot(clust, aes(x=cluster_size,y=time,fill=aggregation)) +
geom_area() +
scale_y_continuous(expand=c(0,0))+
scale_y_continuous(expand=c(0,0), breaks = scales::pretty_breaks(n = 10))+
scale_x_continuous(expand=c(0,0), breaks = scales::pretty_breaks(n = 10))+
labs(
x="Number of nodes in the cluster",
y="Latency (ms)",
@ -45,7 +46,8 @@ ggplot(clust, aes(x=cluster_size,y=time,fill=aggregation)) +
title="Garage response time on common S3 endpoints with various cluster size",
subtitle="ran on 6 physical nodes on Grid5000 with multiple instances on each node\nspread on 3 zones: Lyon (nova), Rennes (paravance) and Nantes (econome)\nfew contention, latency is mainly due to RPC communications except on biggest values") +
facet_wrap(~endpoint) +
coord_cartesian(ylim=c(0, 150)) +
theme_classic() +
theme(legend.position = c(.8, .2))
ggsave("png/rpc-complexity.png", width=200, height=110, units="mm")
ggsave("png/rpc-complexity.png", width=200, height=150, units="mm")