SlideShare a Scribd company logo
1 of 19
Distributed Computing
EG 3113 CT Diploma in Computer Engineering
5th Semester
Unit 1.2: Performance of Parallel processors
Lecture by : Er. Ashish K.C(Khatri)
Performance metrics of parallel processor:
• Speedup
• Efficiency
• Redundancy
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 2
Speedup:
• Speedup is a measure of performance.
• It measures the ratio between the sequential execution time and the parallel
execution time.
• The speedup is defined as the ratio of the serial runtime of the best sequential
algorithm for solving a problem to the time taken by the parallel algorithm to
solve the same problem on p processors.
• S(p)=
𝑇(1)
𝑇(𝑝)
where, T(1) – execution time with 1 processing unit
T(p) – execution time with p processing unit
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 3
• Figure: Example of speedup
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 4
Efficiency:
• Efficiency is a measure of the usage of the computational capacity.
• It measures the ratio between performance and the number of resources available
to achieve that performance.
• E(p)=
𝑆(𝑝)
𝑝
=
𝑇(1)
𝑝 ×𝑇(𝑝)
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 5
Redundancy:
• Redundancy measures the increase in the required computation when using more
processing units.
• It measures the ratio between the number of operations performed by the parallel
execution and by the sequential execution.
• R(p) =
𝑂(𝑝)
𝑂(1)
where, O(p) – total no. of operations performed by p processors
O(1) – total no. of operations performed by 1 processor
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 6
Amdahl’s Law:
• The speedup of a program using multiple processors in parallel computing is
limited by the time needed for the serial fraction of the problem.
• Suppose, Rajesh have to attend an invitation.
• Rajesh’s another two friend Radhe and Shyam are also invited.
• There are conditions that all three friends have to go there separately and all of
them have to be present at door to get into the hall.
• Now Rajesh is coming by car, Radhe by bus and Shyam is coming by foot.
• Now, how fast Rajesh and Radhe can reach there it doesn’t matter, they have to
wait for Shyam.
• So to speed up the overall process, we need to concentrate on the performance of
Shyam other than Rajesh or Radhe.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 7
• Amdahl's law is often used in parallel computing to predict the theoretical speedup
when using multiple processors.
• For example, if a program needs 20 hours to complete using a single thread, but a
one-hour portion of the program cannot be parallelized,
• therefore only the remaining 19 hours (p = 0.95) of execution time can be
parallelized,
• then regardless of how many threads are devoted to a parallelized execution of this
program, the minimum execution time cannot be less than one hour.
• Hence, the theoretical speedup is limited to at most 20 times the single thread
performance
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 8
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 9
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 10
Numericals:
• Suppose one wants to determine if it is advantageous to develop a parallel version
of a certain application. Through experimentation, it was verified that 90% of the
execution time is spent in procedures that can be parallelizable. What is the
maximum speedup that can be achieved with a parallel version of the application
executing on 8 processing units?
• Solution: proportion that can be made parallel, P = 90% = 0.9
no. of processors, N = 8
then,
speedup , S(p) =
1
1−𝑃 +
𝑃
𝑁
=
1
1−0.9 +
0.9
8
=
1
0.1+0.1125
=
1
0.2125
≈ 4.71
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 11
• In an enhancement of a design of a CPU, the speed of a floating point unit has
been increased by 20% and the fixed point unit has been increased by 10%. What
is overall speedup achieved if the ratio of the no. of floating point operations to no.
of fixed point operation is 2:3 and floating point operation used to take twice the
time taken by the fixed point operation in original design.
Soln:
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 12
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 13
Numerical:
Numerical:
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 14
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 15
Gustafson’s law:
• Gustafson’s Law says that if you apply P processors to a task that has serial
fraction f, scaling the task to take the same amount of time as before, the
speedup is
• Speedup = P + f (1-P)
= f + P (1-f )
• While Amdahl’s law starts from the sequential execution time to estimate the
maximum speedup that can be achieved with multiple processing units,
• Gustafson-Barsis’ law does the opposite, i.e., it starts from the parallel execution
time to estimate the maximum speedup in comparison with the sequential
execution.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 16
Example:
End of Unit

More Related Content

What's hot

The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen ProblemSukrit Gupta
 
Parallel computing chapter 3
Parallel computing chapter 3Parallel computing chapter 3
Parallel computing chapter 3Md. Mahedi Mahfuj
 
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer ArchitecturePankaj Kumar Jain
 
