SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Downloaden Sie, um offline zu lesen
Fall 98 - EECS 591             Handout #1


          Lectures: weeks 1 - 3

              Introduction, characteristics of distributed systems, design issues, h/s concepts, distributed programming
              models
              Reading list: Tanenbaum Chapter 1, pp 1-32.

              Communication issues and network technologies
              Reading list: Tanenbaum Chapter 2.1, pp 34-42, network protocol layers.
              Handout: Chapter 4 - “The Road to Bandwidth Heaven” from C/S Survival Guide.
Slide 1
              Handout: Chapter 13 - “Internetworking: Concepts, Architecture, and Protocols” from Computer
              Networks and Internets by Doug Comer, 1996.
              Handout: Chapter 14 - “IP: Internet Protocol Address” from Computer Networks and Internets by Doug
              Comer, 1996.
              Handout: Chapter 28 - “Internet Protocols” from Internetworking Technologies Handbook by Ford, et. al.,
              CISCO Press, 1997.

              Models of distributed computation: synchronous vs asynchronous systems, failure models
              Reading list: Mullender Chapter 5.1-5.2, pp 97-102,

              Distributed computations, global system states, consistent cuts and runs
              Reading list: Mullender Chapter 4.
                                            Real-Time Computing Laboratory
                              RTCL
                                            The University of Michigan




                                                     Distributed Systems


          Three Technology Advances:

              Development of powerful microprocessors

              Development of high-speed networks

Slide 2       Development of denser and cheaper memory/storage




          Easy: put together large # of powerful processors connected by a high-speed network.




          Hard: SOFTWARE! SOFTWARE! SOFTWARE!



                                            Real-Time Computing Laboratory
                              RTCL
                                            The University of Michigan




                                                                  1
Distributed Systems



          What is a distributed system?

          “You know you have one when the crash of a computer you’ve never heard of stops you from
          getting any work done.” Leslie Lamport


Slide 3


          A collection of (perhaps) heterogeneous nodes connected by one or more interconnection
          networks which provides access to system-wide shared resources and services.




          A collection of independent computers that appear to the users of the system as a single
          computer. (Tananbaum’s text)



                                    Real-Time Computing Laboratory
                        RTCL
                                    The University of Michigan




                                                          2
