SlideShare una empresa de Scribd logo
1 de 23
CS677: DistributedComputer Science Lecture 1, page 1
Distributed Operating Systems
Spring 2005
Prashant Shenoy
UMass Computer Science
http://lass.cs.umass.edu/~shenoy/courses/677
CS677: DistributedComputer Science Lecture 1, page 2
Course Syllabus
• CMPSCI 677: Distributed Operating Systems
• Instructor: Prashant Shenoy
– Email: shenoy@cs.umass.edu, Phone: (413) 577 0850
– Office hours: Thursday 12:30-1:30, CS 336, or by appt
• Teaching Asst: Puru Kulkarni
– Email: purukulk@cs.umass.edu, Phone: (413) 545 4753
– Office hours: Tuesday 1:00-2:00, CS 214
• Course web page: http://lass.cs.umass.edu/~shenoy/courses/677
CS677: DistributedComputer Science Lecture 1, page 3
Course Outline
• Introduction (today)
– What, why, why not?
– Basics
• Interprocess Communication
– RPCs, RMI, message- and stream-oriented communication
• Processes and their scheduling
– Thread/process scheduling, code/process migration
• Naming and location management
– Entities, addresses, access points
CS677: DistributedComputer Science Lecture 1, page 4
Course Outline
• Canonical problems and solutions
– Mutual exclusion, leader election, clock synchronization, …
• Resource sharing, replication and consistency
– DSM, DFS, consistency issues, caching and replication
• Fault-tolerance
• Security in distributed Systems
• Distributed middleware
• Advanced topics: web, multimedia, real-time and mobile
systems
CS677: DistributedComputer Science Lecture 1, page 5
Misc. Course Details
• Textbook: Distributed Systems by Tannenbaum and Van
Steen, Prentice Hall 2001
• Grading
– 4-5 Homeworks (20%), 3-4 programming assignments (35%)
– 1 mid-term and 1 final (40%), class participation (5%)
• Course mailing list: cs677@cs.umass.edu
– You need to add yourself to this list! [ see class web page ]
• Pre-requisites
– Undergrad course in operating systems
– Good programming skills in a high-level prog. language
CS677: DistributedComputer Science Lecture 1, page 6
Definition of a Distributed System
• A distributed system:
– Multiple connected CPUs working together
– A collection of independent computers that appears to its
users as a single coherent system
• Examples: parallel machines, networked machines
CS677: DistributedComputer Science Lecture 1, page 7
Advantages and Disadvantages
• Advantages
– Communication and resource sharing possible
– Economics – price-performance ratio
– Reliability, scalability
– Potential for incremental growth
• Disadvantages
– Distribution-aware PLs, OSs and applications
– Network connectivity essential
– Security and privacy
CS677: DistributedComputer Science Lecture 1, page 8
Transparency in a Distributed System
Different forms of transparency in a distributed system.
Transparency Description
Access
Hide differences in data representation and how a
resource is accessed
Location Hide where a resource is located
Migration Hide that a resource may move to another location
Relocation
Hide that a resource may be moved to another
location while in use
Replication
Hide that a resource may be shared by several
competitive users
Concurrency
Hide that a resource may be shared by several
competitive users
Failure Hide the failure and recovery of a resource
Persistence
Hide whether a (software) resource is in memory or on
disk
CS677: DistributedComputer Science Lecture 1, page 9
Scalability Problems
Examples of scalability limitations.
Concept Example
Centralized services A single server for all users
Centralized data A single on-line telephone book
Centralized algorithms Doing routing based on complete information
CS677: DistributedComputer Science Lecture 1, page 10
Hardware Concepts:
Multiprocessors (1)
• Multiprocessor dimensions
– Memory: could be shared or be private to each CPU
– Interconnect: could be shared (bus-based) or switched
• A bus-based multiprocessor.
CS677: DistributedComputer Science Lecture 1, page 11
Multiprocessors (2)
a) A crossbar switch b) An omega switching network
1.8
CS677: DistributedComputer Science Lecture 1, page 12
Homogeneous Multicomputer
Systems
a) Grid b) Hypercube
1-9
CS677: DistributedComputer Science Lecture 1, page 13
Distributed Systems Models
• Minicomputer model (e.g., early networks)
– Each user has local machine
– Local processing but can fetch remote data (files, databases)
• Workstation model (e.g., Sprite)
– Processing can also migrate
• Client-server Model (e.g., V system, world wide web)
– User has local workstation
– Powerful workstations serve as servers (file, print, DB servers)
• Processor pool model (e.g., Amoeba, Plan 9)
– Terminals are Xterms or diskless terminals
– Pool of backend processors handle processing
CS677: DistributedComputer Science Lecture 1, page 14
Uniprocessor Operating Systems
• An OS acts as a resource manager or an arbitrator
– Manages CPU, I/O devices, memory
• OS provides a virtual interface that is easier to use
than hardware
• Structure of uniprocessor operating systems
– Monolithic (e.g., MS-DOS, early UNIX)
• One large kernel that handles everything
– Layered design
• Functionality is decomposed into N layers
• Each layer uses services of layer N-1 and implements
new service(s) for layer N+1
CS677: DistributedComputer Science Lecture 1, page 15
Uniprocessor Operating Systems
Microkernel architecture
• Small kernel
• user-level servers implement additional functionality
CS677: DistributedComputer Science Lecture 1, page 16
Distributed Operating System
• Manages resources in a distributed system
– Seamlessly and transparently to the user
• Looks to the user like a centralized OS
– But operates on multiple independent CPUs
• Provides transparency
– Location, migration, concurrency, replication,…
• Presents users with a virtual uniprocessor
CS677: DistributedComputer Science Lecture 1, page 17
Types of Distributed OSs
System Description Main Goal
DOS
Tightly-coupled operating system for multi-
processors and homogeneous multicomputers
Hide and manage
hardware resources
NOS
Loosely-coupled operating system for
heterogeneous multicomputers (LAN and WAN)
Offer local services
to remote clients
Middleware
Additional layer atop of NOS implementing
general-purpose services
Provide distribution
transparency
CS677: DistributedComputer Science Lecture 1, page 18
Multiprocessor Operating Systems
• Like a uniprocessor operating system
• Manages multiple CPUs transparently to the user
• Each processor has its own hardware cache
– Maintain consistency of cached data
CS677: DistributedComputer Science Lecture 1, page 19
Multicomputer Operating Systems
1.14
CS677: DistributedComputer Science Lecture 1, page 20
Network Operating System
1-19
CS677: DistributedComputer Science Lecture 1, page 21
Network Operating System
• Employs a client-server model
– Minimal OS kernel
– Additional functionality as user processes
1-20
CS677: DistributedComputer Science Lecture 1, page 22
Middleware-based Systems
• General structure of a distributed system as middleware.
1-22
CS677: DistributedComputer Science Lecture 1, page 23
Comparison between Systems
Item
Distributed OS
Network OS
Middleware-
based OS
Multiproc. Multicomp.
Degree of transparency Very High High Low High
Same OS on all nodes Yes Yes No No
Number of copies of OS 1 N N N
Basis for communication
Shared
memory
Messages Files Model specific
Resource management
Global,
central
Global,
distributed
Per node Per node
Scalability No Moderately Yes Varies
Openness Closed Closed Open Open

