.
This commit is contained in:
@@ -22,3 +22,4 @@ CEPH_ROOT = "/mnt/vol/"
|
|||||||
SERV_URL = "172.172.0.196::share_rsync"
|
SERV_URL = "172.172.0.196::share_rsync"
|
||||||
REMOTE_INST_STO_ROOT = "inststo/"
|
REMOTE_INST_STO_ROOT = "inststo/"
|
||||||
REMOTE_CEPH_ROOT = "vol/"
|
REMOTE_CEPH_ROOT = "vol/"
|
||||||
|
NUM_RUNS = 50
|
||||||
|
|||||||
13
run.py
13
run.py
@@ -5,7 +5,14 @@ import json
|
|||||||
import click
|
import click
|
||||||
|
|
||||||
from benchmark import run_single_bench
|
from benchmark import run_single_bench
|
||||||
from definitions import BENCH_DIR_NAMES, CEPH_ROOT, INST_STO_ROOT, REMOTE_INST_STO_ROOT, SERV_URL
|
from definitions import (
|
||||||
|
BENCH_DIR_NAMES,
|
||||||
|
CEPH_ROOT,
|
||||||
|
INST_STO_ROOT,
|
||||||
|
NUM_RUNS,
|
||||||
|
REMOTE_INST_STO_ROOT,
|
||||||
|
SERV_URL,
|
||||||
|
)
|
||||||
from results_tools import Results
|
from results_tools import Results
|
||||||
|
|
||||||
results = Results()
|
results = Results()
|
||||||
@@ -19,7 +26,7 @@ def cli():
|
|||||||
@cli.command()
|
@cli.command()
|
||||||
def local():
|
def local():
|
||||||
click.echo("Running locally")
|
click.echo("Running locally")
|
||||||
for runnum in range(50):
|
for runnum in range(NUM_RUNS):
|
||||||
for files_type in BENCH_DIR_NAMES:
|
for files_type in BENCH_DIR_NAMES:
|
||||||
test_case = "Local-InsSto to CEPH"
|
test_case = "Local-InsSto to CEPH"
|
||||||
source = f"{INST_STO_ROOT}/{files_type}"
|
source = f"{INST_STO_ROOT}/{files_type}"
|
||||||
@@ -36,7 +43,7 @@ def local():
|
|||||||
@cli.command()
|
@cli.command()
|
||||||
def distant():
|
def distant():
|
||||||
click.echo("Running distant to local")
|
click.echo("Running distant to local")
|
||||||
for runnum in range(50):
|
for runnum in range(NUM_RUNS):
|
||||||
for files_type in BENCH_DIR_NAMES:
|
for files_type in BENCH_DIR_NAMES:
|
||||||
test_case = "Distant-InsSto to InsSto"
|
test_case = "Distant-InsSto to InsSto"
|
||||||
source = f"{SERV_URL}/{REMOTE_INST_STO_ROOT}/{files_type}"
|
source = f"{SERV_URL}/{REMOTE_INST_STO_ROOT}/{files_type}"
|
||||||
|
|||||||
Reference in New Issue
Block a user