SlideShare a Scribd company logo
UNIT 1 - Introduction
AUTOMATING PARALLEL PROGRAMMING
 When writing code, we typically don’t need to understand the details of the target system, as the
compiler handles it.
 Developers usually think in terms of a single CPU and sequential processing during coding and
debugging.
 Implementing algorithms for parallel systems (software or hardware) is more related than it seems.
 Parallelism in software and hardware shares common challenges and approaches.
AUTOMATING PARALLEL PROGRAMMING
AUTOMATING PARALLEL PROGRAMMING
Layers of Implementation
 Layer 5 - Application Layer:
 Defines the application or problem to be implemented on a parallel computing platform.
 Specifies the inputs and outputs, including data storage and timing requirements.
 Layer 4 - Algorithm Development:
 Focuses on defining the tasks and their interdependencies.
 Parallelism may not be evident in this layer, as tasks are usually developed for linear execution.
 The result is a dependence graph, directed graph (DG), or adjacency matrix summarizing task
dependencies.
AUTOMATING PARALLEL PROGRAMMING
 Layer 3 - Parallelization Layer:
 Extracts parallelism from the algorithm developed in Layer 4.
 It generates thread timing and processor assignments for software or hardware implementations.
 This layer is crucial for optimizing the algorithm for parallel execution.
 Layer 2 - Coding Layer:
 Involves writing the parallel algorithm in a high-level language.
 The language depends on the target parallel computing platform. For general-purpose platforms,
languages like Cilk++, OpenMP, or CUDA(computer unified device architecture) are used.
 For custom platforms, Hardware Description Languages (HDLs) like Verilog or VHDL are used.
AUTOMATING PARALLEL PROGRAMMING
 Layer 1 - Realization Layer:
 The algorithm is realized on a parallel computer platform, using methods like multithreading or custom parallel
processors (e.g., ASICs(application specific integrated circuit) or FPGAs (Field programmable gateways) ).
Automatic Programming in Parallel Computing:
 Automatic serial programming: The programmer writes code in high-level languages (C, Java, FORTRAN), and the
code is compiled automatically.
 Parallel computing: It is more complex as programmers need to manage how tasks are distributed and executed across
multiple processors.
 Parallelizing compilers can handle simple loops and embarrassingly parallel algorithms (tasks that can be easily
parallelized).
 For more complex tasks, the programmer needs intimate knowledge of processor interactions and task execution timing.
Parallel Algorithms and Parallel Architectures
 Parallel algorithms and parallel hardware are interconnected; the development of one often depends on
the other.
 Parallelism can be implemented at different levels in a computing system through hardware and
software techniques:
Data-Level Parallelism
 Operates on multiple bits of a datum or multiple data simultaneously.
 Examples: Bit-parallel addition, multiplication, division, vector processor arrays, and systolic arrays.
Instruction-Level Parallelism (ILP)
 Executes multiple instructions simultaneously within a processor. Example:
 Instruction pipelining.
Parallel Algorithms and Parallel Architectures
Thread-Level Parallelism (TLP)
 Executes multiple threads (lightweight processes sharing processor resources) simultaneously.
 Threads can run on one or multiple processors.
Process-Level Parallelism
 Manages multiple independent processes, each with dedicated resources like memory and registers.
Example:
 Classic multitasking and time-sharing across single or multiple machines.
Measuring benefits of Parallel Computing
Speedup Factor
 The benefit of parallel computing is measured by comparing the time taken to complete a task on a
single processor with the time taken on N parallel processors. The speedup, S(N) , is defined as:
 where Tp (1) is the algorithm processing time on a single processor and
 Tp ( N ) is the processing time on the parallel processors.
 In an ideal situation, for a fully parallelizable algorithm, and when the communication time between
processors and memory is neglected , we have Tp ( N ) = Tp (1)/ N , and the above equation gives
Communication Overhead
 Both single and parallel computing systems require data transfer between processors and memory.
 Communication delays occur due to a speed mismatch between the processor and memory.
 Parallel systems need processors to exchange data via interconnection networks, adding complexity.
Issues Affecting Communication Efficiency:
Interconnection Network Delay:
 Delays arise from factors like:
 Bit propagation.
 Message transmission.
 Queuing within the network.
 These delays depend on network topology, data size, and network speed.
Communication Overhead
Memory Bandwidth:
 Memory access is limited by a single-port system, restricting data transfer to one word per memory cycle.
