Skip to content

Commit

Permalink
workload execution with Snowset trace
Browse files Browse the repository at this point in the history
  • Loading branch information
wuziniu committed Oct 31, 2023
1 parent 6ddb30c commit 50e837f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions workloads/IMDB_extended/run_repeating_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -578,7 +577,6 @@ def main():
start_queue[idx],
stop_queue[idx],
args,
query_bank,
queries,
query_frequency,
execution_gap_dist,
Expand Down
6 changes: 6 additions & 0 deletions workloads/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 50e837f

Please sign in to comment.