From fc1b14dfdd270b6d2f07eb570c007ec2b81ae4dd Mon Sep 17 00:00:00 2001 From: Reto Achermann Date: Sun, 8 Sep 2024 16:47:48 +0000 Subject: [PATCH] update bench.py script Signed-off-by: Reto Achermann --- benchmarks/bench.py | 13 ++++--------- benchmarks/ironsync/ironsync-osdi2023 | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/benchmarks/bench.py b/benchmarks/bench.py index 142b956..25f9f47 100644 --- a/benchmarks/bench.py +++ b/benchmarks/bench.py @@ -32,12 +32,14 @@ def count_cores_per_numa_node(): SECONDS = 60 MODES=[ - 'fill' - # , 'interleave' -- disable for speeding up SOSP'24 artifact evaluation + 'fill', + 'interleave' ] CORES_PER_NODE = count_cores_per_numa_node() NODES = count_numa_nodes() MAX_THREADS = NODES * CORES_PER_NODE +N_THREADS = [MAX_THREADS, 4] + [i * (CORES_PER_NODE // 4) for i in range(1, NODES * 4)] +print(f"Used Threads: {N_THREADS}") NR_BENCHES = ['cargo run --release --bin vspace'] #READS_PCT = [100, 95, 50, 0, 90] @@ -47,13 +49,6 @@ def count_cores_per_numa_node(): TRANSPARENT_HUGEPAGES = True -def reorder(l): - if len(l) < 2: - return l - p = len(l) // 2 - return [l[p]] + reorder(l[p+1:] + l[:p]) -N_THREADS = [MAX_THREADS, 4] + reorder(list(range(12, MAX_THREADS, 12))) - def combine_data_files(): filepaths = glob.glob('nr_benchmarks*.json') diff --git a/benchmarks/ironsync/ironsync-osdi2023 b/benchmarks/ironsync/ironsync-osdi2023 index d0e937d..da87ace 160000 --- a/benchmarks/ironsync/ironsync-osdi2023 +++ b/benchmarks/ironsync/ironsync-osdi2023 @@ -1 +1 @@ -Subproject commit d0e937d3cd65a88b39b515ad8151edc6c414d19b +Subproject commit da87ace38edbffd8217383664e12a81e5ad2f668