Memory Collisions:
 Occur when multiple processors try to access the same memory module simultaneously.
 Arbitration mechanisms are required to resolve access conflicts.
Memory Wall:
 Memory transfer speeds lag behind processor speeds.
 This problem is being solved using memory hierarchy such as
 register → cache → RAM → electronic disk → magnetic disk → optical disk).
Communication Overhead
Estimating Speedup Factor and Communication
Overhead
 Let us assume we
have a parallel
algorithm consisting
of N independent
tasks that can be
executed either
on a single processor
or on N processors
 Under these ideal
circumstances,
Amdahl's Law
 Amdahl's Law is a fundamental principle used to estimate the potential speedup that can be achieved by
parallelizing a computation.
 It describes the maximum expected improvement in the execution time of a program when part of the
computation is parallelized.
Amdahl's Law
 Overall Speedup(max) = 1/{1 – Fraction Enhanced}
 Likewise, we can also think of the case where f = 1. Amdahl’s law is a principle that states that the
maximum potential improvement to the performance of a system is limited by the portion of the system
that cannot be improved.
 In other words, the performance improvement of a system as a whole is limited by its bottlenecks. The
law is often used to predict the potential performance improvement of a system when adding more
processors or improving the speed of individual processors.
 It is named after Gene Amdahl, who first proposed it in 1967.
Amdahl's Law
 The formula for Amdahl’s law is:
S = 1 / (1 – P + (P / N)) Where:
 S is the speedup of the system
 P is the proportion of the system that can be improved N is the number of processors in the system
 For example, if a system has a single bottleneck that occupies 20% of the total execution time, and we
add 4 more processors to the system, the speedup would be:
S = 1 / (1 – 0.2 + (0.2 / 5))
S = 1 / (0.8 + 0.04)
S = 1 / 0.84
S = 1.19
 This means that the overall performance of the system would improve by about 19% with the addition of
the 4 processors.
APPLICATIONS OF PARALLEL COMPUTING
Scientific Research and Simulation:
 Weather Forecasting: Running complex models to predict weather patterns and climate changes.
 Astrophysics and Cosmology: Simulating celestial bodies, universe evolution, etc.
 Molecular Dynamics: Studying molecular interactions, protein folding, drug discovery, etc.
Big Data Analytics and Data Processing:
 Data Mining: Analyzing vast datasets to extract patterns, trends, and insights.
 Machine Learning and AI: Training deep neural networks, processing large datasets in real-time.
 Web Search Engines: Indexing and retrieving information from enormous web databases.
APPLICATIONS OF PARALLEL COMPUTING
High-Performance Computing (HPC):
 Financial Modeling: Performing risk analysis, option pricing, and portfolio optimization.
 Fluid Dynamics and Computational Chemistry: Simulating fluid flows, chemical reactions, etc.
 Finite Element Analysis: Solving complex engineering problems in aerospace, automotive industries, etc.
Parallel Databases and Search Algorithms:
 Parallel Database Systems: Handling concurrent queries and transactions in large-scale databases.
 Parallel Search Algorithms: Speeding up searches in large datasets, such as in cryptography and pattern
matching.
APPLICATIONS OF PARALLEL COMPUTING
Image and Signal Processing:
 Medical Imaging: Processing MRI, CT scans for diagnostics and treatment planning.
 Video Processing: Real-time video encoding, decoding, and analysis.
Distributed Systems and Networking:
 Distributed Computing: Handling distributed tasks efficiently in cloud computing environments.
 Network Routing and Traffic Analysis: Optimizing routing algorithms, analyzing network traffic.
Real-Time Systems and Simulation:
 Robotics and Automation: Controlling multiple robots simultaneously for complex tasks.
 Virtual Reality and Gaming: Rendering complex scenes and simulations in real-time.
SHARED - MEMORY MULTIPROCESSORS (UNIFORM
MEMORY ACCESS [ UMA ])
 Shared-memory processors are popular due to their simple and general programming model, enabling
easy development of parallel software.
 Another term for shared-memory processors is Parallel Random Access Machine (PRAM).
 A shared-address space is used for communication between processors, with all processors accessing a
common memory space.
SHARED - MEMORY MULTIPROCESSORS (UNIFORM
MEMORY ACCESS [ UMA ])
1.1 Introduction.pptx about the design thinking of the engineering students
Ad

More Related Content

