SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Distributed Operating
System
MOEEZ AHMAD 1421-316267
DANISH DAUD 1421-316255
EJAZ ALI 1421-316269
QADEER AYUB 1421-316273
1
Distributed Shared Memory:
 It implements the shared memory model in distributed
systems, which have no physical shared memory.
 The shared memory model provides a virtual address space
shared between all nodes.
 Data moves between main memory and secondary memory
(within a node) and between main memories of different
nodes
2
Central Server Algo:
 Central server maintains all shared data.
 Read request: returns data item
 Write request: updates data and returns acknowledgement
message.
3
Data
Access
Requests
Clients
Migration Algo:
 Ship (migrate) entire data object (page, block) containing
data item to requesting location
 Allow only one node to access a shared data at a time
4
Node i Node j
Data Access Request
Data Migration
Algorithms of DSM
 Read Replication Algo:
 Replicates data objects to multiple nodes.
 Multiple nodes can have read access or one node write access
(multiple readers-one writer protocol).
 After a write, all copies are invalidated or updated
5
Node i Node j
Data Access Request
Data Replication
Algorithms of DSM
 Full Replication Algo:
 Extension of read-replication algorithm
 Multiple nodes can read and multiple nodes can write
(multiple-readers, multiple-writers protocol)
6
Write
Requests
Clients
Update
Multicast
Memory Coherence:
 Memory coherence is a desirable condition in which
corresponding memory locations for each processing
element in a multi-core processor always contain the same
cached data.
 Without memory coherence, programs can be adversely
affected.
7
Coherence Protocols:
 Coherence protocols apply cache coherence in multiprocessor systems.
 The intention is that two clients must never see different values for the
same shared data.
 Protocols can also be classified as snoopy or directory-based.
 Early systems used directory-based protocols where a directory would
keep a track of the data being shared and the sharers.
 In snoopy protocols, the transaction requests (to read, write, or upgrade)
are sent out to all processors.
8
Distributed File System:
 Naming & Naming Resolution:
 Name refers to an object such as file or a directory.
Example: Home, Public, Documents, Movies etc.
 Name space is a collection of names.
 Name Resolution refers to the process of mapping a name to
an object that is physical.
9
Distributed File System:
 Caches on Disk or Main Memory:
 Main Memory:
 Faster than disks.
 Enables diskless workstations.
 Disks:
 Caches larger files
 Good when local usage dominates
10
Distributed File System:
 Writing Policy:
 Write through -- reliable, but not cache for write.
 delayed write:
 delay the writes to the server
 write on close:
 not much difference from delay write for short opens.
 for long open: less write but more susceptible to losing data
11
Distributed File System:
 Availability:
 Overcome the failure of servers or network links.
 Replication - Maintain copies of files at different servers.
 Scalability:
 Adaptation of distributed systems to accommodate more users.
 Usually done by adding more and/or faster processors.
 Design components to be scalable!
12
Distributed File System:
 Cache Consistency:
 server-initiated: the server inform cache managers whenever the
data in the client caches become stale
 client-initiated: the client make sure the cache is clean before
returning the data to the application
 not allow caching when concurrent-write sharing occurs.
 sequential-write sharing may also cause problems: a client
opens a files that has recently modified and closed by another
client
13
Distributed File System:
 Semantics:
 What a user wants? strict consistency.
 Users can usually tolerate a certain degree of errors in file
handling -- no need to enforce strict consistency.
14
Ejaz Ali 1421-316267
15
Architecture of Distributed system:
 Presented on different platforms and several components can
cooperate with one another over a communication network.
 There are several technology frameworks to support
distributed architectures, including .NET, J2EE, CORBA, .NET
Web services, AXIS Java.
16
Monolithic Kernel
 Is an operating system is an operating
system architecture where the entire
operating system is working in kernel space.
 It holds all privileges to access input/output
devices, memory, hardware interrupts and
CPU stack.
 Tends to be larger than other kernel.
17
Communication Primitives:
 High level construct help the program in using underlying
communication network
 Two types of communication primitive
 Message passing
 Remote procedure calls
18
Message passing:
 SEND – Message and its destination
 RECEIVER – source of message and buffer for storing the
message
 Client server computing model:
 Client sent message to server and waits
 Server replies after computing
19
Remote procedure call
 RPC is a protocol that one program can use to request a
service from a program located in other computer in a
network.
 RPC use client server model
 The main idea is to allow a local computer (client) to
remotely call procedure on a remote computer (server)
 RPC is a interaction between a client and server
20
Message passing:
 SEND – Message and its destination
 RECEIVER – source of message and buffer for storing the
message
 Client server computing model:
 Client sent message to server and waits
 Server replies after computing
21
Remote procedure call
 RPC is a protocol that one program can use to request a
