SlideShare a Scribd company logo
1 of 29
Download to read offline
Parallel and distributed
computing
OUTLINE
Computing
Parallel computing
Distributed computing
Need of parallel and distributed computing
Scalability
COMPUTING
Computing is the process to complete a given goal
oriented task by computer technology
Computing may include the design and development
of software and hardware systems for a broad range
of purposes, often consist of structuring, processing
and managing any kind of information
Parallel vs. serial computing
Serial Computing: problem is broken into stream of
instructions that are executed sequentially one after other
on a single processor
One instructions executes at a time.
Parallel Computing: problem is broken into parts that can
be solved concurrently, and executed simultaneously on
different processors.
Parallel vs. serial computing
NEED OF PARALLEL AND DISTRIBUTED
COMPUTING
We assess evolutionary changes in machine architecture,
OS, Network connectivity & application workload
Instead of using centralized computer to solve
computational problems, parallel and distributed computing
systems are uses to solve large scale problems.
It uses multiple computers to solve computational problems
Therefor enhanced the quality of life and information
services.
NEED OF PARALLEL AND DISTRIBUTED
COMPUTING
Billions of people use internet every day.
As a result large data center must provide high performance
computing services to huge numbers of internet users
concurrently.
Where is parallel computing used
Artificial intelligence
Machine learning
Online transaction processing
Real time system and control applications
Disaster prevention
HPC Vs. HTC
Supercomputers and large data centers must provide High
Performance Computing services to deal huge numbers of internet
users concurrently
But HPC is no longer optimal for measuring performance, as the
speed of HPC systems has increased from Gflops (1990) to
Pflops(2010)
It also demands High Throughput Computing built with parallel and
distributed computing technologies as internet searches and web
services by millions + users simultaneously.
Thus performance goal shift to measure high throughput or number
of tasks completed per unit time.
PARALLEL COMPUTING SYSTEM
Parallel computing systems are the simultaneous
execution of the single task on multiple processors in
order to obtain results faster
The idea is based on the fact that the process of
solving a problem usually can be divided into smaller
tasks(divide and conquer), which may be carried out
simultaneously with some coordination.
The terms parallel computing architecture sometimes
used for computer with more than one processor (few to
thousands), available for processing
The recent multicore processors (chips with more than
one processor core) are some commercial examples which
bring parallel computing to the desktop.
Communication is done through Bus in parallel computing
PARALLEL COMPUTING SYSTEM
Types of Parallel Computing System
Bit Level Parallelism: Uses larger “words” which is fixed
sized piece of data
Instruction Level Parallelism: allow processors to execute
more than one instruction per clock cycle
Task-Level Parallelism: run computer code across multiple
processors to run multiple tasks at the same time on same
data.
Parallel Computing (Advantages)
Save time and money:
Solve larger/ complex problems:
Provide concurrency
Distributed Computing
Distributed Systems
We define a distributed system as one in which hardware or
software components located at networked computer
communicate and coordinate their actions only by passing
messages.
The simple definition covers the entire range of systems in which
networked computers can usefully be deployed.
A distributed system is a collection of independent computers
that appears to its users as a single coherent system.
Communication is done by message passing scheme.
Every computer in distributed system has its own Instruction
manager/CU
Distributed Systems
There are two types of architecture in distributed systems
1. General Purpose
Including PC, Laptops etc.
2. Special purpose
Mainframe computers or super computers
Differences (Parallel Vs. Distributed)
1. Multiple operations are
performed at a time
2. Single computer is
required
3. Multiple processors
perform multiple
operations
1. System components are
located at different
locations
2. Uses multiple computers
3. Multiple computers
perform multiple
operations
4. May have shared or
distributed memory
5. Communication is done
through bus
6. Improve system
performance
4. Only have distributed
memory
5. Communication is done
through message
passing
6. Improves scalability,
fault tolerance and
resource sharing
capabilities.
Differences (Parallel Vs. Distributed) Cont.
Scalability
Property of a system to handle a growing amount of
work by adding resources to the system
A system is described as scalable if it will remain
effective when there is a significant increase in the
number of resources and the number of users.
Scalability
1. Physical scalability / load scalability: system can
be scalable w.r.t its size, meaning that we can
easily add/remove more users and resources to
the system
2. Administrative scalability: increasing number of
organization or users to access a system.
3. Functional scalability: enhance system by adding
new functionality without disturbing exciting.
Scalability
1. Geographic scalability: maintain effectiveness
during expansion from local area to larger region
2. Generation scalability: ability to scale by adopting
new generations of components
3. Heterogeneous scalability: ability to adopt
components from different vendors
Horizontal (scale out) & vertical (scale up) scaling
Scaling Horizontally (out/in): adding/ removing
nodes from a system
Examples: scaling out (to increase) from one web
server to three.
This requires improvements in maintenance and
management.
Scaling Vertically (up/down): means
adding/removing resources to single i.e. addition of
CPUs, memory to single computer
These needs management, more sophisticated
programming to allocate resources and handles issues
Horizontal (scale out) & vertical (scale up) scaling
Scalability: Issues/Challenges
Scaling Vertically (up/down): means
adding/removing resources to single i.e. addition of
CPUs, memory to single computer
These needs management, more sophisticated
programming to allocate resources and handles issues
Amdahl’s law
It is named after a computer scientist Gene Amdahl
Formula which gives speedup in latency of execution of task
at fixed workload that can be expected of a system whose
resources are improved.
Often used in parallel computing to predict the theoretical
speedup when using multiple processors.
Amdahl’s law
Speedup is the ratio of the time it takes to execute a program
serially to the time it takes to execute in parallel and it is
denoted by S(n)
S(n) = single processing time
‘n’ processing time
Amdahl’s law
Amdahl’s law shows that a program’s serial parts limit the
potential speedup from parallelizing code.
When program executes on single core: Fs + Fp = T1
When program executes on single core: Fs + Fp/N= T1
Hence according to Amdahl’s law
Amdahl’s law
Numerical
Serial Run Time =40%
Parallel Run Time =60%
Number of processors=5