Similar to 1.1 Introduction.pptx about the design thinking of the engineering students (20)

Zoom Meeting Crack License 100% Working [2025]
Zoom Meeting Crack License 100% Working [2025]Zoom Meeting Crack License 100% Working [2025]
Zoom Meeting Crack License 100% Working [2025]
jhonjosh91
 
Movavi Screen Recorder Studio 2025 crack Free Download
Movavi Screen Recorder Studio 2025 crack Free DownloadMovavi Screen Recorder Studio 2025 crack Free Download
Movavi Screen Recorder Studio 2025 crack Free Download
imran03kr
 
Windows 8.1 Pro Activator Crack Version [April-2025]
Windows 8.1 Pro Activator Crack Version [April-2025]Windows 8.1 Pro Activator Crack Version [April-2025]
Windows 8.1 Pro Activator Crack Version [April-2025]
jhonjosh91
 
Iobit Uninstaller Pro Crack Free Download
Iobit Uninstaller Pro Crack Free DownloadIobit Uninstaller Pro Crack Free Download
Iobit Uninstaller Pro Crack Free Download
blouch97kp
 
Auslogics Video Grabber 1.0.0.12 Free Download
Auslogics Video Grabber 1.0.0.12 Free DownloadAuslogics Video Grabber 1.0.0.12 Free Download
Auslogics Video Grabber 1.0.0.12 Free Download
alihamzakpa082
 
Flexible PDF 2025 Crack License 100% Working
Flexible PDF 2025 Crack License 100% WorkingFlexible PDF 2025 Crack License 100% Working
Flexible PDF 2025 Crack License 100% Working
jackalen459
 
Auslogics Video Grabber 1.0.0.7 Crack Free Download
Auslogics Video Grabber 1.0.0.7 Crack Free DownloadAuslogics Video Grabber 1.0.0.7 Crack Free Download
Auslogics Video Grabber 1.0.0.7 Crack Free Download
mohsinrazakpa97
 
Wondershare UniConverter Download (Latest 2025)
Wondershare UniConverter Download (Latest 2025)Wondershare UniConverter Download (Latest 2025)
Wondershare UniConverter Download (Latest 2025)
alihamzakpa064
 
Auslogics Video Grabber 1.0.0.7 Crack Free
Auslogics Video Grabber 1.0.0.7 Crack FreeAuslogics Video Grabber 1.0.0.7 Crack Free
Auslogics Video Grabber 1.0.0.7 Crack Free
alihamzakpa067
 
Aiseesoft Video Converter Ultimate 10.9.6
Aiseesoft Video Converter Ultimate 10.9.6Aiseesoft Video Converter Ultimate 10.9.6
Aiseesoft Video Converter Ultimate 10.9.6
alihamzakpa067
 
The XBMC Free CRACK Download for Pc 2025
The XBMC Free CRACK Download for Pc 2025The XBMC Free CRACK Download for Pc 2025
The XBMC Free CRACK Download for Pc 2025
alihamzakpa067
 
The XBMC Free CRACK Download for Pc .
The XBMC  Free  CRACK  Download for Pc .The XBMC  Free  CRACK  Download for Pc .
The XBMC Free CRACK Download for Pc .
dshut956
 
Apowersoft Screen Recorder Pro Free CRACK Download
Apowersoft Screen Recorder Pro Free CRACK DownloadApowersoft Screen Recorder Pro Free CRACK Download
Apowersoft Screen Recorder Pro Free CRACK Download
castp261
 
MiniGolf Showdown TENOKE Free Download
MiniGolf Showdown TENOKE  Free  DownloadMiniGolf Showdown TENOKE  Free  Download
MiniGolf Showdown TENOKE Free Download
elonbuda
 
Arctic Motel Simulator TENOKE Free Download
Arctic Motel Simulator TENOKE Free DownloadArctic Motel Simulator TENOKE Free Download
Arctic Motel Simulator TENOKE Free Download
elonbuda
 
Red Giant Shooter Suite 13 64 Bit Free CRACK Download
Red Giant Shooter Suite 13 64 Bit Free CRACK DownloadRed Giant Shooter Suite 13 64 Bit Free CRACK Download
Red Giant Shooter Suite 13 64 Bit Free CRACK Download
softcover72
 
Download Celtx Plus 2025 crack free for Mac
Download Celtx Plus 2025 crack free for MacDownload Celtx Plus 2025 crack free for Mac
Download Celtx Plus 2025 crack free for Mac
gangpage308
 
