Add sled no-sync
This commit is contained in:
parent
c78e4f8005
commit
7011ec431f
5 changed files with 20 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 177 KiB |
13
artifacts/2022-09-24-warp-db-engine/sled-nosync.log
Normal file
13
artifacts/2022-09-24-warp-db-engine/sled-nosync.log
Normal file
|
@ -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.
|
|
@ -11,3 +11,7 @@ sqlite,delete,1.29
|
||||||
sqlite,get,5.75
|
sqlite,get,5.75
|
||||||
sqlite,put,1.93
|
sqlite,put,1.93
|
||||||
sqlite,stat,3.86
|
sqlite,stat,3.86
|
||||||
|
sled-nosync,delete,161.98
|
||||||
|
sled-nosync,get,729.07
|
||||||
|
sled-nosync,put,242.99
|
||||||
|
sled-nosync,stat,486.09
|
||||||
|
|
|
|
@ -59,7 +59,7 @@ def deploy_follow(uroot={}, us3_api={}, us3_web={}, uadmin={}):
|
||||||
sync_on_key_up()
|
sync_on_key_up()
|
||||||
shared.log("ready")
|
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={}):
|
def daemon(uroot={}, us3_api={}, us3_web={}, uadmin={}):
|
||||||
root = {
|
root = {
|
||||||
"metadata_dir": f"{storage_path}/meta",
|
"metadata_dir": f"{storage_path}/meta",
|
||||||
|
|
|
@ -11,6 +11,8 @@ for fl in sys.argv[1:]:
|
||||||
warp.bench = flavor.warp[fl]
|
warp.bench = flavor.warp[fl]
|
||||||
elif fl in db_engines:
|
elif fl in db_engines:
|
||||||
conf_root['db_engine'] = fl
|
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:
|
if shared.id() == 1:
|
||||||
garage.deploy_coord(uroot=conf_root)
|
garage.deploy_coord(uroot=conf_root)
|
||||||
|
|
Loading…
Reference in a new issue