service from a program located in other computer in a
network.
 RPC use client server model
 The main idea is to allow a local computer (client) to
remotely call procedure on a remote computer (server)
 RPC is a interaction between a client and server
22
Synchronization mechanism in shared
memory
 Shared Memory Synchronization. In sharing memory, a
portion of memory is mapped into the address space of one
or more processes.
 No method of coordinating access is automatically provided,
so nothing prevents two processes from writing to
the shared memory at the same time in the same place.
23
Communication sequential process:
 CSP, is a language for describing patterns of interaction. It is
supported by an elegant, mathematical theory, a set of proof
tools, and an extensive literature.
 It is a member of the family of mathematical theories of
concurrency known as process algebras,
24
Axiomatic verification of parallel programs
 A language for parallel programming, with a primitive
construct for synchronization and mutual exclusion, is
presented. Hoare's deductive system for proving partial
correctness of sequential programs is extended to include the
parallelism described by the language.
 The proof method lends insight into how one should
understand and present parallel programs.
25
The sprite file system
 Unix file system developed for diskless workstations with
large memories at UCB.
 Considers memory as a huge cache of disk blocks. Memory is
shared between file system and VM.
 Files are stored on servers. Servers have a large memory that
acts as a cache as well.
 If a file is being written by more than 1 machine, client
caching is turned off -- all requests go to the server.
26
Apollo domain distributed file system
 The Apollo DOMAIN® system is a fully operational
distributed computing environment for a network of personal
workstations and network servers.
 Its distributed system focus was on a file system that
provided users of autonomous workstations with the same
ease of file sharing.
27
X-kernel
 X-kernel is an experimental distributed operating system which
allows uniform access to resource on a nationwide internet.
 Provide a uniform interface with which to access heterogenous
physical file system.
 Two unique features:
 Each user define her or his own private file system out of the
existing physical file system.
 Logical directories with physical directories, identifies the type pf
the physical file system and identifies the server (host)
28
Thank You!
29

Weitere ähnliche Inhalte

Was ist angesagt?

Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File System
Milad Sobhkhiz
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
Ntu
 
Dfs (Distributed computing)
Dfs (Distributed computing)Dfs (Distributed computing)
Dfs (Distributed computing)
Sri Prasanna
 
Distributed Filesystems Review
Distributed Filesystems ReviewDistributed Filesystems Review
Distributed Filesystems Review
Schubert Zhang
 
3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirements
AbDul ThaYyal
 
Distributed web based systems
Distributed web based systemsDistributed web based systems
Distributed web based systems
Reza Gh
 

Was ist angesagt? (20)

Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File System
 
5.distributed file systems
5.distributed file systems5.distributed file systems
5.distributed file systems
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
 
Dfs (Distributed computing)
Dfs (Distributed computing)Dfs (Distributed computing)
Dfs (Distributed computing)
 
11. dfs
11. dfs11. dfs
11. dfs
 
Distributed Filesystems Review
Distributed Filesystems ReviewDistributed Filesystems Review
Distributed Filesystems Review
 
Operating System : Ch17 distributed file systems
Operating System : Ch17 distributed file systemsOperating System : Ch17 distributed file systems
Operating System : Ch17 distributed file systems
 
12. dfs
12. dfs12. dfs
12. dfs
 
Distribution File System DFS Technologies
Distribution File System DFS TechnologiesDistribution File System DFS Technologies
Distribution File System DFS Technologies
 
3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirements
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Unit 3.1 cs6601 Distributed File System
Unit 3.1 cs6601 Distributed File SystemUnit 3.1 cs6601 Distributed File System
Unit 3.1 cs6601 Distributed File System
 
File models and file accessing models
File models and file accessing modelsFile models and file accessing models
File models and file accessing models
 
Coda file system
Coda file systemCoda file system
Coda file system
 
Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File Systems
 
11 distributed file_systems
11 distributed file_systems11 distributed file_systems
11 distributed file_systems
 
Coda file system tahir
Coda file system   tahirCoda file system   tahir
Coda file system tahir
 
Self-Adapting, Energy-Conserving Distributed File Systems
Self-Adapting, Energy-Conserving Distributed File SystemsSelf-Adapting, Energy-Conserving Distributed File Systems
Self-Adapting, Energy-Conserving Distributed File Systems
 
Distributed web based systems
Distributed web based systemsDistributed web based systems
Distributed web based systems
 

Ähnlich wie Distributed operating system

Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introduction
Tamrat Amare
 
Lec+3-Introduction-to-Distributed-Systems.pdf
Lec+3-Introduction-to-Distributed-Systems.pdfLec+3-Introduction-to-Distributed-Systems.pdf
Lec+3-Introduction-to-Distributed-Systems.pdf
samaghorab
 