Movavi Screen Recorder Studio 2025 crack Free Download
Movavi Screen Recorder Studio 2025 crack Free DownloadMovavi Screen Recorder Studio 2025 crack Free Download
Movavi Screen Recorder Studio 2025 crack Free Download
sundayghar
 
Auslogics Video Grabber 1.0.0.12 Free Download
Auslogics Video Grabber 1.0.0.12 Free DownloadAuslogics Video Grabber 1.0.0.12 Free Download
Auslogics Video Grabber 1.0.0.12 Free Download
mohsinrazakpa27
 
Apowersoft Screen Recorder Pro Free CRACK
Apowersoft Screen Recorder Pro Free CRACKApowersoft Screen Recorder Pro Free CRACK
Apowersoft Screen Recorder Pro Free CRACK
blouch21kp
 
Zoom Meeting Crack License 100% Working [2025]
Zoom Meeting Crack License 100% Working [2025]Zoom Meeting Crack License 100% Working [2025]
Zoom Meeting Crack License 100% Working [2025]
jhonjosh91
 
Movavi Screen Recorder Studio 2025 crack Free Download
Movavi Screen Recorder Studio 2025 crack Free DownloadMovavi Screen Recorder Studio 2025 crack Free Download
Movavi Screen Recorder Studio 2025 crack Free Download
imran03kr
 
Windows 8.1 Pro Activator Crack Version [April-2025]
Windows 8.1 Pro Activator Crack Version [April-2025]Windows 8.1 Pro Activator Crack Version [April-2025]
Windows 8.1 Pro Activator Crack Version [April-2025]
jhonjosh91
 
Iobit Uninstaller Pro Crack Free Download
Iobit Uninstaller Pro Crack Free DownloadIobit Uninstaller Pro Crack Free Download
Iobit Uninstaller Pro Crack Free Download
blouch97kp
 
Auslogics Video Grabber 1.0.0.12 Free Download
Auslogics Video Grabber 1.0.0.12 Free DownloadAuslogics Video Grabber 1.0.0.12 Free Download
Auslogics Video Grabber 1.0.0.12 Free Download
alihamzakpa082
 
Flexible PDF 2025 Crack License 100% Working
Flexible PDF 2025 Crack License 100% WorkingFlexible PDF 2025 Crack License 100% Working
Flexible PDF 2025 Crack License 100% Working
jackalen459
 
Auslogics Video Grabber 1.0.0.7 Crack Free Download
Auslogics Video Grabber 1.0.0.7 Crack Free DownloadAuslogics Video Grabber 1.0.0.7 Crack Free Download
Auslogics Video Grabber 1.0.0.7 Crack Free Download
mohsinrazakpa97
 
Wondershare UniConverter Download (Latest 2025)
Wondershare UniConverter Download (Latest 2025)Wondershare UniConverter Download (Latest 2025)
Wondershare UniConverter Download (Latest 2025)
alihamzakpa064
 
Auslogics Video Grabber 1.0.0.7 Crack Free
Auslogics Video Grabber 1.0.0.7 Crack FreeAuslogics Video Grabber 1.0.0.7 Crack Free
Auslogics Video Grabber 1.0.0.7 Crack Free
alihamzakpa067
 
Aiseesoft Video Converter Ultimate 10.9.6
Aiseesoft Video Converter Ultimate 10.9.6Aiseesoft Video Converter Ultimate 10.9.6
Aiseesoft Video Converter Ultimate 10.9.6
alihamzakpa067
 
The XBMC Free CRACK Download for Pc 2025
The XBMC Free CRACK Download for Pc 2025The XBMC Free CRACK Download for Pc 2025
The XBMC Free CRACK Download for Pc 2025
alihamzakpa067
 
The XBMC Free CRACK Download for Pc .
The XBMC  Free  CRACK  Download for Pc .The XBMC  Free  CRACK  Download for Pc .
The XBMC Free CRACK Download for Pc .
dshut956
 
Apowersoft Screen Recorder Pro Free CRACK Download
Apowersoft Screen Recorder Pro Free CRACK DownloadApowersoft Screen Recorder Pro Free CRACK Download
Apowersoft Screen Recorder Pro Free CRACK Download
castp261
 