Load Balancing In Distributed Computing
Load Balancing In Distributed ComputingLoad Balancing In Distributed Computing
Load Balancing In Distributed ComputingRicha Singh
 
Symbol table management and error handling in compiler design
Symbol table management and error handling in compiler designSymbol table management and error handling in compiler design
Symbol table management and error handling in compiler designSwati Chauhan
 
Abstract data types
Abstract data typesAbstract data types
Abstract data typesTony Nguyen
 
Numerical computation
Numerical computationNumerical computation
Numerical computationmilinda1100
 
Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operationKamal Acharya
 
parallel programming in the parallel virtual machine-advanced system architec...
parallel programming in the parallel virtual machine-advanced system architec...parallel programming in the parallel virtual machine-advanced system architec...
parallel programming in the parallel virtual machine-advanced system architec...RoslinJoseph
 
Paging and Segmentation in Operating System
Paging and Segmentation in Operating SystemPaging and Segmentation in Operating System
Paging and Segmentation in Operating SystemRaj Mohan
 
Principles of soft computing-Associative memory networks
Principles of soft computing-Associative memory networksPrinciples of soft computing-Associative memory networks
Principles of soft computing-Associative memory networksSivagowry Shathesh
 
Allocation of Frames & Thrashing
Allocation of Frames & ThrashingAllocation of Frames & Thrashing
Allocation of Frames & Thrashingarifmollick8578
 

What's hot (20)

The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen Problem
 
Data Structure and Algorithm - Divide and Conquer
Data Structure and Algorithm - Divide and ConquerData Structure and Algorithm - Divide and Conquer
Data Structure and Algorithm - Divide and Conquer
 
Parallel computing chapter 3
Parallel computing chapter 3Parallel computing chapter 3
Parallel computing chapter 3
 
Max net
Max netMax net
Max net
 
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer Architecture
 
Load Balancing In Distributed Computing
Load Balancing In Distributed ComputingLoad Balancing In Distributed Computing
Load Balancing In Distributed Computing
 
Pram model
Pram modelPram model
Pram model
 
Undecidabality
UndecidabalityUndecidabality
Undecidabality
 
Sorting network
Sorting networkSorting network
Sorting network
 
Symbol table management and error handling in compiler design
Symbol table management and error handling in compiler designSymbol table management and error handling in compiler design
Symbol table management and error handling in compiler design
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
 
Numerical computation
Numerical computationNumerical computation
Numerical computation
 
Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operation
 
Parallel computing persentation
Parallel computing persentationParallel computing persentation
Parallel computing persentation
 
parallel programming in the parallel virtual machine-advanced system architec...
parallel programming in the parallel virtual machine-advanced system architec...parallel programming in the parallel virtual machine-advanced system architec...
parallel programming in the parallel virtual machine-advanced system architec...
 
Paging and Segmentation in Operating System
Paging and Segmentation in Operating SystemPaging and Segmentation in Operating System
Paging and Segmentation in Operating System
 
4. system models
4. system models4. system models
4. system models
 
Demand paging
Demand pagingDemand paging
Demand paging
 
Principles of soft computing-Associative memory networks
Principles of soft computing-Associative memory networksPrinciples of soft computing-Associative memory networks
Principles of soft computing-Associative memory networks
 
Allocation of Frames & Thrashing
Allocation of Frames & ThrashingAllocation of Frames & Thrashing
Allocation of Frames & Thrashing
 

Similar to Performance of Parallel Processors

3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
3. Potential Benefits, Limits and Costs of Parallel Programming.pdf3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
3. Potential Benefits, Limits and Costs of Parallel Programming.pdfMohamedAymen14
 
Parallel Programming for Multi- Core and Cluster Systems - Performance Analysis
Parallel Programming for Multi- Core and Cluster Systems - Performance AnalysisParallel Programming for Multi- Core and Cluster Systems - Performance Analysis
Parallel Programming for Multi- Core and Cluster Systems - Performance AnalysisShah Zaib
 
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptxICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptxjohnsmith96441
 
Parallel Computing - Lec 6
Parallel Computing - Lec 6Parallel Computing - Lec 6
Parallel Computing - Lec 6Shah Zaib
 
