1
1
Introduction
Chi Zhang czhang@cs.fiu.edu
COP 6611 Advanced Operating System
2
Introduction Chi Zhang czhang@cs.fiu.edu 1 Outline ! Goals ! - - PDF document
COP 6611 Advanced Operating System Introduction Chi Zhang czhang@cs.fiu.edu 1 Outline ! Goals ! Hardware Concepts ! Software Concepts ! The Client-Server Model 2 1 Definition of a Distributed System (1) ! A distributed system is: A
1
2
3
4
5
Hide whether a (software) resource is in memory or
Persistence Hide the failure and recovery of a resource Failure Hide that a resource may be shared by several competitive users Concurrency Hide that a resource may be shared by several competitive users Replication Hide that a resource may be moved to another location while in use Relocation Hide that a resource may move to another location Migration Hide where a resource is located Location Hide differences in data representation and how a resource is accessed Access Description Transparency
6
Doing routing based on complete information Centralized algorithms A single on-line telephone book Centralized data A single server for all users Centralized services
Example Concept
7
8
9
10
11
12
13
14
15
Provide distribution transparency Additional layer atop of NOS implementing general-purpose services Middleware Offer local services to remote clients Loosely-coupled operating system for heterogeneous multicomputers (LAN and WAN) NOS Hide and manage hardware resources Tightly-coupled operating system for multi- processors and homogeneous multicomputers DOS Main Goal Description System
16
17
18
monitor Counter { private: int count = 0; public: int value() { return count;} void incr () { count = count + 1;} void decr() { count = count – 1;} }
19
20
21
Necessary No Block sender until message delivered Necessary No Block sender until message received Not necessary No Block sender until message sent Not necessary Yes Block sender until buffer not full Reliable comm. guaranteed? Send buffer Synchronization point
22
a) Pages of address space distributed among four machines b) Situation after CPU 1 references page 10 c) Situation if page 10 is read only and replication is used
23
24
25
26
27
28
29
Open Open Closed Closed Openness Varies Yes Moderately No Scalability Per node Per node Global, distributed Global, central Resource management Model specific Files Messages Shared memory Basis for communication N N N 1 Number of copies of OS No No Yes Yes Same OS on all nodes High Low High Very High Degree of transparency Multicomp. Multiproc. Middleware- based OS Network OS Distributed OS I tem
30
31
32
33
34