aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-09-27 11:49:44 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-09-27 11:50:08 +0200
commit7011ec431f021a0e1800ad37e738dd43af0b54a6 (patch)
treed1f7232eb4c90cbea17cacc86bdd32f9dd0ebbc3
parentc78e4f8005b8dc221190b1da736984f289225326 (diff)
downloadmknet-7011ec431f021a0e1800ad37e738dd43af0b54a6.tar.gz
mknet-7011ec431f021a0e1800ad37e738dd43af0b54a6.zip
Add sled no-sync
-rw-r--r--artifacts/2022-09-24-warp-db-engine/plot.pngbin170092 -> 181046 bytes
-rw-r--r--artifacts/2022-09-24-warp-db-engine/sled-nosync.log13
-rw-r--r--artifacts/2022-09-24-warp-db-engine/summary.csv4
-rw-r--r--scenarios/fragments/garage.py2
-rwxr-xr-xscenarios/garage-warp2
5 files changed, 20 insertions, 1 deletions
diff --git a/artifacts/2022-09-24-warp-db-engine/plot.png b/artifacts/2022-09-24-warp-db-engine/plot.png
index 0f22d6d..b1124b0 100644
--- a/artifacts/2022-09-24-warp-db-engine/plot.png
+++ b/artifacts/2022-09-24-warp-db-engine/plot.png
Binary files differ
diff --git a/artifacts/2022-09-24-warp-db-engine/sled-nosync.log b/artifacts/2022-09-24-warp-db-engine/sled-nosync.log
new file mode 100644
index 0000000..fecf793
--- /dev/null
+++ b/artifacts/2022-09-24-warp-db-engine/sled-nosync.log
@@ -0,0 +1,13 @@
+Operation: DELETE, 10%, Concurrency: 20, Ran 3m42s.
+ * Throughput: 161.98 obj/s
+
+Operation: GET, 45%, Concurrency: 20, Ran 3m42s.
+ * Throughput: 0.18 MiB/s, 729.07 obj/s
+
+Operation: PUT, 15%, Concurrency: 20, Ran 3m42s.
+ * Throughput: 0.06 MiB/s, 242.99 obj/s
+
+Operation: STAT, 30%, Concurrency: 20, Ran 3m42s.
+ * Throughput: 486.09 obj/s
+
+Cluster Total: 0.24 MiB/s, 1620.14 obj/s over 3m42s.
diff --git a/artifacts/2022-09-24-warp-db-engine/summary.csv b/artifacts/2022-09-24-warp-db-engine/summary.csv
index d0ea3e3..9514835 100644
--- a/artifacts/2022-09-24-warp-db-engine/summary.csv
+++ b/artifacts/2022-09-24-warp-db-engine/summary.csv
@@ -11,3 +11,7 @@ sqlite,delete,1.29
sqlite,get,5.75
sqlite,put,1.93
sqlite,stat,3.86
+sled-nosync,delete,161.98
+sled-nosync,get,729.07
+sled-nosync,put,242.99
+sled-nosync,stat,486.09
diff --git a/scenarios/fragments/garage.py b/scenarios/fragments/garage.py
index 34aae30..739f982 100644
--- a/scenarios/fragments/garage.py
+++ b/scenarios/fragments/garage.py
@@ -59,7 +59,7 @@ def deploy_follow(uroot={}, us3_api={}, us3_web={}, uadmin={}):
sync_on_key_up()
shared.log("ready")
-def to_toml(d): return "\n".join([ f"{k} = \"{v}\"" for k, v in d.items() ])
+def to_toml(d): return "\n".join([ f"{k} = {v}" if type(v) is int else f"{k} = \"{v}\"" for k, v in d.items() ])
def daemon(uroot={}, us3_api={}, us3_web={}, uadmin={}):
root = {
"metadata_dir": f"{storage_path}/meta",
diff --git a/scenarios/garage-warp b/scenarios/garage-warp
index 8994e87..c102359 100755
--- a/scenarios/garage-warp
+++ b/scenarios/garage-warp
@@ -11,6 +11,8 @@ for fl in sys.argv[1:]:
warp.bench = flavor.warp[fl]
elif fl in db_engines:
conf_root['db_engine'] = fl
+ elif 'sled_no_fsync' == fl:
+ conf_root['sled_flush_every_ms'] = 1000 * 60 * 10 # 10 minutes
if shared.id() == 1:
garage.deploy_coord(uroot=conf_root)