Chapter 1 pc

Hanif Durad
Hanif DuradDr. at PIEAS en PIEAS
Course Policies and outcomes
Chapter 1Chapter 1
Introduction to ParallelIntroduction to Parallel
ComputingComputing
Dr. Muhammad Hanif Durad
Department of Computer and Information Sciences
Pakistan Institute Engineering and Applied Sciences
hanif@pieas.edu.pk
Dr. Hanif Durad 3
Lecture Outline
 Motivating Parallelism
 Scope of Parallel Computing Applications
 Organization and Contents of the Course
 Texts and References
Parallel computing
 Parallel Processing is a term used to denote a large
class of techniques that are used to provide
simultaneous data processing tasks for the purpose
of
 Save time and/or money
 Solve larger problems
 Parallel computing is the simultaneous use of
multiple compute resources to solve a
computational problem 4
parallelcomputing-120214042541-phpapp02-130408023815-phpapp01.ppt
The Universe is Parallel
5
 Galaxy formation
 Planetary movement
 Weather and ocean patterns
 Tectonic plate drift
 Rush hour traffic
 Automobile assembly line
 Building a jet
 Ordering a hamburger
at the drive through.
Areas of Parallel Computing
 Physics – applied, nuclear, particle, condensed matter,
high pressure, fusion, photonics
 Bioscience, Biotechnology, Genetics
 Chemistry, Molecular Sciences
 Geology, Seismology
 Mechanical Engineering - from prosthetics to spacecraft
 Electrical Engineering, Circuit Design, Microelectronics
 Computer Science, Mathematics
Dr. Hanif Durad 6
Why Use Parallel Computing?
 Save time and/or money: In theory, throwing more
resources at a task will shorten its time to completion,
with potential cost savings. Parallel computers can be
built from cheap, commodity components.
 Solve larger problems: Many problems are so large
and/or complex that it is impractical or impossible to
solve them on a single computer, especially given limited
computer memory.
 Better response times: As the computing tasks are
engaged by a group of processors, the tasks are
completed in a smaller amount of time 7
Dr. Hanif Durad 8
Hardware Models
02Distributed_Computing.pptx
Ways to Classify Parallel
Computers
 One of the more widely used classifications, in use
since 1966, is called Flynn's Taxonomy
The 4 possible classifications according to Flynn’s
are :
 Single Instruction, Single Data (SISD)
 Single Instruction, Multiple Data (SIMD)
 Multiple Instruction, Single Data (MISD)
 Multiple Instruction, Multiple Data (MIMD)
Dr. Hanif Durad 9
Dr. Hanif Durad 10
Recent Trends in Computing
Technology Trends: Moore’s
Law
Dr. Hanif Durad 11
Slide from Maurice Herlihy
Clock speed
flattening
sharply
Transistor
count still
rising
6963_L1.ppt
Techology Trends: Power Issues
Dr. Hanif Durad 12
From www.electronics-cooling.com/.../jan00_a2f2.jpg6963_L1.ppt
Power Perspective
Dr. Hanif Durad 13
GigaFlop/s
MegaWatts
0.001
0.01
0.1
1
10
100
1000
10000
100000
1000000
10000000
100000000
1000000000
1960 1970 1980 1990 2000 2010 2020
Performance (Gflops)
Power
Slide source: Bob Lucas
6963_L1.ppt
Increase speed processor
 Greater no. of transistors
 Operation can be done in fewer clock cycles
 Increased clock speed
 More operations per unit time
 Example
 8088/8086 : 5 Mhz, 29000 transistors
 E6700 Core 2 Duo: 2.66 GHz, 291 million
transistor
lecture1-100131132656-phpapp02.pptx
The Multi-Core Paradigm Shift
 Key ideas:
 Movement away from increasingly complex
processor design and faster clocks
 Replicated functionality (i.e., parallel) is simpler to
design
 Resources more efficiently utilized
 Huge power management advantages
Dr. Hanif Durad 15
6963_L1.ppt
Multicore
 A multi-core processor is one processor that contains two