More Related Content

Similar to Parallel and Distributed Computing chapter 1

Parallel computing and its applications
Parallel computing and its applicationsParallel computing and its applications
Parallel computing and its applicationsBurhan Ahmed
 
Chap 2 classification of parralel architecture and introduction to parllel p...
Chap 2  classification of parralel architecture and introduction to parllel p...Chap 2  classification of parralel architecture and introduction to parllel p...
Chap 2 classification of parralel architecture and introduction to parllel p...Malobe Lottin Cyrille Marcel
 
System models for distributed and cloud computing
System models for distributed and cloud computingSystem models for distributed and cloud computing
System models for distributed and cloud computingpurplesea
 
2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semester2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semesterRafi Ullah
 
Distributed Processing
Distributed ProcessingDistributed Processing
Distributed ProcessingImtiaz Hussain
 
Distributed computing ).ppt him
Distributed computing ).ppt himDistributed computing ).ppt him
Distributed computing ).ppt himHimanshu Saini
 
Computing notes
Computing notesComputing notes
Computing notesthenraju24
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfKishaKiddo
 

Similar to Parallel and Distributed Computing chapter 1 (20)

CLOUD COMPUTING Unit-I.pdf
CLOUD COMPUTING Unit-I.pdfCLOUD COMPUTING Unit-I.pdf
CLOUD COMPUTING Unit-I.pdf
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
 
Parallel computing and its applications
Parallel computing and its applicationsParallel computing and its applications
Parallel computing and its applications
 
Chap 2 classification of parralel architecture and introduction to parllel p...
Chap 2  classification of parralel architecture and introduction to parllel p...Chap 2  classification of parralel architecture and introduction to parllel p...
Chap 2 classification of parralel architecture and introduction to parllel p...
 
Parallel Computing
Parallel ComputingParallel Computing
Parallel Computing
 
System models for distributed and cloud computing
System models for distributed and cloud computingSystem models for distributed and cloud computing
System models for distributed and cloud computing
 
CC unit 1.pptx
CC unit 1.pptxCC unit 1.pptx
CC unit 1.pptx
 
2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semester2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semester
 
ITM(2).ppt
ITM(2).pptITM(2).ppt
ITM(2).ppt
 
Distributed Processing
Distributed ProcessingDistributed Processing
Distributed Processing
 
Distributed Computing
Distributed ComputingDistributed Computing
Distributed Computing
 
Module 2.pdf
Module 2.pdfModule 2.pdf
Module 2.pdf
 
Distributed computing ).ppt him
Distributed computing ).ppt himDistributed computing ).ppt him
Distributed computing ).ppt him
 
CCUnit1.pdf
CCUnit1.pdfCCUnit1.pdf
CCUnit1.pdf
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
Computing notes
Computing notesComputing notes
Computing notes
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdf
 

More from AbdullahMunir32

Mobile Application Development-Lecture 15 & 16.pdf
Mobile Application Development-Lecture 15 & 16.pdfMobile Application Development-Lecture 15 & 16.pdf
Mobile Application Development-Lecture 15 & 16.pdfAbdullahMunir32
 