DYNAMIC TASK PARTITIONING MODEL IN PARALLEL COMPUTING
DYNAMIC TASK PARTITIONING MODEL IN PARALLEL COMPUTINGDYNAMIC TASK PARTITIONING MODEL IN PARALLEL COMPUTING
DYNAMIC TASK PARTITIONING MODEL IN PARALLEL COMPUTINGcscpconf
 
Parallel Algorithms Advantages and Disadvantages
Parallel Algorithms Advantages and DisadvantagesParallel Algorithms Advantages and Disadvantages
Parallel Algorithms Advantages and DisadvantagesMurtadha Alsabbagh
 
Fundamental Concept of Parallel Processing
Fundamental Concept of Parallel ProcessingFundamental Concept of Parallel Processing
Fundamental Concept of Parallel ProcessingAshish KC
 
Performance measures
Performance measuresPerformance measures
Performance measuresDivya Tiwari
 
performance uploading.pptx
performance uploading.pptxperformance uploading.pptx
performance uploading.pptxSanthiS10
 
Multicore_Architecture Book.pdf
Multicore_Architecture Book.pdfMulticore_Architecture Book.pdf
Multicore_Architecture Book.pdfSwatantraPrakash5
 
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELININGINCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELININGijiert bestjournal
 
Lecutre-6 Datapath Design.ppt
Lecutre-6 Datapath Design.pptLecutre-6 Datapath Design.ppt
Lecutre-6 Datapath Design.pptRaJibRaju3
 
Asymmetry in Large-Scale Graph Analysis, Explained
Asymmetry in Large-Scale Graph Analysis, ExplainedAsymmetry in Large-Scale Graph Analysis, Explained
Asymmetry in Large-Scale Graph Analysis, ExplainedVasia Kalavri
 
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...EUDAT
 
Computer architecture short note (version 8)
Computer architecture short note (version 8)Computer architecture short note (version 8)
Computer architecture short note (version 8)Nimmi Weeraddana
 

Similar to Performance of Parallel Processors (20)

3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
3. Potential Benefits, Limits and Costs of Parallel Programming.pdf3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
 
Parallel Programming for Multi- Core and Cluster Systems - Performance Analysis
Parallel Programming for Multi- Core and Cluster Systems - Performance AnalysisParallel Programming for Multi- Core and Cluster Systems - Performance Analysis
Parallel Programming for Multi- Core and Cluster Systems - Performance Analysis
 
Chap5 slides
Chap5 slidesChap5 slides
Chap5 slides
 
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptxICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
 
Parallel Computing - Lec 6
Parallel Computing - Lec 6Parallel Computing - Lec 6
Parallel Computing - Lec 6
 
DYNAMIC TASK PARTITIONING MODEL IN PARALLEL COMPUTING
DYNAMIC TASK PARTITIONING MODEL IN PARALLEL COMPUTINGDYNAMIC TASK PARTITIONING MODEL IN PARALLEL COMPUTING
DYNAMIC TASK PARTITIONING MODEL IN PARALLEL COMPUTING
 
Parallel Algorithms Advantages and Disadvantages
Parallel Algorithms Advantages and DisadvantagesParallel Algorithms Advantages and Disadvantages
Parallel Algorithms Advantages and Disadvantages
 
Fundamental Concept of Parallel Processing
Fundamental Concept of Parallel ProcessingFundamental Concept of Parallel Processing
Fundamental Concept of Parallel Processing
 
Performance measures
Performance measuresPerformance measures
Performance measures
 
Aca11 bk2 ch9
Aca11 bk2 ch9Aca11 bk2 ch9
Aca11 bk2 ch9
 
performance uploading.pptx
performance uploading.pptxperformance uploading.pptx
performance uploading.pptx
 
Multicore_Architecture Book.pdf
Multicore_Architecture Book.pdfMulticore_Architecture Book.pdf
Multicore_Architecture Book.pdf
 
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELININGINCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
 
Lecutre-6 Datapath Design.ppt
Lecutre-6 Datapath Design.pptLecutre-6 Datapath Design.ppt
Lecutre-6 Datapath Design.ppt
 
Srushti_M.E_PPT.ppt
Srushti_M.E_PPT.pptSrushti_M.E_PPT.ppt
Srushti_M.E_PPT.ppt
 
Asymmetry in Large-Scale Graph Analysis, Explained
Asymmetry in Large-Scale Graph Analysis, ExplainedAsymmetry in Large-Scale Graph Analysis, Explained
Asymmetry in Large-Scale Graph Analysis, Explained
 
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
 