or more complete functional units. Such chips are now
the focus of Intel and AMD. A multi-core chip is a form
of SMP
lecture1-100131132656-phpapp02.pptx
parallelprogramming-130823023925-phpapp01.pptx
Concept of GPGPU (General-
Purpose Computing on GPUs)
 Idea:
 Potential for very high performance at low cost
 Architecture well suited for certain kinds of parallel applications (data
parallel)
 Demonstrations of 30-100X speedup over CPU
 Early challenges:
 Architectures very customized to graphics problems (e.g., vertex and
fragment processors)
 Programmed using graphics-specific programming models or libraries
 Recent trends:
 Some convergence between commodity and GPUs and their associated
parallel programming models
Dr. Hanif Durad 17
6963_L1.ppt
Parallel Programming Model
 Parallel programming models in common use:
 Shared Memory (without threads)
 Threads
 Distributed Memory / Message Passing
 Data Parallel
 Hybrid
 Single Program Multiple Data (SPMD)
 Multiple Program Multiple Data (MPMD)
 These models are NOT specific to a particular type of machine
or memory architecture
 Any of these models can be implemented on any underlying hardware
18
parallelprogramming-130823023925-phpapp01.pptx, p-60/114
Classes of Parallel Computers
 Cluster computing
 A cluster is a group of loosely coupled computers that
work together closely, so that in some respects they
can be regarded as a single computer
 Massive parallel processing
 A massively parallel processor (MPP) is a single
computer with many networked processors.
 MPPs have many of the same characteristics as
clusters, but MPPs have specialized interconnect
networks Dr. Hanif Durad 19
parallelprogramming-130823023925-phpapp01.pptx, p-99/114
Classes of Parallel Computers
 Grid computing
 Compared to clusters, grids tend to be more loosely
coupled, heterogeneous, and geographically dispersed
Dr. Hanif Durad 20
Cloud Computing
 A cloud provider has 100s of thousands of nodes (aka
servers).
 Cloud computing is massively-parallel computing with
multi-processors (i.e. many multi-core processors)
 In principle, your application may run on one, two, …
thousands of servers (i.e. processors)
 For your application to run on one, two, … thousands of
servers, your application code or data must be
parallelized.
 i.e. Split up into independent or relatively independent parts.
Dr. Hanif Durad 21
02Distributed_Computing.pptx
Dr. Hanif Durad 22
Organization and Contents of this
Course
1. Fundamentals: This part of the class covers basic parallel
platforms, principles of algorithm design, group
communication primitives, and analytical modeling
techniques.
2. Parallel Programming: This part of the class deals with
programming using message passing libraries and threads.
3. Parallel Algorithms: This part of the class covers basic
algorithms for matrix computations, graphs, sorting,
discrete optimization, and dynamic programming.
1+2=CIS-546 PC
3=CIS-645 PA
Summary
 Introduction to Parallel Computing
 Technology Trends
 Multicore
 GPGPU (General-Purpose Computing on GPUs)
 Parallel Programming Model
 Classes of Parallel Computers
 Cluster computing
 Massive parallel processing (MPP)
 Grid computing
 Cloud Computing
Dr. Hanif Durad 23
Dr. Hanif Durad 24
References
 Grama A., Gupta A., Karypis G., and Kumar V., Introduction
to Parallel Computing, 2nd ed., Addison-Wesley, 2003. (Main
Text Book)
 Thomas Rauber, Gudula Rünger, Parallel Programming: For
Multicore and Cluster Systems, Springer, 2010.
 Peter Pacheco, An Introduction to Parallel Programming,
Elsevier, 2011.
 Michael J. Quinn , Parallel Programming in C with MPI and
OpenMP, McGraw-Hill, 2004.
References
 Mostafa Abd-El-Barr and Hesham El-Rewini, Advanced
Computer Architecture and Parallel Processing, John Wiley
and Sons, 2005.
 Culler D. E., Singh J. P., and Gupta A., Parallel Computer
Architecture: A Hardware/Software Approach, Morgan
Kaufmann Publisher, 1999 .
 Foster I., Designing and Building Parallel Programs,
Addision-Wesley, 1995.
Dr. Hanif Durad 25
1 de 25

Recomendados

