@@ -58,7 +58,7 @@ for POLICY in "${POLICIES[@]}"; do
5858 --iterations " $ITERATIONS " \
5959 --bench-binary-dir " $YCSB_PATH /build" \
6060 --twitter-traces-dir " $DB_DIRS /twitter-traces" \
61- --benchmark twitter_cluster${CLUSTER} _bench
61+ --benchmark " twitter_cluster${CLUSTER} _bench"
6262 done
6363done
6464
7171# MGLRU
7272# TODO: Get rid of the CLUSTER loop and pass a comma-separated list of benchmarks
7373# We already support this in the bench script.
74- for POLICY in " ${POLICIES[@]} " ; do
75- for CLUSTER in " ${CLUSTERS[@]} " ; do
76- echo " Running policy: ${POLICY} on cluster ${CLUSTER} "
77- python3 " $BENCH_PATH /bench_twitter_trace.py" \
78- --cpu 8 \
79- --policy-loader ./${POLICY} .out \
80- --results-file " $RESULTS_PATH /twitter_traces_${CLUSTER} _results_mglru.json" \
81- --leveldb-db " $DB_DIRS /leveldb_twitter_cluster${CLUSTER} _db" \
82- --iterations " $ITERATIONS " \
83- --bench-binary-dir " $YCSB_PATH /build" \
84- --twitter-traces-dir " $DB_DIRS /twitter-traces" \
85- --benchmark twitter_cluster${CLUSTER} _bench \
86- --default-only
87- done
74+ # TODO: Remove --policy-loader requirement when using --default-only
75+ for CLUSTER in " ${CLUSTERS[@]} " ; do
76+ echo " Running baseline MGLRU on cluster ${CLUSTER} "
77+ python3 " $BENCH_PATH /bench_twitter_trace.py" \
78+ --cpu 8 \
79+ --policy-loader " $POLICY_PATH /${POLICIES[0]} .out" \
80+ --results-file " $RESULTS_PATH /twitter_traces_${CLUSTER} _results_mglru.json" \
81+ --leveldb-db " $DB_DIRS /leveldb_twitter_cluster${CLUSTER} _db" \
82+ --iterations " $ITERATIONS " \
83+ --bench-binary-dir " $YCSB_PATH /build" \
84+ --twitter-traces-dir " $DB_DIRS /twitter-traces" \
85+ --benchmark " twitter_cluster${CLUSTER} _bench" \
86+ --default-only
8887done
8988
9089# Disable MGLRU
0 commit comments