Más contenido relacionado

La actualidad más candente

1 distributed-systems-template-modified
1 distributed-systems-template-modified1 distributed-systems-template-modified
1 distributed-systems-template-modifiedzafargilani
 
Lecture 10 distributed database management system
Lecture 10   distributed database management systemLecture 10   distributed database management system
Lecture 10 distributed database management systememailharmeet
 
Adbms 23 distributed database design
Adbms 23 distributed database designAdbms 23 distributed database design
Adbms 23 distributed database designVaibhav Khanna
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemAnamika Singh
 
Unit 6 inter processor communication and synchronization
Unit 6 inter processor communication and synchronizationUnit 6 inter processor communication and synchronization
Unit 6 inter processor communication and synchronizationDipesh Vaya
 
Multivector and multiprocessor
Multivector and multiprocessorMultivector and multiprocessor
Multivector and multiprocessorKishan Panara
 
Unit 6 characteristics of multipreocessors
Unit 6 characteristics of multipreocessorsUnit 6 characteristics of multipreocessors
Unit 6 characteristics of multipreocessorsDipesh Vaya
 
Unit 6 interconnection structure
Unit 6 interconnection structureUnit 6 interconnection structure
Unit 6 interconnection structureDipesh Vaya
 
Parallel Processing Presentation2
Parallel Processing Presentation2Parallel Processing Presentation2
Parallel Processing Presentation2daniyalqureshi712
 