Mobile Application Development-Lecture 13 & 14.pdf
Mobile Application Development-Lecture 13 & 14.pdfMobile Application Development-Lecture 13 & 14.pdf
Mobile Application Development-Lecture 13 & 14.pdfAbdullahMunir32
 
Mobile Application Development -Lecture 11 & 12.pdf
Mobile Application Development -Lecture 11 & 12.pdfMobile Application Development -Lecture 11 & 12.pdf
Mobile Application Development -Lecture 11 & 12.pdfAbdullahMunir32
 
Mobile Application Development -Lecture 09 & 10.pdf
Mobile Application Development -Lecture 09 & 10.pdfMobile Application Development -Lecture 09 & 10.pdf
Mobile Application Development -Lecture 09 & 10.pdfAbdullahMunir32
 
Mobile Application Development -Lecture 07 & 08.pdf
Mobile Application Development -Lecture 07 & 08.pdfMobile Application Development -Lecture 07 & 08.pdf
Mobile Application Development -Lecture 07 & 08.pdfAbdullahMunir32
 
Mobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdfMobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdfAbdullahMunir32
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfAbdullahMunir32
 
Mobile Application Development-Lecture 01 & 02.pdf
Mobile Application Development-Lecture 01 & 02.pdfMobile Application Development-Lecture 01 & 02.pdf
Mobile Application Development-Lecture 01 & 02.pdfAbdullahMunir32
 
Parallel and Distributed Computing Chapter 13
Parallel and Distributed Computing Chapter 13Parallel and Distributed Computing Chapter 13
Parallel and Distributed Computing Chapter 13AbdullahMunir32
 
Parallel and Distributed Computing Chapter 12
Parallel and Distributed Computing Chapter 12Parallel and Distributed Computing Chapter 12
Parallel and Distributed Computing Chapter 12AbdullahMunir32
 
Parallel and Distributed Computing Chapter 11
Parallel and Distributed Computing Chapter 11Parallel and Distributed Computing Chapter 11
Parallel and Distributed Computing Chapter 11AbdullahMunir32
 
Parallel and Distributed Computing Chapter 10
Parallel and Distributed Computing Chapter 10Parallel and Distributed Computing Chapter 10
Parallel and Distributed Computing Chapter 10AbdullahMunir32
 
Parallel and Distributed Computing Chapter 9
Parallel and Distributed Computing Chapter 9Parallel and Distributed Computing Chapter 9
Parallel and Distributed Computing Chapter 9AbdullahMunir32
 
Parallel and Distributed Computing Chapter 8
Parallel and Distributed Computing Chapter 8Parallel and Distributed Computing Chapter 8
Parallel and Distributed Computing Chapter 8AbdullahMunir32
 
Parallel and Distributed Computing Chapter 7
Parallel and Distributed Computing Chapter 7Parallel and Distributed Computing Chapter 7
Parallel and Distributed Computing Chapter 7AbdullahMunir32
 
Parallel and Distributed Computing Chapter 6
Parallel and Distributed Computing Chapter 6Parallel and Distributed Computing Chapter 6
Parallel and Distributed Computing Chapter 6AbdullahMunir32
 
Parallel and Distributed Computing Chapter 5
Parallel and Distributed Computing Chapter 5Parallel and Distributed Computing Chapter 5
Parallel and Distributed Computing Chapter 5AbdullahMunir32
 
Parallel and Distributed Computing Chapter 4
Parallel and Distributed Computing Chapter 4Parallel and Distributed Computing Chapter 4
Parallel and Distributed Computing Chapter 4AbdullahMunir32
 
Parallel and Distributed Computing chapter 3
Parallel and Distributed Computing chapter 3Parallel and Distributed Computing chapter 3
Parallel and Distributed Computing chapter 3AbdullahMunir32
 
Parallel and Distributed Computing Chapter 2
Parallel and Distributed Computing Chapter 2Parallel and Distributed Computing Chapter 2
Parallel and Distributed Computing Chapter 2AbdullahMunir32
 

More from AbdullahMunir32 (20)

Mobile Application Development-Lecture 15 & 16.pdf
Mobile Application Development-Lecture 15 & 16.pdfMobile Application Development-Lecture 15 & 16.pdf
Mobile Application Development-Lecture 15 & 16.pdf
 
Mobile Application Development-Lecture 13 & 14.pdf
Mobile Application Development-Lecture 13 & 14.pdfMobile Application Development-Lecture 13 & 14.pdf
Mobile Application Development-Lecture 13 & 14.pdf
 
