diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-24 17:06:43 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-24 17:06:43 +0200 |
commit | 4d61d4a72f26f83731a80857df97ac114bc9ce5a (patch) | |
tree | c34e04b0c5a5eabacbbc4f1b8042100ee8badbe2 /artifacts/2022-09-24-s3billion/plot.R | |
parent | a869e3614bef8d011d56880f4df5f7d47dfb6735 (diff) | |
download | mknet-4d61d4a72f26f83731a80857df97ac114bc9ce5a.tar.gz mknet-4d61d4a72f26f83731a80857df97ac114bc9ce5a.zip |
Refactor + fix typo in 1M+ objects bench
Diffstat (limited to 'artifacts/2022-09-24-s3billion/plot.R')
-rw-r--r-- | artifacts/2022-09-24-s3billion/plot.R | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/artifacts/2022-09-24-s3billion/plot.R b/artifacts/2022-09-24-s3billion/plot.R new file mode 100644 index 0000000..38c26bc --- /dev/null +++ b/artifacts/2022-09-24-s3billion/plot.R @@ -0,0 +1,14 @@ +library(tidyverse) +read_csv("garage-v0.8-beta2-lmdb.csv") %>% mutate(batch_dur_sec = batch_dur_nanoseconds / 1000 / 1000 / 1000 ) -> s + +ggplot(s, aes(x=total_objects, y=batch_dur_sec)) + + geom_point() + + geom_smooth(method = "gam", se = FALSE) + + labs( + y="Time 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 1M+ files on Garage! Impact of existing data on cluster interactiveness", + subtitle="Daemon: Garage v0.8 beta 2 with LMDB as db_engine\nBenchmark: 128 batch. 8192 objects/batch. 32 threads/batch. 256 objects/thread. 16-byte/objects.\nEnvironment: mknet (Ryzen 5 1400, 16GB RAM, SSD). DC topo (3 nodes, 1Gb/s, 1ms latency).") + + theme_classic() +ggsave("./plot.png", width=200, height=120, units="mm") |