










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











May 2009^
Task Scheduling
Slide 1
May 2009^
Task Scheduling
Slide 2
May 2009^
Task Scheduling
Slide 4
Mini-Sudoku Puzzle: Solution Method Complete entries in thischart so that letters A-Fappear without repetitionin each row, each columnand each 2^ ×^ 3 block To continue from here, writedown all possible choices inthe remaining blank boxesand see whether the resultinginfo leads to more progress
(^2) C 4
C^1
6 D B^ A
31 53
D^
6
4 C
6 A^3
D D B^ D
A
F^
C^ A^ E^ C
F
D^
F^ C
AE AE
May 2009^
Task Scheduling
Slide 5
Sudoku Puzzle: Easy Example
5 4
(^6 ) 7 4 9 5
2 6
1
3 6 4 9
8 5
7 1 3 6
2
9 8
8
3 5 9
(^4 )
5 6
May 2009^
Task Scheduling
Slide 7
Sudoku Puzzle: Hard Example
(^6 )
(^85)
5 6 4
(^3 )
4 2
1
1 7 9
8 5 9
3 9 6
1 2
May 2009^
Task Scheduling
Slide 8
Constructing a (Mini-)Sudoku Puzzle Begin with a completedpuzzle and one by oneremove selected entriesthat can be deducedfrom the remaining ones This will ensure a uniquesolution, which is adesirable attribute
(^23) 4
3 1
6 2 1
31 53
6
4 3
4 6 3 2 4
1
6
1 3
6
4
5 62 3 4 3
4
1 4
May 2009^
Task Scheduling
Slide 10
Task Scheduling Problem
May 2009^
Task Scheduling
Slide 11
Resource Allocation Problem
May 2009^
Task Scheduling
Slide 13
Scheduling RequiredCE Courses ConstraintsPrerequisite:^ Solid downward arrow Corequisite:^ Dashed sideways arrow Units per quarter:
ECE 1
CS 130A
ECE 15A ECE 15B
CS 170
Math 3A Math 3B Math 3C
Math 5A
CS 10 CS 20 CS 40^
CS 60
Phys 1 Phys 2 Phys 3 Phys 4 Phys 3L Phys 4L
Chem 1A Chem 1B
Chem 1AL Chem 1BL^ ECE 2A^ ECE 2B^ ECE 2C ECE 152A ECE 152B ECE 154
Units^12345 Upper -divisionstanding^ Engr 101
ECE 139
Or CS 30Or PSTAT 120A
12 units 16 20 units
May 2009^
Task Scheduling
Slide 14
Job-Shop Scheduling
Time
Job^ Task Machine Time Staff Ja^ Ta^
Ja^ Ta^
Jb^ Tb^
Jb^ Tb^
Jb^ Tb^
Jc^ Tc^
Jd^ Td^
Jd^ Td^
Time
May 2009^
Task Scheduling
Slide 16
Truck Scheduling
SeattlePortland^ Boise
Dallas
NYC Chicago
Orlando
SF LA
Required trip 00% Truck load
Truck location
May 2009^
Task Scheduling
1 2 Slide 17 (^345) 76 8
9 x x (^1011) x y Vertex v representsTask or Computation j
T^ Latency with p p
r T^ Number of nodesT^ Depth of the gra
p 1 Output 2
p 1 ^31 j
(^1213) Vertex^ v^ representstask or computation j^^ j
T^ Latency with p proc
e T^ Number of nodes (
h T^ Depth of the graph
( p 1 ∞ Output
Multiprocessor Scheduling Task graph with unit-time tasks Here’s a heuristic known as list scheduling:1. Find the depth T = 8 (execution time goal)∞^ Latest start times: see the layered diagramPriorities: shown on the diagram in red