A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein...
-
Upload
sarah-andrews -
Category
Documents
-
view
215 -
download
1
Transcript of A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein...
![Page 1: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/1.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities
Status Presentation2011-03-18
Matias Mora [email protected]
UTFSM Computer Systems Research GroupAtacama Large Millimeter/submillimeter Array
Advisor: Dr. Mauricio Solar (UTFSM)Co-Advisor: Dr. Víctor Parada (USACH)
![Page 2: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/2.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 22
Problem Description
ObservationProposals
ObservationProposals
SchedulingPlan
SchedulingPlan
ExternalFactorsExternalFactors
ExecutionPrioritiesExecutionPriorities
Re-SchedulingRe-Scheduling
“Maximize the scientificthroughput of the
telescope” [Sessoms09]
![Page 3: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/3.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 33
Problem Description
![Page 4: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/4.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 44
State of the Art
The (dynamic) scheduling problem Basic “job shop” problem Dynamic “on-line” approach (CSP)
Astronomical observations problem Proposal → Observing time → Observation block(s) Long-term plan:
source visibility, sky brightness Short-term plan:
atmospheric conditions, technical failure
![Page 5: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/5.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 55
State of the Art: Current Approaches
Hubble Space Telescope (HST) Zweben, et al. (1994), Muscettola, et al. (1996)
Very Large Telescope (VLT) Johnston (1988), Silva (2002)
Subaru Telescope Sasaki, et al. (2000)
Gemini Observatory Puxley (1997)
Stratospheric Observatory for Infrared Astronomy (SOFIA) Frank (2006)
Green Bank Telescope (GBT) Clark, et al. (2009), O'Neil, et al. (2009), Balser, et al. (2009), Sessoms, et al.
(2009)
Hubble Space Telescope
SPIKE (1987) CSP
Trial assignment heuristic (min-conflicts times) Repair heuristic (neural network) De-conflict (priority selection)
Green Bank Telescope
Dynamic Scheduling System (2008) Scoring algorithm Sudoku-solver (fixed, windowed sessions) Knapsack algorithm (remaining time intervals)
![Page 6: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/6.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 66
ALMA Scheduling Subsystem
66 antennas operating as one or more array(s) Execute interactive / dynamic scheduling blocks Operate “exclusively” in service mode Performance requirements:
Handle ~10.000 SBs per period (12 months) Rescheduling process <<1/2 SB length (~30 min.)
Currently: Construction phase, Early Science (2011/2012) with very basic DSA
![Page 7: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/7.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 77
Hypothesis
It is possible to model the scheduling problem of observing proposals with dynamic priorities, for a radio telescope array(s), and generate feasible and sufficiently fast solutions.
![Page 8: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/8.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 88
General Goals
Create a mathematical model for a scheduling system with dynamic priorities, and extend it to the ALMA Scheduling problem.
Apply an algorithm to one of the identified instances to validate the model.
![Page 9: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/9.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 99
Specific Objectives
Design a model for the dynamic priorities scheduling problem.
Use that model to be applied to the ALMA Scheduling problem.
Characterize instances of the ALMA Scheduling problem, and identify one suitable for a relatively easy resolution.
Develop an algorithm for the identified instance. Evaluate the algorithm's performance, and compare
it to the ALMA Scheduling performance requirements.
![Page 10: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/10.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1010
Expected Results
A model for the dynamic priorities scheduling problem, applied to the ALMA Scheduling problem.
An implemented algorithm for one of the identified instances.
Test results obtained by running the implemented algorithm, which are expected to comply with the performance requirements.
![Page 11: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/11.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1111
Validation
Algorithm implementation to verify the model ALMA Scheduling simulator (?) External reviews: ALMA Software Engineers and
Array Operators
![Page 12: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/12.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1212
Working Plan
Phase 1: State of the Art, technical research June – November 2009 (Done)(Done)
Phase 2: Problem description and modeling September 2010 – January 2011 (Done)(Done)
Phase 3: Algorithm design and implementation February – March 2011 (In progress)(In progress)
Phase 4: Implementation validation April – May 2011 (Pending)(Pending)
![Page 13: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/13.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1313
Working style (CSRG)
Overall project discussion and notes: TWiki https://csrg.inf.utfsm.cl/twiki4/bin/view/ACS/MatiasMoraMasterThesis
https://csrg.inf.utfsm.cl/twiki4/bin/view/ACS/DynamicPrioritiesModelDiscussion
https://csrg.inf.utfsm.cl/twiki4/bin/view/ACS/MatiasMoraThesisWorklog
Document editing: LaTeX Development environment: GNU/Linux Development IDE: Eclipse Docs + code version control: Subversion (SVN)
svn co csrg.inf.utfsm.cl/repos/docs/scheduling-thesis/
Advisor coordination: Meetings and E-mail
![Page 14: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/14.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1414
Current Status
![Page 15: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/15.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1515
Schematic description
Projects and Scheduling Blocks
![Page 16: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/16.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1616
Schematic description
Overall scheduling process
![Page 17: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/17.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1717
Schematic description
Short and long-term queues generation
![Page 18: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/18.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1818
Mathematical model
Static parameters
![Page 19: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/19.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 1919
Mathematical model
Dynamic variables (1)
![Page 20: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/20.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 2020
Mathematical model
Dynamic variables (2)
![Page 21: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/21.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 2121
Mathematical model
Objective functions Maximize the scientific value (grade) of completed
projects.
Minimize the array's idle time (maximize busy time).
![Page 22: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/22.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 2222
Mathematical model
Search space discussion Long-term queue Short-term queue
![Page 23: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/23.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 2323
Algorithm implementation
![Page 24: A Scheduling Algorithm with Dynamic Priorities Status Presentation 2011-03-18 Matias Mora Klein mmora@csrg.inf.utfsm.cl UTFSM Computer Systems Research.](https://reader038.fdocuments.in/reader038/viewer/2022103100/56649e805503460f94b84481/html5/thumbnails/24.jpg)
A Scheduling Algorithm withA Scheduling Algorithm withDynamic PrioritiesDynamic Priorities 2424
To be continued ...