Operating system notes por
Operating system notesOperating system notes
Operating system notesSANTOSH RATH
7K vistas38 diapositivas
Software Reengineering por
Software ReengineeringSoftware Reengineering
Software ReengineeringDeniz Kılınç
21.6K vistas31 diapositivas
Function Oriented and Object Oriented Design,Modularization techniques por
Function Oriented and Object Oriented Design,Modularization techniquesFunction Oriented and Object Oriented Design,Modularization techniques
Function Oriented and Object Oriented Design,Modularization techniquesnimmik4u
1.6K vistas49 diapositivas
Oracle SQL Performance Tuning and Optimization v26 chapter 1 por
Oracle SQL Performance Tuning and Optimization v26 chapter 1Oracle SQL Performance Tuning and Optimization v26 chapter 1
Oracle SQL Performance Tuning and Optimization v26 chapter 1Kevin Meade
3.5K vistas87 diapositivas
Chapter 5 software design por
Chapter 5 software designChapter 5 software design
Chapter 5 software designPiyush Gogia
40.1K vistas99 diapositivas
Function Point Analysis por
Function Point AnalysisFunction Point Analysis
Function Point AnalysisAraf Karsh Hamid
14.8K vistas75 diapositivas

Más contenido relacionado

La actualidad más candente

Software Evolution por
Software EvolutionSoftware Evolution
Software EvolutionMuhammad Asim
12.7K vistas45 diapositivas
Design concept -Software Engineering por
Design concept -Software EngineeringDesign concept -Software Engineering
Design concept -Software EngineeringVarsha Ajith
8.2K vistas52 diapositivas
Presentation oracle net services por
Presentation    oracle net servicesPresentation    oracle net services
Presentation oracle net servicesxKinAnx
1.8K vistas56 diapositivas
Transition from Systems Analysis to Systems Designs por
Transition from Systems Analysis to Systems DesignsTransition from Systems Analysis to Systems Designs
Transition from Systems Analysis to Systems DesignsAnalene de Guzman
1.3K vistas14 diapositivas
Intro to software development por
Intro to software developmentIntro to software development
Intro to software developmentHawkman Academy
9.9K vistas46 diapositivas
Software Development por
Software DevelopmentSoftware Development
Software DevelopmentFrancis Michael Bautista
1.1K vistas18 diapositivas

La actualidad más candente(20)

Software Evolution por Muhammad Asim
Software EvolutionSoftware Evolution
Software Evolution
Muhammad Asim12.7K vistas
Design concept -Software Engineering por Varsha Ajith
Design concept -Software EngineeringDesign concept -Software Engineering
Design concept -Software Engineering
Varsha Ajith8.2K vistas
Presentation oracle net services por xKinAnx
Presentation    oracle net servicesPresentation    oracle net services
Presentation oracle net services
xKinAnx1.8K vistas
Transition from Systems Analysis to Systems Designs por Analene de Guzman
Transition from Systems Analysis to Systems DesignsTransition from Systems Analysis to Systems Designs
Transition from Systems Analysis to Systems Designs
Analene de Guzman1.3K vistas
Intro to software development por Hawkman Academy
Intro to software developmentIntro to software development
Intro to software development
Hawkman Academy9.9K vistas
Scylla Summit 2022: The Future of Consensus in ScyllaDB 5.0 and Beyond por ScyllaDB
Scylla Summit 2022: The Future of Consensus in ScyllaDB 5.0 and BeyondScylla Summit 2022: The Future of Consensus in ScyllaDB 5.0 and Beyond
Scylla Summit 2022: The Future of Consensus in ScyllaDB 5.0 and Beyond
ScyllaDB674 vistas
Computer Organisation & Architecture (chapter 1) por Subhasis Dash
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
Subhasis Dash2.3K vistas
Software Re-Engineering por Saqib Raza
Software Re-EngineeringSoftware Re-Engineering
Software Re-Engineering
Saqib Raza2.7K vistas
Design Concepts in Software Engineering-1.pptx por KarthigaiSelviS3
Design Concepts in Software Engineering-1.pptxDesign Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptx
KarthigaiSelviS31.3K vistas
Putnam Resource allocation model.ppt por AnupamaSharma80
Putnam Resource allocation model.pptPutnam Resource allocation model.ppt
Putnam Resource allocation model.ppt
AnupamaSharma80903 vistas
Kernel Recipes 2017 - 20 years of Linux Virtual Memory - Andrea Arcangeli por Anne Nicolas
Kernel Recipes 2017 - 20 years of Linux Virtual Memory - Andrea ArcangeliKernel Recipes 2017 - 20 years of Linux Virtual Memory - Andrea Arcangeli
Kernel Recipes 2017 - 20 years of Linux Virtual Memory - Andrea Arcangeli
Anne Nicolas2.2K vistas
Aufbau Und Aufgaben Des Prozessors (Cpu) por ramsi24
Aufbau Und Aufgaben Des Prozessors (Cpu)Aufbau Und Aufgaben Des Prozessors (Cpu)
Aufbau Und Aufgaben Des Prozessors (Cpu)
ramsi2415K vistas