MiniGolf Showdown TENOKE Free Download
MiniGolf Showdown TENOKE  Free  DownloadMiniGolf Showdown TENOKE  Free  Download
MiniGolf Showdown TENOKE Free Download
elonbuda
 
Arctic Motel Simulator TENOKE Free Download
Arctic Motel Simulator TENOKE Free DownloadArctic Motel Simulator TENOKE Free Download
Arctic Motel Simulator TENOKE Free Download
elonbuda
 
Red Giant Shooter Suite 13 64 Bit Free CRACK Download
Red Giant Shooter Suite 13 64 Bit Free CRACK DownloadRed Giant Shooter Suite 13 64 Bit Free CRACK Download
Red Giant Shooter Suite 13 64 Bit Free CRACK Download
softcover72
 
Download Celtx Plus 2025 crack free for Mac
Download Celtx Plus 2025 crack free for MacDownload Celtx Plus 2025 crack free for Mac
Download Celtx Plus 2025 crack free for Mac
gangpage308
 
Movavi Screen Recorder Studio 2025 crack Free Download
Movavi Screen Recorder Studio 2025 crack Free DownloadMovavi Screen Recorder Studio 2025 crack Free Download
Movavi Screen Recorder Studio 2025 crack Free Download
sundayghar
 
Auslogics Video Grabber 1.0.0.12 Free Download
Auslogics Video Grabber 1.0.0.12 Free DownloadAuslogics Video Grabber 1.0.0.12 Free Download
Auslogics Video Grabber 1.0.0.12 Free Download
mohsinrazakpa27
 
Apowersoft Screen Recorder Pro Free CRACK
Apowersoft Screen Recorder Pro Free CRACKApowersoft Screen Recorder Pro Free CRACK
Apowersoft Screen Recorder Pro Free CRACK
blouch21kp
 

More from HrushikeshDandu (13)

Module4_GAN.pptxgdgdijehejejjejejejhehjdd
Module4_GAN.pptxgdgdijehejejjejejejhehjddModule4_GAN.pptxgdgdijehejejjejejejhehjdd
Module4_GAN.pptxgdgdijehejejjejejejhehjdd
HrushikeshDandu
 
Module -4.pptxhsks KB bsnskskndbsbdnmdndm
Module -4.pptxhsks KB bsnskskndbsbdnmdndmModule -4.pptxhsks KB bsnskskndbsbdnmdndm
Module -4.pptxhsks KB bsnskskndbsbdnmdndm
HrushikeshDandu
 
Leverages.pptxhsjskhdhdnksjdjsbjsjsjhssjw
Leverages.pptxhsjskhdhdnksjdjsbjsjsjhssjwLeverages.pptxhsjskhdhdnksjdjsbjsjsjhssjw
Leverages.pptxhsjskhdhdnksjdjsbjsjsjhssjw
HrushikeshDandu
 
Module-5.ppthsjkshshsjsjjsjsjdjndbdbbdhjj
Module-5.ppthsjkshshsjsjjsjsjdjndbdbbdhjjModule-5.ppthsjkshshsjsjjsjsjdjndbdbbdhjj
Module-5.ppthsjkshshsjsjjsjsjdjndbdbbdhjj
HrushikeshDandu
 
team -8.pptxvjkvgigioiibibibiibbiviggihu
team -8.pptxvjkvgigioiibibibiibbiviggihuteam -8.pptxvjkvgigioiibibibiibbiviggihu
team -8.pptxvjkvgigioiibibibiibbiviggihu
HrushikeshDandu
 
team_-8[1].pptxvjigivhihigigiiggigiiggui
team_-8[1].pptxvjigivhihigigiiggigiigguiteam_-8[1].pptxvjigivhihigigiiggigiiggui
team_-8[1].pptxvjigivhihigigiiggigiiggui
HrushikeshDandu
 
unit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobh
unit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobhunit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobh
unit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobh
HrushikeshDandu
 
Task 04_INTALLATION OF VIRTUAL BOX AND UBUNTU.pptx
Task 04_INTALLATION OF VIRTUAL BOX AND UBUNTU.pptxTask 04_INTALLATION OF VIRTUAL BOX AND UBUNTU.pptx
Task 04_INTALLATION OF VIRTUAL BOX AND UBUNTU.pptx
HrushikeshDandu
 
Data Communications- Unit-4.pptx
Data Communications- Unit-4.pptxData Communications- Unit-4.pptx
Data Communications- Unit-4.pptx
HrushikeshDandu
 
