SlideShare a Scribd company logo
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

More Related Content

What's hot

Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File System
Milad Sobhkhiz
 
5.distributed file systems
5.distributed file systems5.distributed file systems
5.distributed file systems
Gd Goenka University
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
Naza hamed Jan
 
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
 
11. dfs
11. dfs11. dfs
Distributed Filesystems Review
Distributed Filesystems ReviewDistributed Filesystems Review
Distributed Filesystems Review
Schubert Zhang
 
Operating System : Ch17 distributed file systems
Operating System : Ch17 distributed file systemsOperating System : Ch17 distributed file systems
Operating System : Ch17 distributed file systems
Syaiful Ahdan
 
12. dfs
12. dfs12. dfs
Distribution File System DFS Technologies
Distribution File System DFS TechnologiesDistribution File System DFS Technologies
Distribution File System DFS Technologies
Raphael Ejike
 
3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirements
AbDul ThaYyal
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
Anamika Singh
 
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
Nandakumar P
 
File models and file accessing models
File models and file accessing modelsFile models and file accessing models
File models and file accessing models
ishmecse13
 
Coda file system
Coda file systemCoda file system
Coda file system
Sneh Pahilwani
 
Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File Systems
Wayne Jones Jnr
 
11 distributed file_systems
11 distributed file_systems11 distributed file_systems
11 distributed file_systems
longly
 
Coda file system tahir
Coda file system   tahirCoda file system   tahir
Coda file system tahir
Mohammad Faizan
 
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
Mário Almeida
 
Distributed web based systems
Distributed web based systemsDistributed web based systems
Distributed web based systems
Reza Gh
 

What's hot (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
 

Similar to Distributed operating system

Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
sirajmohammed35
 
Chapter One.ppt
Chapter One.pptChapter One.ppt
Chapter One.ppt
abdigeremew
 
Database System Architectures
Database System ArchitecturesDatabase System Architectures
Database System Architectures
Information Technology
 
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
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
balewayalew
 
PARALLEL FILE SYSTEM FOR LINUX CLUSTERS
PARALLEL FILE SYSTEM FOR LINUX CLUSTERSPARALLEL FILE SYSTEM FOR LINUX CLUSTERS
PARALLEL FILE SYSTEM FOR LINUX CLUSTERS
RaheemUnnisa1
 
Driver Programming Report
Driver Programming ReportDriver Programming Report
Driver Programming Report
Shivek Khurana
 
istributed system
istributed systemistributed system
istributed system
abdillahkarine
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
Kathirvel Ayyaswamy
 
Network operating systems1
Network operating systems1Network operating systems1
Network operating systems1
Abu Sayed Adhar
 
best presentation ever by tayyab.pptx
best presentation ever by tayyab.pptxbest presentation ever by tayyab.pptx
best presentation ever by tayyab.pptx
HAIDERALICH3
 
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
 
Overview of Distributed Systems
Overview of Distributed SystemsOverview of Distributed Systems
Overview of Distributed Systems
vampugani
 
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
Pvrtechnologies Nellore
 
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptxChapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
meharikiros2
 
Distributed computing bsics
Distributed computing bsicsDistributed computing bsics
Distributed computing bsics
Deepak John
 
Chap 01
Chap 01Chap 01
Chap 01
Chap 01Chap 01

Similar to 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
 

Recently uploaded

Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
AnkitaPandya11
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
Karya Keeper
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
mz5nrf0n
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
NishanthaBulumulla1
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Liberarsi dai framework con i Web Component.pptx
Liberarsi dai framework con i Web Component.pptxLiberarsi dai framework con i Web Component.pptx
Liberarsi dai framework con i Web Component.pptx
Massimo Artizzu
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 

Recently uploaded (20)

Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
在线购买加拿大英属哥伦比亚大学毕业证本科学位证书原版一模一样
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
Liberarsi dai framework con i Web Component.pptx
Liberarsi dai framework con i Web Component.pptxLiberarsi dai framework con i Web Component.pptx
Liberarsi dai framework con i Web Component.pptx
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 

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