Inter-Process-Communication (or IPC for short) are mechanisms provid.pdf
Inter-Process-Communication (or IPC for short) are mechanisms provid.pdfInter-Process-Communication (or IPC for short) are mechanisms provid.pdf
Inter-Process-Communication (or IPC for short) are mechanisms provid.pdf
aesalem06
 
Authenticated Key Exchange Protocols for Parallel Network File Systems
Authenticated Key Exchange Protocols for Parallel Network File SystemsAuthenticated Key Exchange Protocols for Parallel Network File Systems
Authenticated Key Exchange Protocols for Parallel Network File Systems
1crore projects
 

Ähnlich wie Distributed operating system (20)

Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
 
Chapter One.ppt
Chapter One.pptChapter One.ppt
Chapter One.ppt
 
Database System Architectures
Database System ArchitecturesDatabase System Architectures
Database System Architectures
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introduction
 
Lec+3-Introduction-to-Distributed-Systems.pdf
Lec+3-Introduction-to-Distributed-Systems.pdfLec+3-Introduction-to-Distributed-Systems.pdf
Lec+3-Introduction-to-Distributed-Systems.pdf
 
Inter-Process-Communication (or IPC for short) are mechanisms provid.pdf
Inter-Process-Communication (or IPC for short) are mechanisms provid.pdfInter-Process-Communication (or IPC for short) are mechanisms provid.pdf
Inter-Process-Communication (or IPC for short) are mechanisms provid.pdf
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
 
PARALLEL FILE SYSTEM FOR LINUX CLUSTERS
PARALLEL FILE SYSTEM FOR LINUX CLUSTERSPARALLEL FILE SYSTEM FOR LINUX CLUSTERS
PARALLEL FILE SYSTEM FOR LINUX CLUSTERS
 
Driver Programming Report
Driver Programming ReportDriver Programming Report
Driver Programming Report
 
istributed system
istributed systemistributed system
istributed system
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
Network operating systems1
Network operating systems1Network operating systems1
Network operating systems1
 
best presentation ever by tayyab.pptx
best presentation ever by tayyab.pptxbest presentation ever by tayyab.pptx
best presentation ever by tayyab.pptx
 
Authenticated Key Exchange Protocols for Parallel Network File Systems
Authenticated Key Exchange Protocols for Parallel Network File SystemsAuthenticated Key Exchange Protocols for Parallel Network File Systems
Authenticated Key Exchange Protocols for Parallel Network File Systems
 
Overview of Distributed Systems
Overview of Distributed SystemsOverview of Distributed Systems
Overview of Distributed Systems
 
Authenticated key exchange protocols for parallel network file systems
Authenticated key exchange protocols for parallel network file systemsAuthenticated key exchange protocols for parallel network file systems
Authenticated key exchange protocols for parallel network file systems
 
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptxChapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
 
Distributed computing bsics
Distributed computing bsicsDistributed computing bsics
Distributed computing bsics
 
Chap 01
Chap 01Chap 01
Chap 01
 
Chap 01
Chap 01Chap 01
Chap 01
 

Kürzlich hochgeladen

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 

Kürzlich hochgeladen (20)

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 