hmmppt-120930073312-phpapp02.pdf
hmmppt-120930073312-phpapp02.pdfhmmppt-120930073312-phpapp02.pdf
hmmppt-120930073312-phpapp02.pdf
HrushikeshDandu
 
budget111ppt-130306122511-phpapp01.pdf
budget111ppt-130306122511-phpapp01.pdfbudget111ppt-130306122511-phpapp01.pdf
budget111ppt-130306122511-phpapp01.pdf
HrushikeshDandu
 
Xpo Innovation Technology (1).pdf.pdf (2)-1.pdf
Xpo Innovation Technology (1).pdf.pdf (2)-1.pdfXpo Innovation Technology (1).pdf.pdf (2)-1.pdf
Xpo Innovation Technology (1).pdf.pdf (2)-1.pdf
HrushikeshDandu
 
Partial Derivatives.pdf
Partial Derivatives.pdfPartial Derivatives.pdf
Partial Derivatives.pdf
HrushikeshDandu
 
Module4_GAN.pptxgdgdijehejejjejejejhehjdd
Module4_GAN.pptxgdgdijehejejjejejejhehjddModule4_GAN.pptxgdgdijehejejjejejejhehjdd
Module4_GAN.pptxgdgdijehejejjejejejhehjdd
HrushikeshDandu
 
Module -4.pptxhsks KB bsnskskndbsbdnmdndm
Module -4.pptxhsks KB bsnskskndbsbdnmdndmModule -4.pptxhsks KB bsnskskndbsbdnmdndm
Module -4.pptxhsks KB bsnskskndbsbdnmdndm
HrushikeshDandu
 
Leverages.pptxhsjskhdhdnksjdjsbjsjsjhssjw
Leverages.pptxhsjskhdhdnksjdjsbjsjsjhssjwLeverages.pptxhsjskhdhdnksjdjsbjsjsjhssjw
Leverages.pptxhsjskhdhdnksjdjsbjsjsjhssjw
HrushikeshDandu
 
Module-5.ppthsjkshshsjsjjsjsjdjndbdbbdhjj
Module-5.ppthsjkshshsjsjjsjsjdjndbdbbdhjjModule-5.ppthsjkshshsjsjjsjsjdjndbdbbdhjj
Module-5.ppthsjkshshsjsjjsjsjdjndbdbbdhjj
HrushikeshDandu
 
team -8.pptxvjkvgigioiibibibiibbiviggihu
team -8.pptxvjkvgigioiibibibiibbiviggihuteam -8.pptxvjkvgigioiibibibiibbiviggihu
team -8.pptxvjkvgigioiibibibiibbiviggihu
HrushikeshDandu
 
team_-8[1].pptxvjigivhihigigiiggigiiggui
team_-8[1].pptxvjigivhihigigiiggigiigguiteam_-8[1].pptxvjigivhihigigiiggigiiggui
team_-8[1].pptxvjigivhihigigiiggigiiggui
HrushikeshDandu
 
unit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobh
unit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobhunit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobh
unit 5.pptxhhhnggjfvbjoohcchvvikbkbkbobh
HrushikeshDandu
 
Task 04_INTALLATION OF VIRTUAL BOX AND UBUNTU.pptx
Task 04_INTALLATION OF VIRTUAL BOX AND UBUNTU.pptxTask 04_INTALLATION OF VIRTUAL BOX AND UBUNTU.pptx
Task 04_INTALLATION OF VIRTUAL BOX AND UBUNTU.pptx
HrushikeshDandu
 
Data Communications- Unit-4.pptx
Data Communications- Unit-4.pptxData Communications- Unit-4.pptx
Data Communications- Unit-4.pptx
HrushikeshDandu
 
hmmppt-120930073312-phpapp02.pdf
hmmppt-120930073312-phpapp02.pdfhmmppt-120930073312-phpapp02.pdf
hmmppt-120930073312-phpapp02.pdf
HrushikeshDandu
 
budget111ppt-130306122511-phpapp01.pdf
budget111ppt-130306122511-phpapp01.pdfbudget111ppt-130306122511-phpapp01.pdf
budget111ppt-130306122511-phpapp01.pdf
HrushikeshDandu
 