Destacado

Point-to-Point Communicationsin MPI por
Point-to-Point Communicationsin MPIPoint-to-Point Communicationsin MPI
Point-to-Point Communicationsin MPIHanif Durad
2.5K vistas36 diapositivas
Chapter 6 pc por
Chapter 6 pcChapter 6 pc
Chapter 6 pcHanif Durad
3.4K vistas88 diapositivas
Chapter 3 pc por
Chapter 3 pcChapter 3 pc
Chapter 3 pcHanif Durad
11.7K vistas235 diapositivas
Chapter 5 pc por
Chapter 5 pcChapter 5 pc
Chapter 5 pcHanif Durad
977 vistas7 diapositivas
Chapter 4 pc por
Chapter 4 pcChapter 4 pc
Chapter 4 pcHanif Durad
8.7K vistas98 diapositivas
Collective Communications in MPI por
 Collective Communications in MPI Collective Communications in MPI
Collective Communications in MPIHanif Durad
2K vistas28 diapositivas

Destacado(20)

Point-to-Point Communicationsin MPI por Hanif Durad
Point-to-Point Communicationsin MPIPoint-to-Point Communicationsin MPI
Point-to-Point Communicationsin MPI
Hanif Durad2.5K vistas
Chapter 6 pc por Hanif Durad
Chapter 6 pcChapter 6 pc
Chapter 6 pc
Hanif Durad3.4K vistas
Chapter 3 pc por Hanif Durad
Chapter 3 pcChapter 3 pc
Chapter 3 pc
Hanif Durad11.7K vistas
Chapter 4 pc por Hanif Durad
Chapter 4 pcChapter 4 pc
Chapter 4 pc
Hanif Durad8.7K vistas
Collective Communications in MPI por Hanif Durad
 Collective Communications in MPI Collective Communications in MPI
Collective Communications in MPI
Hanif Durad2K vistas
Introduction to MPI por Hanif Durad
Introduction to MPI Introduction to MPI
Introduction to MPI
Hanif Durad5.4K vistas
E commerce business por Uday Kakkar
E commerce businessE commerce business
E commerce business
Uday Kakkar160 vistas
Yo, mi región , mi cultura , betsy vidal por Betsy01
Yo, mi región , mi cultura , betsy vidalYo, mi región , mi cultura , betsy vidal
Yo, mi región , mi cultura , betsy vidal
Betsy01289 vistas
Fantastic Fingers®: Addressing young students fine motor needs through a coll... por Ingrid C. King
Fantastic Fingers®: Addressing young students fine motor needs through a coll...Fantastic Fingers®: Addressing young students fine motor needs through a coll...
Fantastic Fingers®: Addressing young students fine motor needs through a coll...
Ingrid C. King1.5K vistas
Workshop por Adam Hyde
WorkshopWorkshop
Workshop
Adam Hyde399 vistas

Similar a Chapter 1 pc

Cluster Tutorial por
Cluster TutorialCluster Tutorial
Cluster Tutorialcybercbm
5.1K vistas174 diapositivas
Introduction to parallel_computing por
Introduction to parallel_computingIntroduction to parallel_computing
Introduction to parallel_computingMehul Patel
873 vistas147 diapositivas
parallel computing.ppt por
parallel computing.pptparallel computing.ppt
parallel computing.pptssuser413a98
170 vistas30 diapositivas
2 parallel processing presentation ph d 1st semester por
2 parallel processing presentation ph d 1st semester2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semesterRafi Ullah
254 vistas31 diapositivas
intro, definitions, basic laws+.pptx por
intro, definitions, basic laws+.pptxintro, definitions, basic laws+.pptx
intro, definitions, basic laws+.pptxssuser413a98
3 vistas75 diapositivas
2023comp90024_Spartan.pdf por
2023comp90024_Spartan.pdf2023comp90024_Spartan.pdf
2023comp90024_Spartan.pdfLevLafayette1
8 vistas35 diapositivas