Distributed operating system

  • 1. Distributed Operating System MOEEZ AHMAD 1421-316267 DANISH DAUD 1421-316255 EJAZ ALI 1421-316269 QADEER AYUB 1421-316273 1
  • 2. Distributed Shared Memory:  It implements the shared memory model in distributed systems, which have no physical shared memory.  The shared memory model provides a virtual address space shared between all nodes.  Data moves between main memory and secondary memory (within a node) and between main memories of different nodes 2
  • 3. Central Server Algo:  Central server maintains all shared data.  Read request: returns data item  Write request: updates data and returns acknowledgement message. 3 Data Access Requests Clients
  • 4. Migration Algo:  Ship (migrate) entire data object (page, block) containing data item to requesting location  Allow only one node to access a shared data at a time 4 Node i Node j Data Access Request Data Migration
  • 5. Algorithms of DSM  Read Replication Algo:  Replicates data objects to multiple nodes.  Multiple nodes can have read access or one node write access (multiple readers-one writer protocol).  After a write, all copies are invalidated or updated 5 Node i Node j Data Access Request Data Replication
  • 6. Algorithms of DSM  Full Replication Algo:  Extension of read-replication algorithm  Multiple nodes can read and multiple nodes can write (multiple-readers, multiple-writers protocol) 6 Write Requests Clients Update Multicast
  • 7. Memory Coherence:  Memory coherence is a desirable condition in which corresponding memory locations for each processing element in a multi-core processor always contain the same cached data.  Without memory coherence, programs can be adversely affected. 7
  • 8. Coherence Protocols:  Coherence protocols apply cache coherence in multiprocessor systems.  The intention is that two clients must never see different values for the same shared data.  Protocols can also be classified as snoopy or directory-based.  Early systems used directory-based protocols where a directory would keep a track of the data being shared and the sharers.  In snoopy protocols, the transaction requests (to read, write, or upgrade) are sent out to all processors. 8
  • 9. Distributed File System:  Naming & Naming Resolution:  Name refers to an object such as file or a directory. Example: Home, Public, Documents, Movies etc.  Name space is a collection of names.  Name Resolution refers to the process of mapping a name to an object that is physical. 9
  • 10. Distributed File System:  Caches on Disk or Main Memory:  Main Memory:  Faster than disks.  Enables diskless workstations.  Disks:  Caches larger files  Good when local usage dominates 10
  • 11. Distributed File System:  Writing Policy:  Write through -- reliable, but not cache for write.  delayed write:  delay the writes to the server  write on close:  not much difference from delay write for short opens.  for long open: less write but more susceptible to losing data 11
  • 12. Distributed File System:  Availability:  Overcome the failure of servers or network links.  Replication - Maintain copies of files at different servers.  Scalability:  Adaptation of distributed systems to accommodate more users.  Usually done by adding more and/or faster processors.  Design components to be scalable! 12
  • 13. Distributed File System:  Cache Consistency:  server-initiated: the server inform cache managers whenever the data in the client caches become stale  client-initiated: the client make sure the cache is clean before returning the data to the application  not allow caching when concurrent-write sharing occurs.  sequential-write sharing may also cause problems: a client opens a files that has recently modified and closed by another client 13
  • 14. Distributed File System:  Semantics:  What a user wants? strict consistency.  Users can usually tolerate a certain degree of errors in file handling -- no need to enforce strict consistency. 14
  • 16. Architecture of Distributed system:  Presented on different platforms and several components can cooperate with one another over a communication network.  There are several technology frameworks to support distributed architectures, including .NET, J2EE, CORBA, .NET Web services, AXIS Java. 16
  • 17. Monolithic Kernel  Is an operating system is an operating system architecture where the entire operating system is working in kernel space.  It holds all privileges to access input/output devices, memory, hardware interrupts and CPU stack.  Tends to be larger than other kernel. 17
  • 18. Communication Primitives:  High level construct help the program in using underlying communication network  Two types of communication primitive  Message passing  Remote procedure calls 18
  • 19. Message passing:  SEND – Message and its destination  RECEIVER – source of message and buffer for storing the message  Client server computing model:  Client sent message to server and waits  Server replies after computing 19
  • 20. Remote procedure call  RPC is a protocol that one program can use to request a service from a program located in other computer in a network.  RPC use client server model  The main idea is to allow a local computer (client) to remotely call procedure on a remote computer (server)  RPC is a interaction between a client and server 20
  • 21. Message passing:  SEND – Message and its destination  RECEIVER – source of message and buffer for storing the message  Client server computing model:  Client sent message to server and waits  Server replies after computing 21
  • 22. Remote procedure call  RPC is a protocol that one program can use to request a service from a program located in other computer in a network.  RPC use client server model  The main idea is to allow a local computer (client) to remotely call procedure on a remote computer (server)  RPC is a interaction between a client and server 22
  • 23. Synchronization mechanism in shared memory  Shared Memory Synchronization. In sharing memory, a portion of memory is mapped into the address space of one or more processes.  No method of coordinating access is automatically provided, so nothing prevents two processes from writing to the shared memory at the same time in the same place. 23
  • 24. Communication sequential process:  CSP, is a language for describing patterns of interaction. It is supported by an elegant, mathematical theory, a set of proof tools, and an extensive literature.  It is a member of the family of mathematical theories of concurrency known as process algebras, 24
  • 25. Axiomatic verification of parallel programs  A language for parallel programming, with a primitive construct for synchronization and mutual exclusion, is presented. Hoare's deductive system for proving partial correctness of sequential programs is extended to include the parallelism described by the language.  The proof method lends insight into how one should understand and present parallel programs. 25
  • 26. The sprite file system  Unix file system developed for diskless workstations with large memories at UCB.  Considers memory as a huge cache of disk blocks. Memory is shared between file system and VM.  Files are stored on servers. Servers have a large memory that acts as a cache as well.  If a file is being written by more than 1 machine, client caching is turned off -- all requests go to the server. 26
  • 27. Apollo domain distributed file system  The Apollo DOMAIN® system is a fully operational distributed computing environment for a network of personal workstations and network servers.  Its distributed system focus was on a file system that provided users of autonomous workstations with the same ease of file sharing. 27
  • 28. X-kernel  X-kernel is an experimental distributed operating system which allows uniform access to resource on a nationwide internet.  Provide a uniform interface with which to access heterogenous physical file system.  Two unique features:  Each user define her or his own private file system out of the existing physical file system.  Logical directories with physical directories, identifies the type pf the physical file system and identifies the server (host) 28