Distributed database management system
Distributed database management systemDistributed database management system
Distributed database management systemVinay D. Patel
 
uJES: Linking applications, services, databases & legacy systems.
uJES:  Linking applications, services, databases & legacy systems. uJES:  Linking applications, services, databases & legacy systems.
uJES: Linking applications, services, databases & legacy systems. Zelena Inc.
 
Distributed Shared Memory
Distributed Shared MemoryDistributed Shared Memory
Distributed Shared MemoryPrakhar Rastogi
 

La actualidad más candente (20)

6.distributed shared memory
6.distributed shared memory6.distributed shared memory
6.distributed shared memory
 
02 Distributed DBMSTechnology
02 Distributed DBMSTechnology02 Distributed DBMSTechnology
02 Distributed DBMSTechnology
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Database management system
Database management systemDatabase management system
Database management system
 
Desktop and multiprocessor systems
Desktop and multiprocessor systemsDesktop and multiprocessor systems
Desktop and multiprocessor systems
 
1 distributed-systems-template-modified
1 distributed-systems-template-modified1 distributed-systems-template-modified
1 distributed-systems-template-modified
 
Lecture 10 distributed database management system
Lecture 10   distributed database management systemLecture 10   distributed database management system
Lecture 10 distributed database management system
 
Adbms 23 distributed database design
Adbms 23 distributed database designAdbms 23 distributed database design
Adbms 23 distributed database design
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Unit 6 inter processor communication and synchronization
Unit 6 inter processor communication and synchronizationUnit 6 inter processor communication and synchronization
Unit 6 inter processor communication and synchronization
 
Multivector and multiprocessor
Multivector and multiprocessorMultivector and multiprocessor
Multivector and multiprocessor
 
Micro kernel
Micro kernelMicro kernel
Micro kernel
 
Unit 6 characteristics of multipreocessors
Unit 6 characteristics of multipreocessorsUnit 6 characteristics of multipreocessors
Unit 6 characteristics of multipreocessors
 
Unit 6 interconnection structure
Unit 6 interconnection structureUnit 6 interconnection structure
Unit 6 interconnection structure
 
Parallel Processing Presentation2
Parallel Processing Presentation2Parallel Processing Presentation2
Parallel Processing Presentation2
 
distributed dbms
distributed dbmsdistributed dbms
distributed dbms
 
Distributive operating system
Distributive operating systemDistributive operating system
Distributive operating system
 
Distributed database management system
Distributed database management systemDistributed database management system
Distributed database management system
 
uJES: Linking applications, services, databases & legacy systems.
uJES:  Linking applications, services, databases & legacy systems. uJES:  Linking applications, services, databases & legacy systems.
uJES: Linking applications, services, databases & legacy systems.
 
Distributed Shared Memory
Distributed Shared MemoryDistributed Shared Memory
Distributed Shared Memory
 

Destacado (6)

Networking hardware (2)
Networking hardware (2)Networking hardware (2)
Networking hardware (2)
 
Kathryn's presentation
Kathryn's presentationKathryn's presentation
Kathryn's presentation
 
