parameters for i3en.3xlarge (need to add more modes to the benchmark, e.g., time based)

This commit is contained in:
Christian Schwarz
2023-11-24 15:39:18 +00:00
parent 9f36d19383
commit 12a60cd914
2 changed files with 42 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ def test_getpage_throughput(
template_tenant, template_timeline = env.neon_cli.create_tenant(conf=tenant_config_cli)
template_tenant_gen = int(ps_http.tenant_status(template_tenant)["generation"])
with env.endpoints.create_start("main", tenant_id=template_tenant) as ep:
pg_bin.run_capture(["pgbench", "-i", "-s1", ep.connstr()])
pg_bin.run_capture(["pgbench", "-i", "-s50", ep.connstr()])
last_flush_lsn_upload(env, ep, template_tenant, template_timeline)
ps_http.tenant_detach(template_tenant)
@@ -53,7 +53,7 @@ def test_getpage_throughput(
src_timelines_dir: Path = remote_storage.tenant_path(template_tenant) / "timelines"
assert src_timelines_dir.is_dir(), f"{src_timelines_dir} is not a directory"
tenants = [template_tenant]
for i in range(0, 10):
for i in range(0, 200):
new_tenant = TenantId.generate()
tenants.append(new_tenant)
log.info("Duplicating tenant #%s: %s", i, new_tenant)
@@ -110,7 +110,7 @@ def test_getpage_throughput(
"--num-tasks",
"1",
"--num-requests",
"10000",
"200000",
*[str(tenant) for tenant in tenants],
]
log.info(f"command: {' '.join(cmd)}")