Similar a Chapter 1 pc(20)

Cluster Tutorial por cybercbm
Cluster TutorialCluster Tutorial
Cluster Tutorial
cybercbm5.1K vistas
Introduction to parallel_computing por Mehul Patel
Introduction to parallel_computingIntroduction to parallel_computing
Introduction to parallel_computing
Mehul Patel873 vistas
parallel computing.ppt por ssuser413a98
parallel computing.pptparallel computing.ppt
parallel computing.ppt
ssuser413a98170 vistas
2 parallel processing presentation ph d 1st semester por Rafi Ullah
2 parallel processing presentation ph d 1st semester2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semester
Rafi Ullah254 vistas
intro, definitions, basic laws+.pptx por ssuser413a98
intro, definitions, basic laws+.pptxintro, definitions, basic laws+.pptx
intro, definitions, basic laws+.pptx
ssuser413a983 vistas
The Parallel Architecture Approach, Single Program Multiple Data (Spmd) Imple... por ijceronline
The Parallel Architecture Approach, Single Program Multiple Data (Spmd) Imple...The Parallel Architecture Approach, Single Program Multiple Data (Spmd) Imple...
The Parallel Architecture Approach, Single Program Multiple Data (Spmd) Imple...
ijceronline47 vistas
Introduction to Parallel and Distributed Computing por Sayed Chhattan Shah
Introduction to Parallel and Distributed ComputingIntroduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed Computing
Sayed Chhattan Shah19.2K vistas
Lecture 1 introduction to parallel and distributed computing por Vajira Thambawita
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computing
Vajira Thambawita2.9K vistas
parallelprogramming-130823023925-phpapp01.pptx por MarlonMagtibay3
parallelprogramming-130823023925-phpapp01.pptxparallelprogramming-130823023925-phpapp01.pptx
parallelprogramming-130823023925-phpapp01.pptx
MarlonMagtibay34 vistas
A Parallel Computing-a Paradigm to achieve High Performance por AM Publications
A Parallel Computing-a Paradigm to achieve High PerformanceA Parallel Computing-a Paradigm to achieve High Performance
A Parallel Computing-a Paradigm to achieve High Performance
AM Publications267 vistas
Distributed Shared Memory – A Survey and Implementation Using Openshmem por IJERA Editor
Distributed Shared Memory – A Survey and Implementation Using OpenshmemDistributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using Openshmem
IJERA Editor297 vistas
Distributed Shared Memory – A Survey and Implementation Using Openshmem por IJERA Editor
Distributed Shared Memory – A Survey and Implementation Using OpenshmemDistributed Shared Memory – A Survey and Implementation Using Openshmem
Distributed Shared Memory – A Survey and Implementation Using Openshmem
IJERA Editor38 vistas
TeraGrid Communication and Computation por Tal Lavian Ph.D.
TeraGrid Communication and ComputationTeraGrid Communication and Computation
TeraGrid Communication and Computation
Tal Lavian Ph.D.369 vistas
Par com por tttoracle
Par comPar com
Par com
tttoracle235 vistas
Performance evaluation of larger matrices over cluster of four nodes using mpi por eSAT Journals
Performance evaluation of larger matrices over cluster of four nodes using mpiPerformance evaluation of larger matrices over cluster of four nodes using mpi
Performance evaluation of larger matrices over cluster of four nodes using mpi
eSAT Journals87 vistas

Más de Hanif Durad

Chapter 26 aoa por
Chapter 26 aoaChapter 26 aoa
Chapter 26 aoaHanif Durad
449 vistas77 diapositivas
Chapter 25 aoa por
Chapter 25 aoaChapter 25 aoa
Chapter 25 aoaHanif Durad
267 vistas76 diapositivas
Chapter 24 aoa por
Chapter 24 aoaChapter 24 aoa
Chapter 24 aoaHanif Durad
146 vistas27 diapositivas
Chapter 23 aoa por
Chapter 23 aoaChapter 23 aoa
Chapter 23 aoaHanif Durad
209 vistas115 diapositivas
Chapter 12 ds por
Chapter 12 dsChapter 12 ds
Chapter 12 dsHanif Durad
3.5K vistas64 diapositivas
Chapter 11 ds por
Chapter 11 dsChapter 11 ds
Chapter 11 dsHanif Durad
111 vistas35 diapositivas

