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

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Kürzlich hochgeladen (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

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