From 7011ec431f021a0e1800ad37e738dd43af0b54a6 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 27 Sep 2022 11:49:44 +0200 Subject: Add sled no-sync --- artifacts/2022-09-24-warp-db-engine/plot.png | Bin 170092 -> 181046 bytes .../2022-09-24-warp-db-engine/sled-nosync.log | 13 +++++++++++++ artifacts/2022-09-24-warp-db-engine/summary.csv | 4 ++++ scenarios/fragments/garage.py | 2 +- scenarios/garage-warp | 2 ++ 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 artifacts/2022-09-24-warp-db-engine/sled-nosync.log 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 Binary files a/artifacts/2022-09-24-warp-db-engine/plot.png and b/artifacts/2022-09-24-warp-db-engine/plot.png 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) -- cgit v1.2.3