mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-26 17:40:37 +00:00
parameters for i3en.3xlarge (need to add more modes to the benchmark, e.g., time based)
This commit is contained in:
@@ -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)}")
|
||||
|
||||
Reference in New Issue
Block a user