Lecture1
Lecture1Lecture1
Lecture1
 
Computer architecture short note (version 8)
Computer architecture short note (version 8)Computer architecture short note (version 8)
Computer architecture short note (version 8)
 
Pipeline Computing by S. M. Risalat Hasan Chowdhury
Pipeline Computing by S. M. Risalat Hasan ChowdhuryPipeline Computing by S. M. Risalat Hasan Chowdhury
Pipeline Computing by S. M. Risalat Hasan Chowdhury
 

More from Ashish KC

Andrew File System
Andrew File SystemAndrew File System
Andrew File SystemAshish KC
 
Case Study - SUN NFS
Case Study - SUN NFSCase Study - SUN NFS
Case Study - SUN NFSAshish KC
 
Models of Distributed System
Models of Distributed SystemModels of Distributed System
Models of Distributed SystemAshish KC
 
Name Services and Domain Name System
Name Services and Domain Name SystemName Services and Domain Name System
Name Services and Domain Name SystemAshish KC
 
Uni Processor Architecture
Uni Processor ArchitectureUni Processor Architecture
Uni Processor ArchitectureAshish KC
 
File Service Architecture
File Service ArchitectureFile Service Architecture
File Service ArchitectureAshish KC
 
Types of Distributed System
Types of Distributed SystemTypes of Distributed System
Types of Distributed SystemAshish KC
 
Flynn's Taxonomy
Flynn's TaxonomyFlynn's Taxonomy
Flynn's TaxonomyAshish KC
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File SystemAshish KC
 
Fundamental Concept of Distributed Computing
Fundamental Concept of Distributed ComputingFundamental Concept of Distributed Computing
Fundamental Concept of Distributed ComputingAshish KC
 
Multi Processor and Multi Computer Models
Multi Processor and Multi Computer ModelsMulti Processor and Multi Computer Models
Multi Processor and Multi Computer ModelsAshish KC
 
Design Goals of Distributed System
Design Goals of Distributed SystemDesign Goals of Distributed System
Design Goals of Distributed SystemAshish KC
 
Video Display
Video DisplayVideo Display
Video DisplayAshish KC
 
Storage Devices
Storage DevicesStorage Devices
Storage DevicesAshish KC
 
Introduction to Processor
Introduction to ProcessorIntroduction to Processor
Introduction to ProcessorAshish KC
 
Input Devices
Input DevicesInput Devices
Input DevicesAshish KC
 
Motherboard and System Devices
Motherboard and System DevicesMotherboard and System Devices
Motherboard and System DevicesAshish KC
 
Power Supply
Power SupplyPower Supply
Power SupplyAshish KC
 

More from Ashish KC (20)

Andrew File System
Andrew File SystemAndrew File System
Andrew File System
 
Case Study - SUN NFS
Case Study - SUN NFSCase Study - SUN NFS
Case Study - SUN NFS
 
Models of Distributed System
Models of Distributed SystemModels of Distributed System
Models of Distributed System
 
Name Services and Domain Name System
Name Services and Domain Name SystemName Services and Domain Name System
Name Services and Domain Name System
 
Uni Processor Architecture
Uni Processor ArchitectureUni Processor Architecture
Uni Processor Architecture
 
File Service Architecture
File Service ArchitectureFile Service Architecture
File Service Architecture
 
Types of Distributed System
Types of Distributed SystemTypes of Distributed System
Types of Distributed System
 
Flynn's Taxonomy
Flynn's TaxonomyFlynn's Taxonomy
Flynn's Taxonomy
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
 
Fundamental Concept of Distributed Computing
Fundamental Concept of Distributed ComputingFundamental Concept of Distributed Computing
Fundamental Concept of Distributed Computing
 
Multi Processor and Multi Computer Models
Multi Processor and Multi Computer ModelsMulti Processor and Multi Computer Models
Multi Processor and Multi Computer Models
 
Design Goals of Distributed System
Design Goals of Distributed SystemDesign Goals of Distributed System
Design Goals of Distributed System
 
Monitors
MonitorsMonitors
Monitors
 
Video Display
Video DisplayVideo Display
Video Display
 
Storage Devices
Storage DevicesStorage Devices
Storage Devices
 
Introduction to Processor
Introduction to ProcessorIntroduction to Processor
Introduction to Processor
 
Input Devices
Input DevicesInput Devices
Input Devices
 