Solanyi Bustos Actividad1-2mapac
Solanyi Bustos Actividad1-2mapacSolanyi Bustos Actividad1-2mapac
Solanyi Bustos Actividad1-2mapac
 
Networking hardware (2)
Networking hardware (2)Networking hardware (2)
Networking hardware (2)
 
Solanyi Bustos Actividad1-2mapac
Solanyi Bustos Actividad1-2mapacSolanyi Bustos Actividad1-2mapac
Solanyi Bustos Actividad1-2mapac
 
Vietnam WebQuest
Vietnam WebQuestVietnam WebQuest
Vietnam WebQuest
 

Similar a Lec01

Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.pptsirajmohammed35
 
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmmln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmmpeterhaile1
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4alixafar
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit INANDINI SHARMA
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfKishaKiddo
 
433672084-distributed-vs-parallel-computing-ppt.ppt
433672084-distributed-vs-parallel-computing-ppt.ppt433672084-distributed-vs-parallel-computing-ppt.ppt
433672084-distributed-vs-parallel-computing-ppt.pptMattChristianAustria2
 
Chapter 1 -_characterization_of_distributed_systems
Chapter 1 -_characterization_of_distributed_systemsChapter 1 -_characterization_of_distributed_systems
Chapter 1 -_characterization_of_distributed_systemsFrancelyno Murela
 
Operating system 09 distributed operating system
Operating system 09 distributed operating systemOperating system 09 distributed operating system
Operating system 09 distributed operating systemVaibhav Khanna
 
Operating Systems
Operating SystemsOperating Systems
Operating Systemsachal02
 
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptxChapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptxmeharikiros2
 
Chapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptChapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptMrVMNair
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.pptbalewayalew
 

Similar a Lec01 (20)

Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
 
Distributed Systems.ppt
Distributed Systems.pptDistributed Systems.ppt
Distributed Systems.ppt
 
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmmln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4
 
Distributed systems
Distributed systemsDistributed systems
Distributed systems
 
Chapter One.ppt
Chapter One.pptChapter One.ppt
Chapter One.ppt
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit I
 
Distributed Systems.pptx
Distributed Systems.pptxDistributed Systems.pptx
Distributed Systems.pptx
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdf
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
433672084-distributed-vs-parallel-computing-ppt.ppt
433672084-distributed-vs-parallel-computing-ppt.ppt433672084-distributed-vs-parallel-computing-ppt.ppt
433672084-distributed-vs-parallel-computing-ppt.ppt
 
Chapter 1 -_characterization_of_distributed_systems
Chapter 1 -_characterization_of_distributed_systemsChapter 1 -_characterization_of_distributed_systems
Chapter 1 -_characterization_of_distributed_systems
 
Operating system 09 distributed operating system
Operating system 09 distributed operating systemOperating system 09 distributed operating system
Operating system 09 distributed operating system
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptxChapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
 
Chapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptChapter 1_NG_2020.ppt
Chapter 1_NG_2020.ppt
 
Unit 2(oss) (1)
Unit 2(oss) (1)Unit 2(oss) (1)
Unit 2(oss) (1)
 
Distributed Operating System_4
Distributed Operating System_4Distributed Operating System_4
Distributed Operating System_4
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
 

Más de Downloadssu Fullmaza (10)

Learningtotakenotes 090420215959-phpapp02
Learningtotakenotes 090420215959-phpapp02Learningtotakenotes 090420215959-phpapp02
Learningtotakenotes 090420215959-phpapp02
 
Marzano summarizing-and-note-taking4349
Marzano summarizing-and-note-taking4349Marzano summarizing-and-note-taking4349
Marzano summarizing-and-note-taking4349
 
Network hardware 2
Network hardware 2Network hardware 2
Network hardware 2
 
Lecture1
Lecture1Lecture1
Lecture1
 
Lecture01 introduction
Lecture01 introductionLecture01 introduction
Lecture01 introduction
 
