Distributed Scheduling
Distributed Scheduling
Management
DISTRIBUTED SCHEDULING
DISTRIBUTED SHARED MEMORY
DISTRIBUTED FILE SYSTEM
FAILURE RECOVERY & FAULT
TOLERANCE
Distributed Scheduling
Introduction
Load
Resource queue lengths and particularly the CPU queue length
are good indicators of load
Measuring the CPU queue length is fairly simple and carries
little overhead
CPU queue length does not always tell the correct situation as
the jobs may differ in types
Another load measuring criterion is the processor utilization
Requires a background process that monitors CPU utilization
continuously and imposes more overhead
Used in most of the load balancing algorithms
Classification of LDA
Sender-Initiated Algorithms
Receiver-Initiated Algorithms
Symmetrically Initiated Algorithms
Adaptive Algorithms
Sender-Initiated Algorithms
Poll-set = Nil
Transfer task Yes QueueLength at “I”
Yes to “i” <T
Task
Arrives QueueLength+1 No
>T
No. of polls
Yes
<
No
PollLimit
No
Queue the
task locally
Receiver-Initiated Algorithms
Poll-set = Nil
Transfer task Yes QueueLength at “I”
Yes from “i” to “j” >T
QueueLength No
<T
No. of polls
Yes
<
No
PollLimit
Wait for a
perdetermined period No
State Transfer
Location Transparency
Structure of a Migration Mechanism
Performance
State Transfer
The Cost
To support remote execution, obtaining and transferring the state, and unfreezing the task.
Residual Dependencies
Refers to the amount of resources a former host of a preempted or migrated task continues to
dedicate to service requests from the migrated task.
Implementations
The V-System
Attempts to reduce the freezing time of a migrating task by precopying the state.
The bulk of the task state is copied to the new host
It increases the number of messages that are sent to new host
SPRITE
Makes use of the location-transparent file access mechanism provided by its file system
All the modified pages of the migrating task are swapped to file server
ACCENT
Reduction in migration is achieved by using a feature called Copy-on-Reference
The entire virtual memory address space is not copied to the new host
Location Transparency