Más de Hanif Durad(16)

Último

ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively por
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyPECB
574 vistas18 diapositivas
ACTIVITY BOOK key water sports.pptx por
ACTIVITY BOOK key water sports.pptxACTIVITY BOOK key water sports.pptx
ACTIVITY BOOK key water sports.pptxMar Caston Palacio
511 vistas4 diapositivas
11.30.23 Poverty and Inequality in America.pptx por
11.30.23 Poverty and Inequality in America.pptx11.30.23 Poverty and Inequality in America.pptx
11.30.23 Poverty and Inequality in America.pptxmary850239
149 vistas33 diapositivas
GSoC 2024 por
GSoC 2024GSoC 2024
GSoC 2024DeveloperStudentClub10
75 vistas15 diapositivas
Gopal Chakraborty Memorial Quiz 2.0 Prelims.pptx por
Gopal Chakraborty Memorial Quiz 2.0 Prelims.pptxGopal Chakraborty Memorial Quiz 2.0 Prelims.pptx
Gopal Chakraborty Memorial Quiz 2.0 Prelims.pptxDebapriya Chakraborty
625 vistas81 diapositivas
Solar System and Galaxies.pptx por
Solar System and Galaxies.pptxSolar System and Galaxies.pptx
Solar System and Galaxies.pptxDrHafizKosar
89 vistas26 diapositivas

Último(20)

ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively por PECB
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
PECB 574 vistas
11.30.23 Poverty and Inequality in America.pptx por mary850239
11.30.23 Poverty and Inequality in America.pptx11.30.23 Poverty and Inequality in America.pptx
11.30.23 Poverty and Inequality in America.pptx
mary850239149 vistas
Solar System and Galaxies.pptx por DrHafizKosar
Solar System and Galaxies.pptxSolar System and Galaxies.pptx
Solar System and Galaxies.pptx
DrHafizKosar89 vistas
The basics - information, data, technology and systems.pdf por JonathanCovena1
The basics - information, data, technology and systems.pdfThe basics - information, data, technology and systems.pdf
The basics - information, data, technology and systems.pdf
JonathanCovena1106 vistas
11.28.23 Social Capital and Social Exclusion.pptx por mary850239
11.28.23 Social Capital and Social Exclusion.pptx11.28.23 Social Capital and Social Exclusion.pptx
11.28.23 Social Capital and Social Exclusion.pptx
mary850239291 vistas
7 NOVEL DRUG DELIVERY SYSTEM.pptx por Sachin Nitave
7 NOVEL DRUG DELIVERY SYSTEM.pptx7 NOVEL DRUG DELIVERY SYSTEM.pptx
7 NOVEL DRUG DELIVERY SYSTEM.pptx
Sachin Nitave59 vistas
Sociology KS5 por WestHatch
Sociology KS5Sociology KS5
Sociology KS5
WestHatch65 vistas
Drama KS5 Breakdown por WestHatch
Drama KS5 BreakdownDrama KS5 Breakdown
Drama KS5 Breakdown
WestHatch73 vistas
Ch. 7 Political Participation and Elections.pptx por Rommel Regala
Ch. 7 Political Participation and Elections.pptxCh. 7 Political Participation and Elections.pptx
Ch. 7 Political Participation and Elections.pptx
Rommel Regala90 vistas
Education and Diversity.pptx por DrHafizKosar
Education and Diversity.pptxEducation and Diversity.pptx
Education and Diversity.pptx
DrHafizKosar135 vistas
Are we onboard yet University of Sussex.pptx por Jisc
Are we onboard yet University of Sussex.pptxAre we onboard yet University of Sussex.pptx
Are we onboard yet University of Sussex.pptx
Jisc93 vistas
Class 10 English notes 23-24.pptx por TARIQ KHAN
Class 10 English notes 23-24.pptxClass 10 English notes 23-24.pptx
Class 10 English notes 23-24.pptx
TARIQ KHAN125 vistas
Use of Probiotics in Aquaculture.pptx por AKSHAY MANDAL
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptx
AKSHAY MANDAL95 vistas
Dance KS5 Breakdown por WestHatch
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 Breakdown
WestHatch69 vistas
Structure and Functions of Cell.pdf por Nithya Murugan
Structure and Functions of Cell.pdfStructure and Functions of Cell.pdf
Structure and Functions of Cell.pdf
Nithya Murugan455 vistas