Xpo Innovation Technology (1).pdf.pdf (2)-1.pdf
Xpo Innovation Technology (1).pdf.pdf (2)-1.pdfXpo Innovation Technology (1).pdf.pdf (2)-1.pdf
Xpo Innovation Technology (1).pdf.pdf (2)-1.pdf
HrushikeshDandu
 
Ad

Recently uploaded (20)

ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
Ad

1.1 Introduction.pptx about the design thinking of the engineering students

  • 1. UNIT 1 - Introduction
  • 2. AUTOMATING PARALLEL PROGRAMMING  When writing code, we typically don’t need to understand the details of the target system, as the compiler handles it.  Developers usually think in terms of a single CPU and sequential processing during coding and debugging.  Implementing algorithms for parallel systems (software or hardware) is more related than it seems.  Parallelism in software and hardware shares common challenges and approaches.
  • 4. AUTOMATING PARALLEL PROGRAMMING Layers of Implementation  Layer 5 - Application Layer:  Defines the application or problem to be implemented on a parallel computing platform.  Specifies the inputs and outputs, including data storage and timing requirements.  Layer 4 - Algorithm Development:  Focuses on defining the tasks and their interdependencies.  Parallelism may not be evident in this layer, as tasks are usually developed for linear execution.  The result is a dependence graph, directed graph (DG), or adjacency matrix summarizing task dependencies.
  • 5. AUTOMATING PARALLEL PROGRAMMING  Layer 3 - Parallelization Layer:  Extracts parallelism from the algorithm developed in Layer 4.  It generates thread timing and processor assignments for software or hardware implementations.  This layer is crucial for optimizing the algorithm for parallel execution.  Layer 2 - Coding Layer:  Involves writing the parallel algorithm in a high-level language.  The language depends on the target parallel computing platform. For general-purpose platforms, languages like Cilk++, OpenMP, or CUDA(computer unified device architecture) are used.  For custom platforms, Hardware Description Languages (HDLs) like Verilog or VHDL are used.
  • 6. AUTOMATING PARALLEL PROGRAMMING  Layer 1 - Realization Layer:  The algorithm is realized on a parallel computer platform, using methods like multithreading or custom parallel processors (e.g., ASICs(application specific integrated circuit) or FPGAs (Field programmable gateways) ). Automatic Programming in Parallel Computing:  Automatic serial programming: The programmer writes code in high-level languages (C, Java, FORTRAN), and the code is compiled automatically.  Parallel computing: It is more complex as programmers need to manage how tasks are distributed and executed across multiple processors.  Parallelizing compilers can handle simple loops and embarrassingly parallel algorithms (tasks that can be easily parallelized).  For more complex tasks, the programmer needs intimate knowledge of processor interactions and task execution timing.
  • 7. Parallel Algorithms and Parallel Architectures  Parallel algorithms and parallel hardware are interconnected; the development of one often depends on the other.  Parallelism can be implemented at different levels in a computing system through hardware and software techniques: Data-Level Parallelism  Operates on multiple bits of a datum or multiple data simultaneously.  Examples: Bit-parallel addition, multiplication, division, vector processor arrays, and systolic arrays. Instruction-Level Parallelism (ILP)  Executes multiple instructions simultaneously within a processor. Example:  Instruction pipelining.
  • 8. Parallel Algorithms and Parallel Architectures Thread-Level Parallelism (TLP)  Executes multiple threads (lightweight processes sharing processor resources) simultaneously.  Threads can run on one or multiple processors. Process-Level Parallelism  Manages multiple independent processes, each with dedicated resources like memory and registers. Example:  Classic multitasking and time-sharing across single or multiple machines.
  • 9. Measuring benefits of Parallel Computing Speedup Factor  The benefit of parallel computing is measured by comparing the time taken to complete a task on a single processor with the time taken on N parallel processors. The speedup, S(N) , is defined as:  where Tp (1) is the algorithm processing time on a single processor and  Tp ( N ) is the processing time on the parallel processors.  In an ideal situation, for a fully parallelizable algorithm, and when the communication time between processors and memory is neglected , we have Tp ( N ) = Tp (1)/ N , and the above equation gives
  • 10. Communication Overhead  Both single and parallel computing systems require data transfer between processors and memory.  Communication delays occur due to a speed mismatch between the processor and memory.  Parallel systems need processors to exchange data via interconnection networks, adding complexity. Issues Affecting Communication Efficiency: Interconnection Network Delay:  Delays arise from factors like:  Bit propagation.  Message transmission.  Queuing within the network.  These delays depend on network topology, data size, and network speed.
  • 11. Communication Overhead Memory Bandwidth:  Memory access is limited by a single-port system, restricting data transfer to one word per memory cycle. Memory Collisions:  Occur when multiple processors try to access the same memory module simultaneously.  Arbitration mechanisms are required to resolve access conflicts. Memory Wall:  Memory transfer speeds lag behind processor speeds.  This problem is being solved using memory hierarchy such as  register → cache → RAM → electronic disk → magnetic disk → optical disk).
  • 13. Estimating Speedup Factor and Communication Overhead  Let us assume we have a parallel algorithm consisting of N independent tasks that can be executed either on a single processor or on N processors  Under these ideal circumstances,
  • 14. Amdahl's Law  Amdahl's Law is a fundamental principle used to estimate the potential speedup that can be achieved by parallelizing a computation.  It describes the maximum expected improvement in the execution time of a program when part of the computation is parallelized.
  • 15. Amdahl's Law  Overall Speedup(max) = 1/{1 – Fraction Enhanced}  Likewise, we can also think of the case where f = 1. Amdahl’s law is a principle that states that the maximum potential improvement to the performance of a system is limited by the portion of the system that cannot be improved.  In other words, the performance improvement of a system as a whole is limited by its bottlenecks. The law is often used to predict the potential performance improvement of a system when adding more processors or improving the speed of individual processors.  It is named after Gene Amdahl, who first proposed it in 1967.
  • 16. Amdahl's Law  The formula for Amdahl’s law is: S = 1 / (1 – P + (P / N)) Where:  S is the speedup of the system  P is the proportion of the system that can be improved N is the number of processors in the system  For example, if a system has a single bottleneck that occupies 20% of the total execution time, and we add 4 more processors to the system, the speedup would be: S = 1 / (1 – 0.2 + (0.2 / 5)) S = 1 / (0.8 + 0.04) S = 1 / 0.84 S = 1.19  This means that the overall performance of the system would improve by about 19% with the addition of the 4 processors.
  • 17. APPLICATIONS OF PARALLEL COMPUTING Scientific Research and Simulation:  Weather Forecasting: Running complex models to predict weather patterns and climate changes.  Astrophysics and Cosmology: Simulating celestial bodies, universe evolution, etc.  Molecular Dynamics: Studying molecular interactions, protein folding, drug discovery, etc. Big Data Analytics and Data Processing:  Data Mining: Analyzing vast datasets to extract patterns, trends, and insights.  Machine Learning and AI: Training deep neural networks, processing large datasets in real-time.  Web Search Engines: Indexing and retrieving information from enormous web databases.
  • 18. APPLICATIONS OF PARALLEL COMPUTING High-Performance Computing (HPC):  Financial Modeling: Performing risk analysis, option pricing, and portfolio optimization.  Fluid Dynamics and Computational Chemistry: Simulating fluid flows, chemical reactions, etc.  Finite Element Analysis: Solving complex engineering problems in aerospace, automotive industries, etc. Parallel Databases and Search Algorithms:  Parallel Database Systems: Handling concurrent queries and transactions in large-scale databases.  Parallel Search Algorithms: Speeding up searches in large datasets, such as in cryptography and pattern matching.
  • 19. APPLICATIONS OF PARALLEL COMPUTING Image and Signal Processing:  Medical Imaging: Processing MRI, CT scans for diagnostics and treatment planning.  Video Processing: Real-time video encoding, decoding, and analysis. Distributed Systems and Networking:  Distributed Computing: Handling distributed tasks efficiently in cloud computing environments.  Network Routing and Traffic Analysis: Optimizing routing algorithms, analyzing network traffic. Real-Time Systems and Simulation:  Robotics and Automation: Controlling multiple robots simultaneously for complex tasks.  Virtual Reality and Gaming: Rendering complex scenes and simulations in real-time.
  • 20. SHARED - MEMORY MULTIPROCESSORS (UNIFORM MEMORY ACCESS [ UMA ])  Shared-memory processors are popular due to their simple and general programming model, enabling easy development of parallel software.  Another term for shared-memory processors is Parallel Random Access Machine (PRAM).  A shared-address space is used for communication between processors, with all processors accessing a common memory space.
  • 21. SHARED - MEMORY MULTIPROCESSORS (UNIFORM MEMORY ACCESS [ UMA ])