From 50e837fd708af4311af4cb194a1556c96564f38a Mon Sep 17 00:00:00 2001 From: wuziniu Date: Tue, 31 Oct 2023 16:13:30 -0400 Subject: [PATCH] workload execution with Snowset trace --- workloads/IMDB_extended/run_repeating_analytics.py | 2 -- workloads/readme.md | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/workloads/IMDB_extended/run_repeating_analytics.py b/workloads/IMDB_extended/run_repeating_analytics.py index 0c9b5cdf..2274e0fb 100644 --- a/workloads/IMDB_extended/run_repeating_analytics.py +++ b/workloads/IMDB_extended/run_repeating_analytics.py @@ -223,7 +223,6 @@ def simulation_runner( start_queue: mp.Queue, stop_queue: mp.Queue, args, - query_bank: List[str], queries: List[int], query_frequency_original: Optional[npt.NDArray] = None, execution_gap_dist: Optional[npt.NDArray] = None, @@ -578,7 +577,6 @@ def main(): start_queue[idx], stop_queue[idx], args, - query_bank, queries, query_frequency, execution_gap_dist, diff --git a/workloads/readme.md b/workloads/readme.md index eaf8aa5e..56586d04 100644 --- a/workloads/readme.md +++ b/workloads/readme.md @@ -14,5 +14,11 @@ python workloads/IMDB/prepend_imdb_headers.py --csv_dir /path/to/imdb ## Execute repeating analytical queries ```angular2html cd workloads/IMDB_extended/ +python run_repeating_analytics.py --query-bank-file ../IMDB_20GB/regular_test/queries.sql --num-clients 3 --query-frequency-path ../IMDB_20GB/regular_test/query_frequency.npy --avg-gap-s 1 --query-indexes 1,3,5,7 --run-for-s 50 +``` +Run workload with snowset trace for one day +```angular2html +cd workloads/IMDB_extended/ +python run_repeating_analytics.py --query-bank-file ../IMDB_20GB/regular_test/queries.sql --query-frequency-path ../IMDB_20GB/regular_test/query_frequency.npy --num-client-path ../IMDB_20GB/regular_test/num_client.pkl --num-clients 8 --gap-dist-path ../IMDB_20GB/regular_test/gap_time_dist.npy --time-scale-factor 200 --run-for-s 600 ``` \ No newline at end of file