Chapter 1 pc

  • 2. Chapter 1Chapter 1 Introduction to ParallelIntroduction to Parallel ComputingComputing Dr. Muhammad Hanif Durad Department of Computer and Information Sciences Pakistan Institute Engineering and Applied Sciences hanif@pieas.edu.pk
  • 3. Dr. Hanif Durad 3 Lecture Outline  Motivating Parallelism  Scope of Parallel Computing Applications  Organization and Contents of the Course  Texts and References
  • 4. Parallel computing  Parallel Processing is a term used to denote a large class of techniques that are used to provide simultaneous data processing tasks for the purpose of  Save time and/or money  Solve larger problems  Parallel computing is the simultaneous use of multiple compute resources to solve a computational problem 4 parallelcomputing-120214042541-phpapp02-130408023815-phpapp01.ppt
  • 5. The Universe is Parallel 5  Galaxy formation  Planetary movement  Weather and ocean patterns  Tectonic plate drift  Rush hour traffic  Automobile assembly line  Building a jet  Ordering a hamburger at the drive through.
  • 6. Areas of Parallel Computing  Physics – applied, nuclear, particle, condensed matter, high pressure, fusion, photonics  Bioscience, Biotechnology, Genetics  Chemistry, Molecular Sciences  Geology, Seismology  Mechanical Engineering - from prosthetics to spacecraft  Electrical Engineering, Circuit Design, Microelectronics  Computer Science, Mathematics Dr. Hanif Durad 6
  • 7. Why Use Parallel Computing?  Save time and/or money: In theory, throwing more resources at a task will shorten its time to completion, with potential cost savings. Parallel computers can be built from cheap, commodity components.  Solve larger problems: Many problems are so large and/or complex that it is impractical or impossible to solve them on a single computer, especially given limited computer memory.  Better response times: As the computing tasks are engaged by a group of processors, the tasks are completed in a smaller amount of time 7
  • 8. Dr. Hanif Durad 8 Hardware Models 02Distributed_Computing.pptx
  • 9. Ways to Classify Parallel Computers  One of the more widely used classifications, in use since 1966, is called Flynn's Taxonomy The 4 possible classifications according to Flynn’s are :  Single Instruction, Single Data (SISD)  Single Instruction, Multiple Data (SIMD)  Multiple Instruction, Single Data (MISD)  Multiple Instruction, Multiple Data (MIMD) Dr. Hanif Durad 9
  • 10. Dr. Hanif Durad 10 Recent Trends in Computing
  • 11. Technology Trends: Moore’s Law Dr. Hanif Durad 11 Slide from Maurice Herlihy Clock speed flattening sharply Transistor count still rising 6963_L1.ppt
  • 12. Techology Trends: Power Issues Dr. Hanif Durad 12 From www.electronics-cooling.com/.../jan00_a2f2.jpg6963_L1.ppt
  • 13. Power Perspective Dr. Hanif Durad 13 GigaFlop/s MegaWatts 0.001 0.01 0.1 1 10 100 1000 10000 100000 1000000 10000000 100000000 1000000000 1960 1970 1980 1990 2000 2010 2020 Performance (Gflops) Power Slide source: Bob Lucas 6963_L1.ppt
  • 14. Increase speed processor  Greater no. of transistors  Operation can be done in fewer clock cycles  Increased clock speed  More operations per unit time  Example  8088/8086 : 5 Mhz, 29000 transistors  E6700 Core 2 Duo: 2.66 GHz, 291 million transistor lecture1-100131132656-phpapp02.pptx
  • 15. The Multi-Core Paradigm Shift  Key ideas:  Movement away from increasingly complex processor design and faster clocks  Replicated functionality (i.e., parallel) is simpler to design  Resources more efficiently utilized  Huge power management advantages Dr. Hanif Durad 15 6963_L1.ppt
  • 16. Multicore  A multi-core processor is one processor that contains two or more complete functional units. Such chips are now the focus of Intel and AMD. A multi-core chip is a form of SMP lecture1-100131132656-phpapp02.pptx parallelprogramming-130823023925-phpapp01.pptx
  • 17. Concept of GPGPU (General- Purpose Computing on GPUs)  Idea:  Potential for very high performance at low cost  Architecture well suited for certain kinds of parallel applications (data parallel)  Demonstrations of 30-100X speedup over CPU  Early challenges:  Architectures very customized to graphics problems (e.g., vertex and fragment processors)  Programmed using graphics-specific programming models or libraries  Recent trends:  Some convergence between commodity and GPUs and their associated parallel programming models Dr. Hanif Durad 17 6963_L1.ppt
  • 18. Parallel Programming Model  Parallel programming models in common use:  Shared Memory (without threads)  Threads  Distributed Memory / Message Passing  Data Parallel  Hybrid  Single Program Multiple Data (SPMD)  Multiple Program Multiple Data (MPMD)  These models are NOT specific to a particular type of machine or memory architecture  Any of these models can be implemented on any underlying hardware 18 parallelprogramming-130823023925-phpapp01.pptx, p-60/114
  • 19. Classes of Parallel Computers  Cluster computing  A cluster is a group of loosely coupled computers that work together closely, so that in some respects they can be regarded as a single computer  Massive parallel processing  A massively parallel processor (MPP) is a single computer with many networked processors.  MPPs have many of the same characteristics as clusters, but MPPs have specialized interconnect networks Dr. Hanif Durad 19 parallelprogramming-130823023925-phpapp01.pptx, p-99/114
  • 20. Classes of Parallel Computers  Grid computing  Compared to clusters, grids tend to be more loosely coupled, heterogeneous, and geographically dispersed Dr. Hanif Durad 20
  • 21. Cloud Computing  A cloud provider has 100s of thousands of nodes (aka servers).  Cloud computing is massively-parallel computing with multi-processors (i.e. many multi-core processors)  In principle, your application may run on one, two, … thousands of servers (i.e. processors)  For your application to run on one, two, … thousands of servers, your application code or data must be parallelized.  i.e. Split up into independent or relatively independent parts. Dr. Hanif Durad 21 02Distributed_Computing.pptx
  • 22. Dr. Hanif Durad 22 Organization and Contents of this Course 1. Fundamentals: This part of the class covers basic parallel platforms, principles of algorithm design, group communication primitives, and analytical modeling techniques. 2. Parallel Programming: This part of the class deals with programming using message passing libraries and threads. 3. Parallel Algorithms: This part of the class covers basic algorithms for matrix computations, graphs, sorting, discrete optimization, and dynamic programming. 1+2=CIS-546 PC 3=CIS-645 PA
  • 23. Summary  Introduction to Parallel Computing  Technology Trends  Multicore  GPGPU (General-Purpose Computing on GPUs)  Parallel Programming Model  Classes of Parallel Computers  Cluster computing  Massive parallel processing (MPP)  Grid computing  Cloud Computing Dr. Hanif Durad 23
  • 24. Dr. Hanif Durad 24 References  Grama A., Gupta A., Karypis G., and Kumar V., Introduction to Parallel Computing, 2nd ed., Addison-Wesley, 2003. (Main Text Book)  Thomas Rauber, Gudula Rünger, Parallel Programming: For Multicore and Cluster Systems, Springer, 2010.  Peter Pacheco, An Introduction to Parallel Programming, Elsevier, 2011.  Michael J. Quinn , Parallel Programming in C with MPI and OpenMP, McGraw-Hill, 2004.
  • 25. References  Mostafa Abd-El-Barr and Hesham El-Rewini, Advanced Computer Architecture and Parallel Processing, John Wiley and Sons, 2005.  Culler D. E., Singh J. P., and Gupta A., Parallel Computer Architecture: A Hardware/Software Approach, Morgan Kaufmann Publisher, 1999 .  Foster I., Designing and Building Parallel Programs, Addision-Wesley, 1995. Dr. Hanif Durad 25