Characteristics of a distributed systems:

           {   Multiple Computers:
               More than one physical computer, each consisting of CPUs, local memory, and possibly
               stable storage, and I/O paths to connect it with the environment.




           {   Interconnections:
               I/O paths for communicating with other nodes via a network.
Slide 4



           {   Shared State:
               If a subset of nodes cooperate to provide a service, a shared state is maintained by these
               nodes. The shared state is distributed or replicated among the participants.




                                        Real-Time Computing Laboratory
                          RTCL
                                        The University of Michigan




                                    Distributed vs. PCs/Centralized Systems



          Why distribute?

           { Resource sharing

           { Device sharing
Slide 5    { Flexibility to spread load

           { Incremental growth

           { Cost/performance

           { Reliability/Availability

           { Inherent distribution

           { Security?




                                        Real-Time Computing Laboratory
                          RTCL
                                        The University of Michigan




                                                              3
Why NOT distribute?

           { Software

           { Network

           { Security

           { System management

          Numerous sources of complexity including:

           { Transparent/uniform access to data or resources

Slide 6    { Independent failures of processors (or processes)

           { Dynamic membership of a system

           { Unreliable/unsecure communication

           { Overhead in message communication

           { Distribution or replication of data (or meta-data)

           { Lack of clean common interfaces




                                     Real-Time Computing Laboratory
                          RTCL
                                     The University of Michigan




                                               Key Design Issues




          Transparency

          Flexibility

          Dependability

          Performance

Slide 7   Scalability




                                     Real-Time Computing Laboratory
                          RTCL
                                     The University of Michigan




                                                           4
Transparency


          How to achieve “single-system image”? How to hide distribution from users or programs?


          Location transparency: users cannot tell where the h/s resources are located.

          Migration transparency: resources can move without changing their names.

          Replication transparency: number of copies or their locations are hidden from users.

Slide 8   Concurrency transparency: multiple users can share resources without being aware of others.

          Parallelism transparency: a task can be parallelized and run on multiple machines without the
             user being aware of it.



          Is transparency always a good idea?

                                       trade off transparency for performance




                                       Real-Time Computing Laboratory
                            RTCL
                                       The University of Michigan




                                                             5
Flexibility


           Key question is how to structure a distributed system?

                                                  Monolithic vs. Microkernel


               Monolithic kernel: Each machine runs a traditional o.s. kernel and provides most services via
               a system call interface to the kernel.

 Slide 9       Microkernel: provide as little as possible usually-
               o IPC
               o MM mechanism (not policy)
               o low-level process management and scheduling
               o low-level I/O
               Most other services provided by user-level servers. MODULARITY!


               Figure 1-14, Tanenbaum, p. 25


               Potential problems with microkernels?

                                            Real-Time Computing Laboratory
                                 RTCL
                                            The University of Michigan




                                                         Dependability




               Reliability: measured by the probability R(t) that the system is up (and providing correct
               service) during the time interval [0,t] assuming that it was operational at time t   = 0.

               Availability: measured by the probability A(t) that the system is operational at the instant of
               time t. As t   ! 1, availability expresses the fraction of time that the system is usable.

Slide 10       Integrity: replicated copies of data must be kept consistent.


               Security: protection from unauthorized usage/access. Why more difficult in distributed
               systems?




                                            Real-Time Computing Laboratory
                                 RTCL
                                            The University of Michigan




                                                                  6
Performance



           Various performance metrics:


           o response time
           o throughput
           o system utilization
Slide 11
           o network capacity utilization




           Key issue in parallelizing computations in a distributed system?


                                      overhead of message communication




                                      Real-Time Computing Laboratory
                          RTCL
                                      The University of Michigan




                                                            7
Trade off:


           More tasks ! more parallelism ! better performance
           More tasks ! more communication ! worse performance




           Grain size affects # of messages:

           fine-grained parallelism         vs.        coarse-grained parallelism
Slide 12

           small computations                         large computations
           high interaction rate                      low interaction rate




                                        Real-Time Computing Laboratory
                          RTCL
                                        The University of Michigan




                                                       Scalability




           The challenge is to build distributed systems that scale with the increase in the number of
           CPUs, users, and processes, larger databases, etc.


           A few simple principles: (Tanenbaum’s text)
           o Avoid centralized components
           o Avoid centralized tables
Slide 13
           o Avoid centralized algorithms


           A few lessons from AFS:
           o “Clients have cycles to burn.”
           o “Cache whenever possible.”
           o “Exploit usage properties.”
           o “Minimize system-wide knowledge/change.”
           o “Batch if possible.”
           o Multicast often works!


                                        Real-Time Computing Laboratory
                          RTCL
                                        The University of Michigan




                                                              8
Distributed Programming Paradigms



           Client/server model with distributed filesystems


           Remote procedure calls


           Group communication and multicasts


Slide 14
           Distributed transactions


           Distributed shared memory


           Distributed objects


           Java and the WWW




                                       Real-Time Computing Laboratory
                         RTCL
                                       The University of Michigan




                                                             9
Taxonomy for Parallel & Distributed Systems


           Flynn’s (1972) Classification of Multiple CPU Computer Systems:
           (# of instruction streams and # of data streams)

               SISD

Slide 15       SIMD

               MISD

               MIMD


           MIMD machines can be classified further:

               Multiprocessors: Single virtual address space is shared by all CPUs / more tightly coupled.

               Multicomputers: Each machine has its own private memory / more loosely coupled.




                                         Real-Time Computing Laboratory
                             RTCL
                                         The University of Michigan




                                          Bus-Based Multiprocessors


               All CPUs are connected to a memory module via a common bus.

               Coherency must be ensured as concurrent r/w occur
Slide 16
               Problem: bus may become overloaded with a very few CPUs

               Common solution: Use high-speed cache between CPU and bus
               high hit rate ! more CPUs allowed ! better perfomance

               Cache coherency problem? snoopy write-through cache
               32 to 64 CPUs on a bus is possible.




                                         Real-Time Computing Laboratory
                             RTCL
                                         The University of Michigan




                                                              10
Switched Multiprocessors


              Put a single switch between CPUs and memory modules.

              Various switch topologies (Figure 1-6, Tananbaum p.12).

              Crossbar switch: n CPU, n memory, n 2 crosspoints.

              Omega switch:   log n stages with n=2 in each stages.
                                  2

              Delay through multiple stages can be problem: NUMA.
Slide 17
              Each CPU has its own local memory and can access other memory modules slower.

           Tanenbaum’s comments:

              Bus-based multiprocessors are limited to 64.

              Large crossbar switches are expensive.

              Large omega switches are potentially expensive and long delay.

              NUMA machines require complex software.

           SO BUILDING A LARGE TIGHTLY-COUPLED MULTIPROCESSOR IS DIFFICULT AND
           EXPENSIVE. BUT LARGE LOOSELY-COUPLED MULTICOMPUTERS ARE EASY TO BUILD.
                                        Real-Time Computing Laboratory
                            RTCL
                                        The University of Michigan




                                                  Multicomputers


           Bus-based Multicomputers:

              Each CPU has its own private memory.

              Connection via a slower bus.
Slide 18      10-100 Mbps LANs vs. 300 Mbps and more backplane bus




           Switched Multicomputers:

              An interconnection network connects CPUs, each of which has its own local memory.

              Various topologies including grid, hypercube. (Figure 1-8, Tanenbaum)




                                        Real-Time Computing Laboratory
                            RTCL
                                        The University of Michigan




                                                             11

Weitere ähnliche Inhalte

Was ist angesagt?

Research Challenges in Networked Systems, Torsten Braun, Universität Bern
Research Challenges in Networked Systems, Torsten Braun, Universität BernResearch Challenges in Networked Systems, Torsten Braun, Universität Bern
Research Challenges in Networked Systems, Torsten Braun, Universität BernThe Research Council of Norway, IKTPLUSS
 
Issues and Challenges in Distributed Sensor Networks- A Review
Issues and Challenges in Distributed Sensor Networks- A ReviewIssues and Challenges in Distributed Sensor Networks- A Review
Issues and Challenges in Distributed Sensor Networks- A ReviewIOSR Journals
 
1 s2.0-s0957417410007244-main
1 s2.0-s0957417410007244-main1 s2.0-s0957417410007244-main
1 s2.0-s0957417410007244-mainasimnawaz54
 
RESILIENT VOTING MECHANISMS FOR MISSION SURVIVABILITY IN CYBERSPACE: COMBININ...
RESILIENT VOTING MECHANISMS FOR MISSION SURVIVABILITY IN CYBERSPACE: COMBININ...RESILIENT VOTING MECHANISMS FOR MISSION SURVIVABILITY IN CYBERSPACE: COMBININ...
RESILIENT VOTING MECHANISMS FOR MISSION SURVIVABILITY IN CYBERSPACE: COMBININ...IJNSA Journal
 
From Physical to Virtual Wireless Sensor Networks using Cloud Computing
From Physical to Virtual Wireless Sensor Networks using Cloud Computing From Physical to Virtual Wireless Sensor Networks using Cloud Computing
From Physical to Virtual Wireless Sensor Networks using Cloud Computing IJORCS
 
System Structure for Dependable Software Systems
System Structure for Dependable Software SystemsSystem Structure for Dependable Software Systems
System Structure for Dependable Software SystemsVincenzo De Florio
 
On-line Fault diagnosis of Arbitrary Connected Networks
On-line Fault diagnosis of Arbitrary Connected NetworksOn-line Fault diagnosis of Arbitrary Connected Networks
On-line Fault diagnosis of Arbitrary Connected NetworksIDES Editor
 
Different Approaches for Secure and Efficient Key Management in Mobile Ad-Hoc...
Different Approaches for Secure and Efficient Key Management in Mobile Ad-Hoc...Different Approaches for Secure and Efficient Key Management in Mobile Ad-Hoc...
Different Approaches for Secure and Efficient Key Management in Mobile Ad-Hoc...Editor IJMTER
 
Collaborative Memory Management for Reactive Sensor/Actor Systems
Collaborative Memory Management for Reactive Sensor/Actor SystemsCollaborative Memory Management for Reactive Sensor/Actor Systems
Collaborative Memory Management for Reactive Sensor/Actor SystemsSnehal Belsare Mokashi
 
fundamentals & link layers jntuk material
fundamentals & link layers jntuk materialfundamentals & link layers jntuk material
fundamentals & link layers jntuk materialNagendra Reddy Panyam
 
Distributed Computing: An Overview
Distributed Computing: An OverviewDistributed Computing: An Overview
Distributed Computing: An OverviewEswar Publications
 
Language Support For Fast And Reliable Message Based Communication In S...
Language  Support For  Fast And  Reliable  Message Based  Communication In  S...Language  Support For  Fast And  Reliable  Message Based  Communication In  S...
Language Support For Fast And Reliable Message Based Communication In S...alanocu
 
A Traffic-Aware Key Management Architecture for Reducing Energy Consumption i...
A Traffic-Aware Key Management Architecture for Reducing Energy Consumption i...A Traffic-Aware Key Management Architecture for Reducing Energy Consumption i...
A Traffic-Aware Key Management Architecture for Reducing Energy Consumption i...IDES Editor
 

Was ist angesagt? (18)

Research Challenges in Networked Systems, Torsten Braun, Universität Bern
Research Challenges in Networked Systems, Torsten Braun, Universität BernResearch Challenges in Networked Systems, Torsten Braun, Universität Bern
Research Challenges in Networked Systems, Torsten Braun, Universität Bern
 
Issues and Challenges in Distributed Sensor Networks- A Review
Issues and Challenges in Distributed Sensor Networks- A ReviewIssues and Challenges in Distributed Sensor Networks- A Review
Issues and Challenges in Distributed Sensor Networks- A Review
 
1 s2.0-s0957417410007244-main
1 s2.0-s0957417410007244-main1 s2.0-s0957417410007244-main
1 s2.0-s0957417410007244-main
 
Wireless lan
Wireless lanWireless lan
Wireless lan
 
RESILIENT VOTING MECHANISMS FOR MISSION SURVIVABILITY IN CYBERSPACE: COMBININ...
RESILIENT VOTING MECHANISMS FOR MISSION SURVIVABILITY IN CYBERSPACE: COMBININ...RESILIENT VOTING MECHANISMS FOR MISSION SURVIVABILITY IN CYBERSPACE: COMBININ...
RESILIENT VOTING MECHANISMS FOR MISSION SURVIVABILITY IN CYBERSPACE: COMBININ...
 
From Physical to Virtual Wireless Sensor Networks using Cloud Computing
From Physical to Virtual Wireless Sensor Networks using Cloud Computing From Physical to Virtual Wireless Sensor Networks using Cloud Computing
From Physical to Virtual Wireless Sensor Networks using Cloud Computing
 
System Structure for Dependable Software Systems
System Structure for Dependable Software SystemsSystem Structure for Dependable Software Systems
System Structure for Dependable Software Systems
 
On-line Fault diagnosis of Arbitrary Connected Networks
On-line Fault diagnosis of Arbitrary Connected NetworksOn-line Fault diagnosis of Arbitrary Connected Networks
On-line Fault diagnosis of Arbitrary Connected Networks
 
10.1.1.20.72
10.1.1.20.7210.1.1.20.72
10.1.1.20.72
 
Distributed Networks within ROS: Challenges and Possibilities
Distributed Networks within ROS: Challenges and PossibilitiesDistributed Networks within ROS: Challenges and Possibilities
Distributed Networks within ROS: Challenges and Possibilities
 
Different Approaches for Secure and Efficient Key Management in Mobile Ad-Hoc...
Different Approaches for Secure and Efficient Key Management in Mobile Ad-Hoc...Different Approaches for Secure and Efficient Key Management in Mobile Ad-Hoc...
Different Approaches for Secure and Efficient Key Management in Mobile Ad-Hoc...
 
Research Challenges in Networked Systems
Research Challenges in Networked SystemsResearch Challenges in Networked Systems
Research Challenges in Networked Systems
 
Collaborative Memory Management for Reactive Sensor/Actor Systems
Collaborative Memory Management for Reactive Sensor/Actor SystemsCollaborative Memory Management for Reactive Sensor/Actor Systems
Collaborative Memory Management for Reactive Sensor/Actor Systems
 
Adidrds
AdidrdsAdidrds
Adidrds
 
fundamentals & link layers jntuk material
fundamentals & link layers jntuk materialfundamentals & link layers jntuk material
fundamentals & link layers jntuk material
 
Distributed Computing: An Overview
Distributed Computing: An OverviewDistributed Computing: An Overview
Distributed Computing: An Overview
 
Language Support For Fast And Reliable Message Based Communication In S...
Language  Support For  Fast And  Reliable  Message Based  Communication In  S...Language  Support For  Fast And  Reliable  Message Based  Communication In  S...
Language Support For Fast And Reliable Message Based Communication In S...
 
A Traffic-Aware Key Management Architecture for Reducing Energy Consumption i...
A Traffic-Aware Key Management Architecture for Reducing Energy Consumption i...A Traffic-Aware Key Management Architecture for Reducing Energy Consumption i...
A Traffic-Aware Key Management Architecture for Reducing Energy Consumption i...
 

Ähnlich wie Handout1

DISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docxDISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docxvinaypandey170
 
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmmln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmmpeterhaile1
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed Systemsnaveedchak
 
Introduction to Distributed System
Introduction to Distributed SystemIntroduction to Distributed System
Introduction to Distributed SystemSunita Sahu
 
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...CSCJournals
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel systemManish Singh
 
Cluster computing pptl (2)
Cluster computing pptl (2)Cluster computing pptl (2)
Cluster computing pptl (2)Rohit Jain
 
Clustercomputingpptl2 120204125126-phpapp01
Clustercomputingpptl2 120204125126-phpapp01Clustercomputingpptl2 120204125126-phpapp01
Clustercomputingpptl2 120204125126-phpapp01Ankit Soni
 
Clustering by AKASHMSHAH
Clustering by AKASHMSHAHClustering by AKASHMSHAH
Clustering by AKASHMSHAHAkash M Shah
 
Distributed computing
Distributed computingDistributed computing
Distributed computingshivli0769
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemPrankit Mishra
 
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT JaipurDistributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT JaipurDrNilam Choudhary
 
Distributed system
Distributed systemDistributed system
Distributed systemchirag patil
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introductionTamrat Amare
 
Survey on replication techniques for distributed system
Survey on replication techniques for distributed systemSurvey on replication techniques for distributed system
Survey on replication techniques for distributed systemIJECEIAES
 

Ähnlich wie Handout1 (20)

DISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docxDISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docx
 
Distributed Systems.ppt
Distributed Systems.pptDistributed Systems.ppt
Distributed Systems.ppt
 
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmmln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
ln13-ds.pptefefdfdgdgerhfhgjhmmmmmmmmmmm
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed Systems
 
Introduction to Distributed System
Introduction to Distributed SystemIntroduction to Distributed System
Introduction to Distributed System
 
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
 
Cluster computing pptl (2)
Cluster computing pptl (2)Cluster computing pptl (2)
Cluster computing pptl (2)
 
Clustercomputingpptl2 120204125126-phpapp01
Clustercomputingpptl2 120204125126-phpapp01Clustercomputingpptl2 120204125126-phpapp01
Clustercomputingpptl2 120204125126-phpapp01
 
Clustering by AKASHMSHAH
Clustering by AKASHMSHAHClustering by AKASHMSHAH
Clustering by AKASHMSHAH
 
Distributed computing
Distributed computingDistributed computing
Distributed computing
 
DTN
DTNDTN
DTN
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT JaipurDistributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
 
Distributed system
Distributed systemDistributed system
Distributed system
 
VOICE
VOICEVOICE
VOICE
 
Distributed systems
Distributed systemsDistributed systems
Distributed systems
 
OS .pptx
OS .pptxOS .pptx
OS .pptx
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introduction
 
Survey on replication techniques for distributed system
Survey on replication techniques for distributed systemSurvey on replication techniques for distributed system
Survey on replication techniques for distributed system
 

Kürzlich hochgeladen

Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 

Kürzlich hochgeladen (20)

Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 

Handout1

  • 1. Fall 98 - EECS 591 Handout #1 Lectures: weeks 1 - 3 Introduction, characteristics of distributed systems, design issues, h/s concepts, distributed programming models Reading list: Tanenbaum Chapter 1, pp 1-32. Communication issues and network technologies Reading list: Tanenbaum Chapter 2.1, pp 34-42, network protocol layers. Handout: Chapter 4 - “The Road to Bandwidth Heaven” from C/S Survival Guide. Slide 1 Handout: Chapter 13 - “Internetworking: Concepts, Architecture, and Protocols” from Computer Networks and Internets by Doug Comer, 1996. Handout: Chapter 14 - “IP: Internet Protocol Address” from Computer Networks and Internets by Doug Comer, 1996. Handout: Chapter 28 - “Internet Protocols” from Internetworking Technologies Handbook by Ford, et. al., CISCO Press, 1997. Models of distributed computation: synchronous vs asynchronous systems, failure models Reading list: Mullender Chapter 5.1-5.2, pp 97-102, Distributed computations, global system states, consistent cuts and runs Reading list: Mullender Chapter 4. Real-Time Computing Laboratory RTCL The University of Michigan Distributed Systems Three Technology Advances: Development of powerful microprocessors Development of high-speed networks Slide 2 Development of denser and cheaper memory/storage Easy: put together large # of powerful processors connected by a high-speed network. Hard: SOFTWARE! SOFTWARE! SOFTWARE! Real-Time Computing Laboratory RTCL The University of Michigan 1
  • 2. Distributed Systems What is a distributed system? “You know you have one when the crash of a computer you’ve never heard of stops you from getting any work done.” Leslie Lamport Slide 3 A collection of (perhaps) heterogeneous nodes connected by one or more interconnection networks which provides access to system-wide shared resources and services. A collection of independent computers that appear to the users of the system as a single computer. (Tananbaum’s text) Real-Time Computing Laboratory RTCL The University of Michigan 2
  • 3. Characteristics of a distributed systems: { Multiple Computers: More than one physical computer, each consisting of CPUs, local memory, and possibly stable storage, and I/O paths to connect it with the environment. { Interconnections: I/O paths for communicating with other nodes via a network. Slide 4 { Shared State: If a subset of nodes cooperate to provide a service, a shared state is maintained by these nodes. The shared state is distributed or replicated among the participants. Real-Time Computing Laboratory RTCL The University of Michigan Distributed vs. PCs/Centralized Systems Why distribute? { Resource sharing { Device sharing Slide 5 { Flexibility to spread load { Incremental growth { Cost/performance { Reliability/Availability { Inherent distribution { Security? Real-Time Computing Laboratory RTCL The University of Michigan 3
  • 4. Why NOT distribute? { Software { Network { Security { System management Numerous sources of complexity including: { Transparent/uniform access to data or resources Slide 6 { Independent failures of processors (or processes) { Dynamic membership of a system { Unreliable/unsecure communication { Overhead in message communication { Distribution or replication of data (or meta-data) { Lack of clean common interfaces Real-Time Computing Laboratory RTCL The University of Michigan Key Design Issues Transparency Flexibility Dependability Performance Slide 7 Scalability Real-Time Computing Laboratory RTCL The University of Michigan 4
  • 5. Transparency How to achieve “single-system image”? How to hide distribution from users or programs? Location transparency: users cannot tell where the h/s resources are located. Migration transparency: resources can move without changing their names. Replication transparency: number of copies or their locations are hidden from users. Slide 8 Concurrency transparency: multiple users can share resources without being aware of others. Parallelism transparency: a task can be parallelized and run on multiple machines without the user being aware of it. Is transparency always a good idea? trade off transparency for performance Real-Time Computing Laboratory RTCL The University of Michigan 5
  • 6. Flexibility Key question is how to structure a distributed system? Monolithic vs. Microkernel Monolithic kernel: Each machine runs a traditional o.s. kernel and provides most services via a system call interface to the kernel. Slide 9 Microkernel: provide as little as possible usually- o IPC o MM mechanism (not policy) o low-level process management and scheduling o low-level I/O Most other services provided by user-level servers. MODULARITY! Figure 1-14, Tanenbaum, p. 25 Potential problems with microkernels? Real-Time Computing Laboratory RTCL The University of Michigan Dependability Reliability: measured by the probability R(t) that the system is up (and providing correct service) during the time interval [0,t] assuming that it was operational at time t = 0. Availability: measured by the probability A(t) that the system is operational at the instant of time t. As t ! 1, availability expresses the fraction of time that the system is usable. Slide 10 Integrity: replicated copies of data must be kept consistent. Security: protection from unauthorized usage/access. Why more difficult in distributed systems? Real-Time Computing Laboratory RTCL The University of Michigan 6
  • 7. Performance Various performance metrics: o response time o throughput o system utilization Slide 11 o network capacity utilization Key issue in parallelizing computations in a distributed system? overhead of message communication Real-Time Computing Laboratory RTCL The University of Michigan 7
  • 8. Trade off: More tasks ! more parallelism ! better performance More tasks ! more communication ! worse performance Grain size affects # of messages: fine-grained parallelism vs. coarse-grained parallelism Slide 12 small computations large computations high interaction rate low interaction rate Real-Time Computing Laboratory RTCL The University of Michigan Scalability The challenge is to build distributed systems that scale with the increase in the number of CPUs, users, and processes, larger databases, etc. A few simple principles: (Tanenbaum’s text) o Avoid centralized components o Avoid centralized tables Slide 13 o Avoid centralized algorithms A few lessons from AFS: o “Clients have cycles to burn.” o “Cache whenever possible.” o “Exploit usage properties.” o “Minimize system-wide knowledge/change.” o “Batch if possible.” o Multicast often works! Real-Time Computing Laboratory RTCL The University of Michigan 8
  • 9. Distributed Programming Paradigms Client/server model with distributed filesystems Remote procedure calls Group communication and multicasts Slide 14 Distributed transactions Distributed shared memory Distributed objects Java and the WWW Real-Time Computing Laboratory RTCL The University of Michigan 9
  • 10. Taxonomy for Parallel & Distributed Systems Flynn’s (1972) Classification of Multiple CPU Computer Systems: (# of instruction streams and # of data streams) SISD Slide 15 SIMD MISD MIMD MIMD machines can be classified further: Multiprocessors: Single virtual address space is shared by all CPUs / more tightly coupled. Multicomputers: Each machine has its own private memory / more loosely coupled. Real-Time Computing Laboratory RTCL The University of Michigan Bus-Based Multiprocessors All CPUs are connected to a memory module via a common bus. Coherency must be ensured as concurrent r/w occur Slide 16 Problem: bus may become overloaded with a very few CPUs Common solution: Use high-speed cache between CPU and bus high hit rate ! more CPUs allowed ! better perfomance Cache coherency problem? snoopy write-through cache 32 to 64 CPUs on a bus is possible. Real-Time Computing Laboratory RTCL The University of Michigan 10
  • 11. Switched Multiprocessors Put a single switch between CPUs and memory modules. Various switch topologies (Figure 1-6, Tananbaum p.12). Crossbar switch: n CPU, n memory, n 2 crosspoints. Omega switch: log n stages with n=2 in each stages. 2 Delay through multiple stages can be problem: NUMA. Slide 17 Each CPU has its own local memory and can access other memory modules slower. Tanenbaum’s comments: Bus-based multiprocessors are limited to 64. Large crossbar switches are expensive. Large omega switches are potentially expensive and long delay. NUMA machines require complex software. SO BUILDING A LARGE TIGHTLY-COUPLED MULTIPROCESSOR IS DIFFICULT AND EXPENSIVE. BUT LARGE LOOSELY-COUPLED MULTICOMPUTERS ARE EASY TO BUILD. Real-Time Computing Laboratory RTCL The University of Michigan Multicomputers Bus-based Multicomputers: Each CPU has its own private memory. Connection via a slower bus. Slide 18 10-100 Mbps LANs vs. 300 Mbps and more backplane bus Switched Multicomputers: An interconnection network connects CPUs, each of which has its own local memory. Various topologies including grid, hypercube. (Figure 1-8, Tanenbaum) Real-Time Computing Laboratory RTCL The University of Michigan 11