Mobile Application Development -Lecture 11 & 12.pdf
Mobile Application Development -Lecture 11 & 12.pdfMobile Application Development -Lecture 11 & 12.pdf
Mobile Application Development -Lecture 11 & 12.pdf
 
Mobile Application Development -Lecture 09 & 10.pdf
Mobile Application Development -Lecture 09 & 10.pdfMobile Application Development -Lecture 09 & 10.pdf
Mobile Application Development -Lecture 09 & 10.pdf
 
Mobile Application Development -Lecture 07 & 08.pdf
Mobile Application Development -Lecture 07 & 08.pdfMobile Application Development -Lecture 07 & 08.pdf
Mobile Application Development -Lecture 07 & 08.pdf
 
Mobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdfMobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdf
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdf
 
Mobile Application Development-Lecture 01 & 02.pdf
Mobile Application Development-Lecture 01 & 02.pdfMobile Application Development-Lecture 01 & 02.pdf
Mobile Application Development-Lecture 01 & 02.pdf
 
Parallel and Distributed Computing Chapter 13
Parallel and Distributed Computing Chapter 13Parallel and Distributed Computing Chapter 13
Parallel and Distributed Computing Chapter 13
 
Parallel and Distributed Computing Chapter 12
Parallel and Distributed Computing Chapter 12Parallel and Distributed Computing Chapter 12
Parallel and Distributed Computing Chapter 12
 
Parallel and Distributed Computing Chapter 11
Parallel and Distributed Computing Chapter 11Parallel and Distributed Computing Chapter 11
Parallel and Distributed Computing Chapter 11
 
Parallel and Distributed Computing Chapter 10
Parallel and Distributed Computing Chapter 10Parallel and Distributed Computing Chapter 10
Parallel and Distributed Computing Chapter 10
 
Parallel and Distributed Computing Chapter 9
Parallel and Distributed Computing Chapter 9Parallel and Distributed Computing Chapter 9
Parallel and Distributed Computing Chapter 9
 
Parallel and Distributed Computing Chapter 8
Parallel and Distributed Computing Chapter 8Parallel and Distributed Computing Chapter 8
Parallel and Distributed Computing Chapter 8
 
Parallel and Distributed Computing Chapter 7
Parallel and Distributed Computing Chapter 7Parallel and Distributed Computing Chapter 7
Parallel and Distributed Computing Chapter 7
 
Parallel and Distributed Computing Chapter 6
Parallel and Distributed Computing Chapter 6Parallel and Distributed Computing Chapter 6
Parallel and Distributed Computing Chapter 6
 
Parallel and Distributed Computing Chapter 5
Parallel and Distributed Computing Chapter 5Parallel and Distributed Computing Chapter 5
Parallel and Distributed Computing Chapter 5
 
Parallel and Distributed Computing Chapter 4
Parallel and Distributed Computing Chapter 4Parallel and Distributed Computing Chapter 4
Parallel and Distributed Computing Chapter 4
 
Parallel and Distributed Computing chapter 3
Parallel and Distributed Computing chapter 3Parallel and Distributed Computing chapter 3
Parallel and Distributed Computing chapter 3
 
Parallel and Distributed Computing Chapter 2
Parallel and Distributed Computing Chapter 2Parallel and Distributed Computing Chapter 2
Parallel and Distributed Computing Chapter 2
 

Recently uploaded

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Recently uploaded (20)

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