Networking hardware
Networking hardwareNetworking hardware
Networking hardware
 
Network
NetworkNetwork
Network
 
Chapter02
Chapter02Chapter02
Chapter02
 
Installing rhel-5-linux-redhat-enterprise-edition-stepbystep-1192652004798954-4
Installing rhel-5-linux-redhat-enterprise-edition-stepbystep-1192652004798954-4Installing rhel-5-linux-redhat-enterprise-edition-stepbystep-1192652004798954-4
Installing rhel-5-linux-redhat-enterprise-edition-stepbystep-1192652004798954-4
 
Chapter02
Chapter02Chapter02
Chapter02
 

Último

How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 

Último (20)

How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 

Lec01

  • 1. CS677: DistributedComputer Science Lecture 1, page 1 Distributed Operating Systems Spring 2005 Prashant Shenoy UMass Computer Science http://lass.cs.umass.edu/~shenoy/courses/677
  • 2. CS677: DistributedComputer Science Lecture 1, page 2 Course Syllabus • CMPSCI 677: Distributed Operating Systems • Instructor: Prashant Shenoy – Email: shenoy@cs.umass.edu, Phone: (413) 577 0850 – Office hours: Thursday 12:30-1:30, CS 336, or by appt • Teaching Asst: Puru Kulkarni – Email: purukulk@cs.umass.edu, Phone: (413) 545 4753 – Office hours: Tuesday 1:00-2:00, CS 214 • Course web page: http://lass.cs.umass.edu/~shenoy/courses/677
  • 3. CS677: DistributedComputer Science Lecture 1, page 3 Course Outline • Introduction (today) – What, why, why not? – Basics • Interprocess Communication – RPCs, RMI, message- and stream-oriented communication • Processes and their scheduling – Thread/process scheduling, code/process migration • Naming and location management – Entities, addresses, access points
  • 4. CS677: DistributedComputer Science Lecture 1, page 4 Course Outline • Canonical problems and solutions – Mutual exclusion, leader election, clock synchronization, … • Resource sharing, replication and consistency – DSM, DFS, consistency issues, caching and replication • Fault-tolerance • Security in distributed Systems • Distributed middleware • Advanced topics: web, multimedia, real-time and mobile systems
  • 5. CS677: DistributedComputer Science Lecture 1, page 5 Misc. Course Details • Textbook: Distributed Systems by Tannenbaum and Van Steen, Prentice Hall 2001 • Grading – 4-5 Homeworks (20%), 3-4 programming assignments (35%) – 1 mid-term and 1 final (40%), class participation (5%) • Course mailing list: cs677@cs.umass.edu – You need to add yourself to this list! [ see class web page ] • Pre-requisites – Undergrad course in operating systems – Good programming skills in a high-level prog. language
  • 6. CS677: DistributedComputer Science Lecture 1, page 6 Definition of a Distributed System • A distributed system: – Multiple connected CPUs working together – A collection of independent computers that appears to its users as a single coherent system • Examples: parallel machines, networked machines
  • 7. CS677: DistributedComputer Science Lecture 1, page 7 Advantages and Disadvantages • Advantages – Communication and resource sharing possible – Economics – price-performance ratio – Reliability, scalability – Potential for incremental growth • Disadvantages – Distribution-aware PLs, OSs and applications – Network connectivity essential – Security and privacy
  • 8. CS677: DistributedComputer Science Lecture 1, page 8 Transparency in a Distributed System Different forms of transparency in a distributed system. Transparency Description Access Hide differences in data representation and how a resource is accessed Location Hide where a resource is located Migration Hide that a resource may move to another location Relocation Hide that a resource may be moved to another location while in use Replication Hide that a resource may be shared by several competitive users Concurrency Hide that a resource may be shared by several competitive users Failure Hide the failure and recovery of a resource Persistence Hide whether a (software) resource is in memory or on disk
  • 9. CS677: DistributedComputer Science Lecture 1, page 9 Scalability Problems Examples of scalability limitations. Concept Example Centralized services A single server for all users Centralized data A single on-line telephone book Centralized algorithms Doing routing based on complete information
  • 10. CS677: DistributedComputer Science Lecture 1, page 10 Hardware Concepts: Multiprocessors (1) • Multiprocessor dimensions – Memory: could be shared or be private to each CPU – Interconnect: could be shared (bus-based) or switched • A bus-based multiprocessor.
  • 11. CS677: DistributedComputer Science Lecture 1, page 11 Multiprocessors (2) a) A crossbar switch b) An omega switching network 1.8
  • 12. CS677: DistributedComputer Science Lecture 1, page 12 Homogeneous Multicomputer Systems a) Grid b) Hypercube 1-9
  • 13. CS677: DistributedComputer Science Lecture 1, page 13 Distributed Systems Models • Minicomputer model (e.g., early networks) – Each user has local machine – Local processing but can fetch remote data (files, databases) • Workstation model (e.g., Sprite) – Processing can also migrate • Client-server Model (e.g., V system, world wide web) – User has local workstation – Powerful workstations serve as servers (file, print, DB servers) • Processor pool model (e.g., Amoeba, Plan 9) – Terminals are Xterms or diskless terminals – Pool of backend processors handle processing
  • 14. CS677: DistributedComputer Science Lecture 1, page 14 Uniprocessor Operating Systems • An OS acts as a resource manager or an arbitrator – Manages CPU, I/O devices, memory • OS provides a virtual interface that is easier to use than hardware • Structure of uniprocessor operating systems – Monolithic (e.g., MS-DOS, early UNIX) • One large kernel that handles everything – Layered design • Functionality is decomposed into N layers • Each layer uses services of layer N-1 and implements new service(s) for layer N+1
  • 15. CS677: DistributedComputer Science Lecture 1, page 15 Uniprocessor Operating Systems Microkernel architecture • Small kernel • user-level servers implement additional functionality
  • 16. CS677: DistributedComputer Science Lecture 1, page 16 Distributed Operating System • Manages resources in a distributed system – Seamlessly and transparently to the user • Looks to the user like a centralized OS – But operates on multiple independent CPUs • Provides transparency – Location, migration, concurrency, replication,… • Presents users with a virtual uniprocessor
  • 17. CS677: DistributedComputer Science Lecture 1, page 17 Types of Distributed OSs System Description Main Goal DOS Tightly-coupled operating system for multi- processors and homogeneous multicomputers Hide and manage hardware resources NOS Loosely-coupled operating system for heterogeneous multicomputers (LAN and WAN) Offer local services to remote clients Middleware Additional layer atop of NOS implementing general-purpose services Provide distribution transparency
  • 18. CS677: DistributedComputer Science Lecture 1, page 18 Multiprocessor Operating Systems • Like a uniprocessor operating system • Manages multiple CPUs transparently to the user • Each processor has its own hardware cache – Maintain consistency of cached data
  • 19. CS677: DistributedComputer Science Lecture 1, page 19 Multicomputer Operating Systems 1.14
  • 20. CS677: DistributedComputer Science Lecture 1, page 20 Network Operating System 1-19
  • 21. CS677: DistributedComputer Science Lecture 1, page 21 Network Operating System • Employs a client-server model – Minimal OS kernel – Additional functionality as user processes 1-20
  • 22. CS677: DistributedComputer Science Lecture 1, page 22 Middleware-based Systems • General structure of a distributed system as middleware. 1-22
  • 23. CS677: DistributedComputer Science Lecture 1, page 23 Comparison between Systems Item Distributed OS Network OS Middleware- based OS Multiproc. Multicomp. Degree of transparency Very High High Low High Same OS on all nodes Yes Yes No No Number of copies of OS 1 N N N Basis for communication Shared memory Messages Files Model specific Resource management Global, central Global, distributed Per node Per node Scalability No Moderately Yes Varies Openness Closed Closed Open Open