Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1265 lb data replay without collection #1720

Merged
merged 41 commits into from
Nov 9, 2023
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
206b0ca
#1265: config: add debugging for replay
nlslatt Feb 24, 2022
77c3b7c
#1265: replay: add collectionless replay capability
nlslatt Feb 24, 2022
f5a58cf
#1265: replay: make output more user-friendly
nlslatt Mar 7, 2022
9cb6cd0
#1265: replay: clean up and make more self-documenting
nlslatt Mar 7, 2022
9af4c30
#1265: replay: fix crash when no lb selected
nlslatt Mar 7, 2022
35020fe
#1265: replay: move driver into tools
nlslatt Mar 9, 2022
c820025
#1265: replay: improve debugging
nlslatt Mar 22, 2022
02d09d7
#1265: replay: reduce redundant code
nlslatt Mar 22, 2022
f59499a
#1265: tests: first set of tests for workload replay
nlslatt Mar 7, 2022
6b2b534
#1265: tests: additional tests of workload replay
nlslatt Mar 23, 2022
0405dca
#1265: replay: refactor for better testing
nlslatt Mar 23, 2022
2d50760
#1265: replay: strike all refs to stats except filenames
nlslatt Mar 23, 2022
e1800e3
#1265: replay: updated filenames to not ref stats
nlslatt Mar 23, 2022
10115a3
#1265: tests: reduce redundant code
nlslatt Mar 23, 2022
bfc3a0c
#1265: replay: refactor to improve readability
nlslatt Mar 23, 2022
31cea61
#1265: tests: leverage refactor in testing
nlslatt Mar 23, 2022
35f05da
#1265: replay: clean up code
nlslatt Mar 23, 2022
b693bbe
#1265: tests: add more replay tests
nlslatt Mar 23, 2022
3f07a72
#1265: replay: update license headers
nlslatt Mar 25, 2022
39112db
#1265: replay: add doxygen
nlslatt Mar 25, 2022
9144b7b
#1265: tests: add subphases to workload migrator test
nlslatt Mar 25, 2022
34e77ff
#1265: replay: allow in-memory testing
nlslatt Mar 25, 2022
cb7d762
#1265: tests: run replay without verifying
nlslatt Mar 25, 2022
3839d30
#1265: replay: clarify usage in tool
nlslatt Mar 25, 2022
3ec982e
#1265: replay: add replay namespace
nlslatt Apr 12, 2022
a74cfc9
#1265: replay: clean up code
nlslatt Apr 12, 2022
b24acee
#1265: replay: update to use lb callbacks
nlslatt Apr 13, 2022
d124d63
#1265: replay: update to reflect stats renaming
nlslatt May 2, 2022
dafa15d
#1265: replay: allow custom stats callback for testing
nlslatt May 9, 2022
b9c9263
#1265: tests: verify statistics under replay
nlslatt May 9, 2022
c896627
#1265: replay: fix doxygen
nlslatt May 9, 2022
3af9b7b
#1265: replay: make compatibility updates
nlslatt Nov 16, 2022
d1b2194
#1265: tests: make compatibility updates
nlslatt Oct 17, 2023
3f7c972
#1265: replay: make compatibility updates
nlslatt Oct 17, 2023
d9e0f14
#1265: tests: make compatibility updates
nlslatt Oct 17, 2023
245e27b
#1265: phase manager: use phase passed from lb manager
nlslatt Oct 18, 2023
ae5f091
#1265: lb manager: add accessors needed for statistics computation
nlslatt Oct 18, 2023
638bc0b
#1265: replay: print phase summary when simulating phase
nlslatt Oct 18, 2023
64dd099
#1265: build: make tools build option lowercase
nlslatt Nov 7, 2023
43b7755
#1265: build: remove testing comment from macro
nlslatt Nov 7, 2023
794299d
#1265: replay: remove unnecessary barrier
nlslatt Nov 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#1265: replay: clarify usage in tool
nlslatt committed Nov 9, 2023
commit 3839d3000ef4d389dfc173ba1c6c3f58df57a0a1
6 changes: 5 additions & 1 deletion tools/workload_replay/simulate_replay.cc
Original file line number Diff line number Diff line change
@@ -51,14 +51,18 @@ int main(int argc, char** argv) {

vtAbortIf(
argc != 3,
"Must have two arguments: <initial phase> <phases to run>"
"Must have two app-specific arguments: <initial phase> <phases to run>\n"
"The json workload files needs to be specified using\n"
"--vt_lb_stats_file_in and --vt_lb_stats_dir_in"
);

// initial phase to simulate
PhaseType initial_phase = atoi(argv[1]);
// number of phases to simulate
PhaseType phases_to_run = atoi(argv[2]);

// the workloads used will be those specified with the command-line arguments
// --vt_lb_stats_file_in and --vt_lb_stats_dir_in
vt::vrt::collection::balance::replayWorkloads(
initial_phase, phases_to_run
);