Parallel and Distributed Computing chapter 1

  • 2. OUTLINE Computing Parallel computing Distributed computing Need of parallel and distributed computing Scalability
  • 3. COMPUTING Computing is the process to complete a given goal oriented task by computer technology Computing may include the design and development of software and hardware systems for a broad range of purposes, often consist of structuring, processing and managing any kind of information
  • 4. Parallel vs. serial computing Serial Computing: problem is broken into stream of instructions that are executed sequentially one after other on a single processor One instructions executes at a time. Parallel Computing: problem is broken into parts that can be solved concurrently, and executed simultaneously on different processors.
  • 6. NEED OF PARALLEL AND DISTRIBUTED COMPUTING We assess evolutionary changes in machine architecture, OS, Network connectivity & application workload Instead of using centralized computer to solve computational problems, parallel and distributed computing systems are uses to solve large scale problems. It uses multiple computers to solve computational problems Therefor enhanced the quality of life and information services.
  • 7. NEED OF PARALLEL AND DISTRIBUTED COMPUTING Billions of people use internet every day. As a result large data center must provide high performance computing services to huge numbers of internet users concurrently.
  • 8. Where is parallel computing used Artificial intelligence Machine learning Online transaction processing Real time system and control applications Disaster prevention
  • 9. HPC Vs. HTC Supercomputers and large data centers must provide High Performance Computing services to deal huge numbers of internet users concurrently But HPC is no longer optimal for measuring performance, as the speed of HPC systems has increased from Gflops (1990) to Pflops(2010) It also demands High Throughput Computing built with parallel and distributed computing technologies as internet searches and web services by millions + users simultaneously. Thus performance goal shift to measure high throughput or number of tasks completed per unit time.
  • 10. PARALLEL COMPUTING SYSTEM Parallel computing systems are the simultaneous execution of the single task on multiple processors in order to obtain results faster The idea is based on the fact that the process of solving a problem usually can be divided into smaller tasks(divide and conquer), which may be carried out simultaneously with some coordination.
  • 11. The terms parallel computing architecture sometimes used for computer with more than one processor (few to thousands), available for processing The recent multicore processors (chips with more than one processor core) are some commercial examples which bring parallel computing to the desktop. Communication is done through Bus in parallel computing PARALLEL COMPUTING SYSTEM
  • 12. Types of Parallel Computing System Bit Level Parallelism: Uses larger “words” which is fixed sized piece of data Instruction Level Parallelism: allow processors to execute more than one instruction per clock cycle Task-Level Parallelism: run computer code across multiple processors to run multiple tasks at the same time on same data.
  • 13. Parallel Computing (Advantages) Save time and money: Solve larger/ complex problems: Provide concurrency
  • 15. Distributed Systems We define a distributed system as one in which hardware or software components located at networked computer communicate and coordinate their actions only by passing messages. The simple definition covers the entire range of systems in which networked computers can usefully be deployed. A distributed system is a collection of independent computers that appears to its users as a single coherent system. Communication is done by message passing scheme. Every computer in distributed system has its own Instruction manager/CU
  • 16. Distributed Systems There are two types of architecture in distributed systems 1. General Purpose Including PC, Laptops etc. 2. Special purpose Mainframe computers or super computers
  • 17. Differences (Parallel Vs. Distributed) 1. Multiple operations are performed at a time 2. Single computer is required 3. Multiple processors perform multiple operations 1. System components are located at different locations 2. Uses multiple computers 3. Multiple computers perform multiple operations
  • 18. 4. May have shared or distributed memory 5. Communication is done through bus 6. Improve system performance 4. Only have distributed memory 5. Communication is done through message passing 6. Improves scalability, fault tolerance and resource sharing capabilities. Differences (Parallel Vs. Distributed) Cont.
  • 19. Scalability Property of a system to handle a growing amount of work by adding resources to the system A system is described as scalable if it will remain effective when there is a significant increase in the number of resources and the number of users.
  • 20. Scalability 1. Physical scalability / load scalability: system can be scalable w.r.t its size, meaning that we can easily add/remove more users and resources to the system 2. Administrative scalability: increasing number of organization or users to access a system. 3. Functional scalability: enhance system by adding new functionality without disturbing exciting.
  • 21. Scalability 1. Geographic scalability: maintain effectiveness during expansion from local area to larger region 2. Generation scalability: ability to scale by adopting new generations of components 3. Heterogeneous scalability: ability to adopt components from different vendors
  • 22. Horizontal (scale out) & vertical (scale up) scaling Scaling Horizontally (out/in): adding/ removing nodes from a system Examples: scaling out (to increase) from one web server to three. This requires improvements in maintenance and management.
  • 23. Scaling Vertically (up/down): means adding/removing resources to single i.e. addition of CPUs, memory to single computer These needs management, more sophisticated programming to allocate resources and handles issues Horizontal (scale out) & vertical (scale up) scaling
  • 24.
  • 25. Scalability: Issues/Challenges Scaling Vertically (up/down): means adding/removing resources to single i.e. addition of CPUs, memory to single computer These needs management, more sophisticated programming to allocate resources and handles issues
  • 26. Amdahl’s law It is named after a computer scientist Gene Amdahl Formula which gives speedup in latency of execution of task at fixed workload that can be expected of a system whose resources are improved. Often used in parallel computing to predict the theoretical speedup when using multiple processors.
  • 27. Amdahl’s law Speedup is the ratio of the time it takes to execute a program serially to the time it takes to execute in parallel and it is denoted by S(n) S(n) = single processing time ‘n’ processing time
  • 28. Amdahl’s law Amdahl’s law shows that a program’s serial parts limit the potential speedup from parallelizing code. When program executes on single core: Fs + Fp = T1 When program executes on single core: Fs + Fp/N= T1 Hence according to Amdahl’s law
  • 29. Amdahl’s law Numerical Serial Run Time =40% Parallel Run Time =60% Number of processors=5