Aims and Objectives
System Models for Distributed Systems
Processor Allocation
Scheduling in Distributed Systems
The Workstation Model
Paging and temporary files
... and system binaries
... and file caching
Complete local file system (with remote mounting)
Disk Usage | Advantages | Disadvantages |
(diskless) | Low cost; easy hardware and software maint.; symmetry and flexibility | Heavy network usage; bottlenecks on file servers |
Paging, temporary files | Reduces network load | High cost to purchase disks |
Paging, temporary files, binaries | Reduces network load even more | High cost; updating binaries |
Paging, temporary files, binaries, caching |
Reduces network load even more; reduces load on file server |
High cost; cache consistency |
Full local file system | V. low network load; no need for file servers |
Loss of transparency |
Locating an idle processor
Issues
A workstation is idle if no user-initated processes are running and if input devices have not been touched for several minutes - a machine that is idle can still have a heavy load
Idle workstation can either be hunted for (client driven) or can announce its availability (server driven)
The process may need data from the local environment, local files, etc. But temp. files can be created remotely. What about input from keyboard and output to monitor?
Do nothing, but what about performance for owner?
Kill the cuckoo, but what about work done?
Migrate the cuckoo - hard, hard, hard!
Always leave the machine as you found it...
The Processor Pool Model
General strategies
Design Issues for processor alocation algorithms
Example algorithms...
The up-down algorithm
Sender-Initiated Distributed Heuristic Algorithms
Receiver-Initiated Distributed Heuristic Algorithm