Motherboard and System Devices
Motherboard and System DevicesMotherboard and System Devices
Motherboard and System Devices
 
Power Supply
Power SupplyPower Supply
Power Supply
 
System Case
System CaseSystem Case
System Case
 

Recently uploaded

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 

Performance of Parallel Processors

  • 1. Distributed Computing EG 3113 CT Diploma in Computer Engineering 5th Semester Unit 1.2: Performance of Parallel processors Lecture by : Er. Ashish K.C(Khatri)
  • 2. Performance metrics of parallel processor: • Speedup • Efficiency • Redundancy 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 2
  • 3. Speedup: • Speedup is a measure of performance. • It measures the ratio between the sequential execution time and the parallel execution time. • The speedup is defined as the ratio of the serial runtime of the best sequential algorithm for solving a problem to the time taken by the parallel algorithm to solve the same problem on p processors. • S(p)= 𝑇(1) 𝑇(𝑝) where, T(1) – execution time with 1 processing unit T(p) – execution time with p processing unit 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 3
  • 4. • Figure: Example of speedup 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 4
  • 5. Efficiency: • Efficiency is a measure of the usage of the computational capacity. • It measures the ratio between performance and the number of resources available to achieve that performance. • E(p)= 𝑆(𝑝) 𝑝 = 𝑇(1) 𝑝 ×𝑇(𝑝) 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 5
  • 6. Redundancy: • Redundancy measures the increase in the required computation when using more processing units. • It measures the ratio between the number of operations performed by the parallel execution and by the sequential execution. • R(p) = 𝑂(𝑝) 𝑂(1) where, O(p) – total no. of operations performed by p processors O(1) – total no. of operations performed by 1 processor 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 6
  • 7. Amdahl’s Law: • The speedup of a program using multiple processors in parallel computing is limited by the time needed for the serial fraction of the problem. • Suppose, Rajesh have to attend an invitation. • Rajesh’s another two friend Radhe and Shyam are also invited. • There are conditions that all three friends have to go there separately and all of them have to be present at door to get into the hall. • Now Rajesh is coming by car, Radhe by bus and Shyam is coming by foot. • Now, how fast Rajesh and Radhe can reach there it doesn’t matter, they have to wait for Shyam. • So to speed up the overall process, we need to concentrate on the performance of Shyam other than Rajesh or Radhe. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 7
  • 8. • Amdahl's law is often used in parallel computing to predict the theoretical speedup when using multiple processors. • For example, if a program needs 20 hours to complete using a single thread, but a one-hour portion of the program cannot be parallelized, • therefore only the remaining 19 hours (p = 0.95) of execution time can be parallelized, • then regardless of how many threads are devoted to a parallelized execution of this program, the minimum execution time cannot be less than one hour. • Hence, the theoretical speedup is limited to at most 20 times the single thread performance 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 8
  • 9. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 9
  • 10. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 10
  • 11. Numericals: • Suppose one wants to determine if it is advantageous to develop a parallel version of a certain application. Through experimentation, it was verified that 90% of the execution time is spent in procedures that can be parallelizable. What is the maximum speedup that can be achieved with a parallel version of the application executing on 8 processing units? • Solution: proportion that can be made parallel, P = 90% = 0.9 no. of processors, N = 8 then, speedup , S(p) = 1 1−𝑃 + 𝑃 𝑁 = 1 1−0.9 + 0.9 8 = 1 0.1+0.1125 = 1 0.2125 ≈ 4.71 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 11
  • 12. • In an enhancement of a design of a CPU, the speed of a floating point unit has been increased by 20% and the fixed point unit has been increased by 10%. What is overall speedup achieved if the ratio of the no. of floating point operations to no. of fixed point operation is 2:3 and floating point operation used to take twice the time taken by the fixed point operation in original design. Soln: 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 12
  • 13. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 13 Numerical:
  • 14. Numerical: 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 14
  • 15. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 15
  • 16. Gustafson’s law: • Gustafson’s Law says that if you apply P processors to a task that has serial fraction f, scaling the task to take the same amount of time as before, the speedup is • Speedup = P + f (1-P) = f + P (1-f ) • While Amdahl’s law starts from the sequential execution time to estimate the maximum speedup that can be achieved with multiple processing units, • Gustafson-Barsis’ law does the opposite, i.e., it starts from the parallel execution time to estimate the maximum speedup in comparison with the sequential execution. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 16
  • 18.