-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dynamic Discretization to enable Warm Starts (#87)
* Fixed Capacity Constraint Map for dynamic Discretization * Implemented STRL choose exprs reuse from prev sovler invocation in dynamic discretization * Added finer Grained discretization around prev solutions * Added input of lower discretization around prev sol * Rectified Bug * Added limitation of total solver time to 1 min * changed time and added more info in errors * Rectified Dynamic Discretization Bugs * Implemented getResourceQuantity() for allocation exprs * Added conf file for dynamic discretization * Format changes to pass builds. * Format changes to main to fix builds. * Changes to pass flake8 compatibility. --------- Co-authored-by: Sukrit Kalra <[email protected]>
- Loading branch information
1 parent
79d6259
commit 4c744e7
Showing
15 changed files
with
359 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Output configs. | ||
--log_dir=experiments/new_exps_new_conf/strl_1_8 | ||
--log_file_name=alibaba_trace_replay_tetrisched.log | ||
--csv_file_name=alibaba_trace_replay_tetrisched.csv | ||
--log_level=debug | ||
|
||
# Workload configs. | ||
--execution_mode=replay | ||
--replay_trace=alibaba | ||
--workload_profile_paths=traces/alibaba-cluster-trace-v2018/easy_dag_sukrit_10k.pkl,traces/alibaba-cluster-trace-v2018/medium_dag_sukrit_10k.pkl,traces/alibaba-cluster-trace-v2018/hard_dag_sukrit_10k.pkl | ||
--workload_profile_path_labels=easy,medium,hard | ||
--override_release_policies=poisson,poisson,poisson | ||
--override_num_invocations=0,300,150 | ||
--override_poisson_arrival_rates=0.005,0.0125,0.0125 | ||
--randomize_start_time_max=50 | ||
--min_deadline=5 | ||
--max_deadline=500 | ||
--min_deadline_variances=25,50,10 | ||
--max_deadline_variances=50,100,25 | ||
|
||
# Worker configs. | ||
--worker_profile_path=./profiles/workers/alibaba_cluster.yaml | ||
|
||
# Loader configs. | ||
--alibaba_loader_task_cpu_divisor=10 | ||
--alibaba_loader_min_critical_path_runtimes=200,500,600 | ||
--alibaba_loader_max_critical_path_runtimes=500,1000,1000 | ||
|
||
# Scheduler configs. | ||
#--scheduler=EDF | ||
--scheduler=TetriSched | ||
#--drop_skipped_tasks | ||
--release_taskgraphs | ||
--scheduler_runtime=0 | ||
--enforce_deadlines | ||
--scheduler_time_discretization=1 | ||
--scheduler_enable_optimization_pass | ||
--random_seed=420665456 | ||
--retract_schedules | ||
#--scheduler_log_to_file | ||
--scheduler_dynamic_discretization | ||
--scheduler_max_time_discretization=8 | ||
--scheduler_max_occupancy_threshold=0.999 | ||
--finer_discretization_at_prev_solution | ||
--finer_discretization_window=4 |
47 changes: 47 additions & 0 deletions
47
configs/new_motiv_new_conf_sukrit_runs_strl_1_8_selective.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Output configs. | ||
--log_dir=experiments/new_exps_new_conf/strl_1_8_selective_new | ||
--log_file_name=alibaba_trace_replay_tetrisched.log | ||
--csv_file_name=alibaba_trace_replay_tetrisched.csv | ||
--log_level=debug | ||
|
||
# Workload configs. | ||
--execution_mode=replay | ||
--replay_trace=alibaba | ||
--workload_profile_paths=traces/alibaba-cluster-trace-v2018/easy_dag_sukrit_10k.pkl,traces/alibaba-cluster-trace-v2018/medium_dag_sukrit_10k.pkl,traces/alibaba-cluster-trace-v2018/hard_dag_sukrit_10k.pkl | ||
--workload_profile_path_labels=easy,medium,hard | ||
--override_release_policies=poisson,poisson,poisson | ||
--override_num_invocations=0,300,150 | ||
--override_poisson_arrival_rates=0.005,0.0125,0.0125 | ||
--randomize_start_time_max=50 | ||
--min_deadline=5 | ||
--max_deadline=500 | ||
--min_deadline_variances=25,50,10 | ||
--max_deadline_variances=50,100,25 | ||
|
||
# Worker configs. | ||
--worker_profile_path=./profiles/workers/alibaba_cluster.yaml | ||
|
||
# Loader configs. | ||
--alibaba_loader_task_cpu_divisor=10 | ||
--alibaba_loader_min_critical_path_runtimes=200,500,600 | ||
--alibaba_loader_max_critical_path_runtimes=500,1000,1000 | ||
|
||
# Scheduler configs. | ||
#--scheduler=EDF | ||
--scheduler=TetriSched | ||
#--drop_skipped_tasks | ||
--release_taskgraphs | ||
--scheduler_runtime=0 | ||
--enforce_deadlines | ||
--scheduler_time_discretization=1 | ||
--scheduler_enable_optimization_pass | ||
--random_seed=420665456 | ||
--retract_schedules | ||
#--scheduler_log_to_file | ||
--scheduler_dynamic_discretization | ||
--scheduler_max_time_discretization=8 | ||
--scheduler_max_occupancy_threshold=0.999 | ||
--finer_discretization_at_prev_solution | ||
--finer_discretization_window=4 | ||
--scheduler_selective_rescheduling | ||
--scheduler_log_to_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
- name: Worker_1_1 | ||
resources: | ||
- name: Slot_1 | ||
quantity: 60 | ||
quantity: 70 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.