aboutsummaryrefslogtreecommitdiff
path: root/artifacts/2022-09-29-s3billion/plot.R
diff options
context:
space:
mode:
authorBaptiste Jonglez <baptiste.jonglez@inria.fr>2022-09-29 20:27:25 +0200
committerBaptiste Jonglez <baptiste.jonglez@inria.fr>2022-09-29 20:27:25 +0200
commitc752ff7997b1195ee63da8fb957ef7d72a30b384 (patch)
tree8bc0036be6c24e8f68c64d4a90591998ade38ca1 /artifacts/2022-09-29-s3billion/plot.R
parent12a50ef2db2f2a4f43a98154b2736c58c824b9af (diff)
downloadmknet-c752ff7997b1195ee63da8fb957ef7d72a30b384.tar.gz
mknet-c752ff7997b1195ee63da8fb957ef7d72a30b384.zip
Add result with 30M objects on Grid'5000
Diffstat (limited to 'artifacts/2022-09-29-s3billion/plot.R')
-rw-r--r--artifacts/2022-09-29-s3billion/plot.R27
1 files changed, 27 insertions, 0 deletions
diff --git a/artifacts/2022-09-29-s3billion/plot.R b/artifacts/2022-09-29-s3billion/plot.R
new file mode 100644
index 0000000..9497cbc
--- /dev/null
+++ b/artifacts/2022-09-29-s3billion/plot.R
@@ -0,0 +1,27 @@
+library(tidyverse)
+library(ggpmisc)
+library(scales)
+
+
+read_csv("s3billion-dc-gros-32threads-256batchsize-128000batchcount-v0.8-fix-time-30M.csv") %>% mutate(batch_dur_sec = batch_dur_nanoseconds / 1000 / 1000 / 1000) %>% filter(total_objects != 0) -> s
+
+reg <- lm(s$batch_dur_sec~s$total_objects)
+
+f <- y~x
+
+ggplot(s, aes(x=total_objects, y=batch_dur_sec)) +
+ geom_point(shape = "bullet", alpha=0.4) +
+ geom_smooth(method="lm", formula=f, se = FALSE, color="blue") +
+ scale_x_continuous(expand=c(0,0), breaks = scales::pretty_breaks(n = 10), labels = unit_format(unit = "M", scale = 1e-6)) +
+ scale_y_continuous(expand=c(0,0), breaks = scales::pretty_breaks(n = 10)) +
+ coord_cartesian(ylim=c(0,3)) +
+ labs(
+ y="Time (in sec) spent sending a batch (8192 objects)",
+ x="Total number of objects stored in the cluster",
+ caption="Get the code to reproduce this graph at https://git.deuxfleurs.fr/Deuxfleurs/mknet",
+ title="Storing 30M small objects in Garage!",
+ subtitle="Daemon: Garage v0.8.0-rc1 (+ #398 pull request) with LMDB as db_engine\nBenchmark: 8192 objects/batch. 32 threads/batch. 256 objects/thread. 16-byte/objects.\nEnvironment: mknet on Grid'5000 (gros) https://www.grid5000.fr/w/Nancy:Hardware#gros (SATA SSD).\nDC topo (3 logical nodes, 1Gb/s, 1ms latency).") +
+ theme_classic()
+ggsave("./garage-0.8-gros.png", width=200, height=120, units="mm")
+#ggsave("./garage-regression.png", width=200, height=120, units="mm")
+