SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler offline
Parallel & Distributed
Computer Systems


Dr. Mohammad Ansari
Course Details
   Delivery
    ◦ Lectures/discussions: English
    ◦ Assessments: English
    ◦ Ask questions in class if you don’t understand
    ◦ Email me after class if you do not want to ask in
      class
    ◦ DO NOT LEAVE QUESTIONS TILL THE DAY BEFORE THE
      EXAM!!!
   Assessments (this may change)
    ◦ Homework (~1 per week): 10%
    ◦ Midterm: 20%
    ◦ 1 project + final exam OR 2 projects: 35%+35%
Course Details
   Textbook
    ◦ Principles of Parallel Programming, Lin & Snyder
   Other sources of information:
    ◦ COMP 322, Rice University
    ◦ CS 194, UC Berkeley
    ◦ Cilk lectures, MIT
   Many sources of information on the
    internet for writing parallelized code
Teaching Materials & Assignments
   Everything is on Jusur
    ◦ Lectures
    ◦ Homeworks
 Submit homework through Jusur
 Homework is given out on Saturday
 Homework due following Saturday
 You lose 10% for each day late
 No homework this week! 
Outline
   This lecture:
    ◦ Why study parallel computing?
    ◦ Topics covered on this course
   Next lecture:
    ◦ Discuss an example problem
Why study parallel computing?
   First, WHAT is parallel computing?
    ◦ Using multiple processors (in parallel) to solve a
      problem faster than a single processor
   Why is this important?
    ◦ Science/research is usually has two parts.
      Theory, and experimentation.
    ◦ Some experiments just take too long on a single
      processor (days, months, or even years)
    ◦ We do not want to wait for so long
    ◦ Need to execute experiments faster
Why study parallel computing
   BUT, parallel computing very
    specialized
    ◦   Few computers in the world with many procs.
    ◦   Most software not (very) parallelized
    ◦   Typically parallel programming is hard
    ◦   Result: parallel computing taught at Masters
        level
   Why study it during undergraduate?
    ◦ The entire computing industry has shifted to
      parallel computing. Intel, AMD, IBM, Sun, …
Why study parallel computing?
   Today:
    ◦   All computers are multi-core, even laptops
    ◦   Mobile phones will also be multi-core
    ◦   Number of cores keeps going up
    ◦   Intel/AMD:
         ~2004: 2 cores per processor
         ~2006: 4 cores per processor
         ~2009: 6 cores per processor
   If you want your software to use all
    those cores, you need to parallelize it.
   BUT, why did this happen?
Why did this happen?
 We need to look at history of
  processor architectures
 All processors made of transistors
    ◦ Moore’s Law: number of transistors per chip
      doubles every 18-24 months
    ◦ Fabrication process (manufacture of chips)
      improvements made transistors smaller
    ◦ Allows more transistors to be placed in the
      same space (transistor density increasing).
Transistor Counts
                                                             Intel 80286
2,000,000,000                                                Intel 80386
                                                             Intel 80486
                                                             Pentium
 200,000,000                                                 AMD K5
                                                             Pentium II
                                                             Pentium III
  20,000,000
                                                             AMD Athlon
                                                             Pentium 4
   2,000,000                                                 AMD Athlon 64
                                                             AMD Athlon X2
                                                             Cell
     200,000                                                 Core 2 Duo
                                                             Core i7 (Quad)
                                                             Six-Core Opteron 2400
      20,000                                                 Six-Core Xeon 7400
            1980   1985   1990   1995   2000   2005   2010
Why did this happen?
   What did engineers do with so many
    transistors?
    ◦ Added advanced hardware that made your code
      faster automatically
       MMX, SSE, superscalar, out-of-order execution
   Smaller transistors change state faster
    ◦ Smaller transistors enables higher speeds
   Old view:
    ◦   “Want more performance? Get new processor.”
    ◦   New processor more advanced, and higher speed.
    ◦   Makes your software run faster.
    ◦   No effort from programmer for this extra speed.
         Don’t have to change the software.
Why did this happen?
   But now, there are problems
    ◦ Engineers have run out of ideas for advanced
      hardware.
    ◦ Cannot use extra transistors to automatically
      improve performance of code
   OK, but we can still increase the
    speed, right?
Why did this happen?
   But now, there are problems
    ◦ Engineers have run out of ideas for advanced
      hardware.
    ◦ Cannot use extra transistors to automatically
      improve performance of code
   OK, but we can still increase the
    speed, right? WRONG!
Why did this happen?
   But now, there are problems
    ◦ Higher speed processors consume more power
       Big problem for large servers: need their own
        power plant
    ◦ Higher speed processors generate more heat
       Dissipating (removing) the heat is requiring
        more and more sophisticated equipment, heat
        sinks cannot do it anymore
    ◦ Result: not possible to keep increasing speed
   Let’s look at some heat sinks
Intel 386 (25 MHz) Heatsink
 The 386 had no heatsink!
 It did not generate much heat
 Because it has very slow speed
486 (~50Mhz) Heatsink
Pentium 2 Heatsink
Pentium 3 Heatsink
Pentium 4 Heatsink
Why study parallel computing?
   Old view:
    ◦ “Want more performance? Get new processor.”
    ◦ New processor will have higher speed, more
      advanced. Makes your software run faster.
    ◦ No effort from programmer for this extra speed.
   New view:
    ◦ Processors will not be more advanced
    ◦ Processors will not have higher speed
    ◦ Industry/academia: Use extra transistors for
      multiple processors (cores) on the same chip
    ◦ This is called a multi-core processor
       E.g., Core 2 Duo, Core 2 Quad, Athlon X2, X4
Quotes
 ◦ “We are dedicating all of our future product
   development to multicore designs. … This is a
   sea change in computing”
     Paul Otellini, President, Intel (2005)


 ◦ Number of cores will ~double every 2 years
Why study parallel computing?
   What are the benefits of multi-core?
    ◦ Continue to increase theoretical performance:
       Quad-core processor, with each core at 2GHz
        is like 4x2GHz = 8GHz processor
    ◦ Decrease speed to reduce temperature, power
       16-core at 0.5GHz = 16*0.5 = 8GHz
       8GHz, but at lower temperature, lower power
 Multi-core is attractive, because it
  removes existing problems
 No limit (yet) to number of cores
Affects on Programming
   Before:
    ◦ Write sequential (non-parallel) program.
    ◦ It becomes faster with newer processor
       Higher speed, more advanced
   Now:
    ◦ New processor has more cores, but each is slower
    ◦ Sequential programs will run slower on new proc
       They can only use one core
    ◦ What will run faster?
       Parallel program that can use all the cores!!!
Why study parallel computing?
   You need knowledge of parallelism
    ◦ Future processors will have many cores
    ◦ Each core will become slower (speed)
    ◦ Your software will only achieve high
      performance if it is parallelized
   Parallel programming is not easy
    ◦ Many factors affect performance
    ◦ Not easy to find source of bad performance
    ◦ Usually requires deeper understanding of
      processor architectures
    ◦ This is why there is a whole course for it
Course Topics
   Foundations of parallel algorithms
    ◦ How do we make a parallel algorithm?
    ◦ How do we measure its performance?
   Foundations of parallel programming
    ◦ Parallel processor architectures
    ◦ Threads/tasks, synchronization, performance
    ◦ What are the trade-offs, and overheads?
   Experiment with real hardware
    ◦ 8-way distributed supercomputer
    ◦ 24-core shared memory supercomputer
   If we have time:
    ◦ GPGPUs / CUDA
Skills You Need
   Basic understanding of processor
    architectures
    ◦ Pipelines, registers, caches, memory
   Programming in C and/or Java
Summary
 Processor technology cannot continue
  as before. Changed to multi-cores.
 Multi-cores require programs to be
  parallelized for high performance
 This course will cover core theory
  and practice of parallel computing

Mais conteúdo relacionado

Mais procurados

Parallel Programming
Parallel ProgrammingParallel Programming
Parallel Programming
Uday Sharma
 
Intro to parallel computing
Intro to parallel computingIntro to parallel computing
Intro to parallel computing
Piyush Mittal
 
High Performance Computing
High Performance ComputingHigh Performance Computing
High Performance Computing
Divyen Patel
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
Manish Singh
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
Mr SMAK
 

Mais procurados (20)

Parallel Programming
Parallel ProgrammingParallel Programming
Parallel Programming
 
Learning With Complete Data
Learning With Complete DataLearning With Complete Data
Learning With Complete Data
 
Computational Intelligence and Applications
Computational Intelligence and ApplicationsComputational Intelligence and Applications
Computational Intelligence and Applications
 
Intro to parallel computing
Intro to parallel computingIntro to parallel computing
Intro to parallel computing
 
Data Parallel and Object Oriented Model
Data Parallel and Object Oriented ModelData Parallel and Object Oriented Model
Data Parallel and Object Oriented Model
 
parallel Questions & answers
parallel Questions & answersparallel Questions & answers
parallel Questions & answers
 
High Performance Computing
High Performance ComputingHigh Performance Computing
High Performance Computing
 
High performance computing for research
High performance computing for researchHigh performance computing for research
High performance computing for research
 
Introduction to Google App Engine
Introduction to Google App EngineIntroduction to Google App Engine
Introduction to Google App Engine
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel Computing
 
Lecture 3 parallel programming platforms
Lecture 3   parallel programming platformsLecture 3   parallel programming platforms
Lecture 3 parallel programming platforms
 
Introduction to parallel computing
Introduction to parallel computingIntroduction to parallel computing
Introduction to parallel computing
 
Multimodal Deep Learning
Multimodal Deep LearningMultimodal Deep Learning
Multimodal Deep Learning
 
Sorting algorithms
Sorting algorithmsSorting algorithms
Sorting algorithms
 
Attention Is All You Need
Attention Is All You NeedAttention Is All You Need
Attention Is All You Need
 
Draw and explain the architecture of general purpose microprocessor
Draw and explain the architecture of general purpose microprocessor Draw and explain the architecture of general purpose microprocessor
Draw and explain the architecture of general purpose microprocessor
 
Introduction to Multi-core Architectures
Introduction to Multi-core ArchitecturesIntroduction to Multi-core Architectures
Introduction to Multi-core Architectures
 
Parallel Processing Concepts
Parallel Processing Concepts Parallel Processing Concepts
Parallel Processing Concepts
 

Semelhante a Introduction to Parallel Distributed Computer Systems

Manufacturingofmicroprocessor 120813121945-phpapp02
Manufacturingofmicroprocessor 120813121945-phpapp02Manufacturingofmicroprocessor 120813121945-phpapp02
Manufacturingofmicroprocessor 120813121945-phpapp02
Waqar Mughal
 
29092013042656 multicore-processor-technology
29092013042656 multicore-processor-technology29092013042656 multicore-processor-technology
29092013042656 multicore-processor-technology
Sindhu Nathan
 
Intel core i3, i5, i7 , core2 duo and atom processors
Intel core i3, i5, i7 , core2 duo and atom processorsIntel core i3, i5, i7 , core2 duo and atom processors
Intel core i3, i5, i7 , core2 duo and atom processors
FadyMorris
 

Semelhante a Introduction to Parallel Distributed Computer Systems (20)

Multi core processors
Multi core processorsMulti core processors
Multi core processors
 
processors
processorsprocessors
processors
 
Intel new processors
Intel new processorsIntel new processors
Intel new processors
 
Ashutosh kumar ( JAMIA HAMDARD )
Ashutosh kumar ( JAMIA HAMDARD )Ashutosh kumar ( JAMIA HAMDARD )
Ashutosh kumar ( JAMIA HAMDARD )
 
Microprocessors and controllers
Microprocessors and controllersMicroprocessors and controllers
Microprocessors and controllers
 
Microprocessors and controllers
Microprocessors and controllersMicroprocessors and controllers
Microprocessors and controllers
 
Computer Hardware & Software Lab Manual 3
Computer Hardware & Software Lab Manual 3Computer Hardware & Software Lab Manual 3
Computer Hardware & Software Lab Manual 3
 
4th generation intel core processoer
4th generation intel core processoer4th generation intel core processoer
4th generation intel core processoer
 
trends of microprocessor field
trends of microprocessor fieldtrends of microprocessor field
trends of microprocessor field
 
Processors with Advanced Technologies
Processors with Advanced TechnologiesProcessors with Advanced Technologies
Processors with Advanced Technologies
 
Intel
IntelIntel
Intel
 
Intel Processors
Intel ProcessorsIntel Processors
Intel Processors
 
Processor
ProcessorProcessor
Processor
 
Manufacturingofmicroprocessor 120813121945-phpapp02
Manufacturingofmicroprocessor 120813121945-phpapp02Manufacturingofmicroprocessor 120813121945-phpapp02
Manufacturingofmicroprocessor 120813121945-phpapp02
 
Multicore Processor Technology
Multicore Processor TechnologyMulticore Processor Technology
Multicore Processor Technology
 
29092013042656 multicore-processor-technology
29092013042656 multicore-processor-technology29092013042656 multicore-processor-technology
29092013042656 multicore-processor-technology
 
Webinaron muticoreprocessors
Webinaron muticoreprocessorsWebinaron muticoreprocessors
Webinaron muticoreprocessors
 
Processors
ProcessorsProcessors
Processors
 
Intel core i3, i5, i7 , core2 duo and atom processors
Intel core i3, i5, i7 , core2 duo and atom processorsIntel core i3, i5, i7 , core2 duo and atom processors
Intel core i3, i5, i7 , core2 duo and atom processors
 
Tech 101 for Retail
Tech 101 for RetailTech 101 for Retail
Tech 101 for Retail
 

Último

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Último (20)

SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

Introduction to Parallel Distributed Computer Systems

  • 1. Parallel & Distributed Computer Systems Dr. Mohammad Ansari
  • 2. Course Details  Delivery ◦ Lectures/discussions: English ◦ Assessments: English ◦ Ask questions in class if you don’t understand ◦ Email me after class if you do not want to ask in class ◦ DO NOT LEAVE QUESTIONS TILL THE DAY BEFORE THE EXAM!!!  Assessments (this may change) ◦ Homework (~1 per week): 10% ◦ Midterm: 20% ◦ 1 project + final exam OR 2 projects: 35%+35%
  • 3. Course Details  Textbook ◦ Principles of Parallel Programming, Lin & Snyder  Other sources of information: ◦ COMP 322, Rice University ◦ CS 194, UC Berkeley ◦ Cilk lectures, MIT  Many sources of information on the internet for writing parallelized code
  • 4. Teaching Materials & Assignments  Everything is on Jusur ◦ Lectures ◦ Homeworks  Submit homework through Jusur  Homework is given out on Saturday  Homework due following Saturday  You lose 10% for each day late  No homework this week! 
  • 5. Outline  This lecture: ◦ Why study parallel computing? ◦ Topics covered on this course  Next lecture: ◦ Discuss an example problem
  • 6. Why study parallel computing?  First, WHAT is parallel computing? ◦ Using multiple processors (in parallel) to solve a problem faster than a single processor  Why is this important? ◦ Science/research is usually has two parts. Theory, and experimentation. ◦ Some experiments just take too long on a single processor (days, months, or even years) ◦ We do not want to wait for so long ◦ Need to execute experiments faster
  • 7. Why study parallel computing  BUT, parallel computing very specialized ◦ Few computers in the world with many procs. ◦ Most software not (very) parallelized ◦ Typically parallel programming is hard ◦ Result: parallel computing taught at Masters level  Why study it during undergraduate? ◦ The entire computing industry has shifted to parallel computing. Intel, AMD, IBM, Sun, …
  • 8. Why study parallel computing?  Today: ◦ All computers are multi-core, even laptops ◦ Mobile phones will also be multi-core ◦ Number of cores keeps going up ◦ Intel/AMD:  ~2004: 2 cores per processor  ~2006: 4 cores per processor  ~2009: 6 cores per processor  If you want your software to use all those cores, you need to parallelize it.  BUT, why did this happen?
  • 9. Why did this happen?  We need to look at history of processor architectures  All processors made of transistors ◦ Moore’s Law: number of transistors per chip doubles every 18-24 months ◦ Fabrication process (manufacture of chips) improvements made transistors smaller ◦ Allows more transistors to be placed in the same space (transistor density increasing).
  • 10. Transistor Counts Intel 80286 2,000,000,000 Intel 80386 Intel 80486 Pentium 200,000,000 AMD K5 Pentium II Pentium III 20,000,000 AMD Athlon Pentium 4 2,000,000 AMD Athlon 64 AMD Athlon X2 Cell 200,000 Core 2 Duo Core i7 (Quad) Six-Core Opteron 2400 20,000 Six-Core Xeon 7400 1980 1985 1990 1995 2000 2005 2010
  • 11. Why did this happen?  What did engineers do with so many transistors? ◦ Added advanced hardware that made your code faster automatically  MMX, SSE, superscalar, out-of-order execution  Smaller transistors change state faster ◦ Smaller transistors enables higher speeds  Old view: ◦ “Want more performance? Get new processor.” ◦ New processor more advanced, and higher speed. ◦ Makes your software run faster. ◦ No effort from programmer for this extra speed.  Don’t have to change the software.
  • 12. Why did this happen?  But now, there are problems ◦ Engineers have run out of ideas for advanced hardware. ◦ Cannot use extra transistors to automatically improve performance of code  OK, but we can still increase the speed, right?
  • 13. Why did this happen?  But now, there are problems ◦ Engineers have run out of ideas for advanced hardware. ◦ Cannot use extra transistors to automatically improve performance of code  OK, but we can still increase the speed, right? WRONG!
  • 14. Why did this happen?  But now, there are problems ◦ Higher speed processors consume more power  Big problem for large servers: need their own power plant ◦ Higher speed processors generate more heat  Dissipating (removing) the heat is requiring more and more sophisticated equipment, heat sinks cannot do it anymore ◦ Result: not possible to keep increasing speed  Let’s look at some heat sinks
  • 15. Intel 386 (25 MHz) Heatsink  The 386 had no heatsink!  It did not generate much heat  Because it has very slow speed
  • 20. Why study parallel computing?  Old view: ◦ “Want more performance? Get new processor.” ◦ New processor will have higher speed, more advanced. Makes your software run faster. ◦ No effort from programmer for this extra speed.  New view: ◦ Processors will not be more advanced ◦ Processors will not have higher speed ◦ Industry/academia: Use extra transistors for multiple processors (cores) on the same chip ◦ This is called a multi-core processor  E.g., Core 2 Duo, Core 2 Quad, Athlon X2, X4
  • 21. Quotes ◦ “We are dedicating all of our future product development to multicore designs. … This is a sea change in computing”  Paul Otellini, President, Intel (2005) ◦ Number of cores will ~double every 2 years
  • 22. Why study parallel computing?  What are the benefits of multi-core? ◦ Continue to increase theoretical performance:  Quad-core processor, with each core at 2GHz is like 4x2GHz = 8GHz processor ◦ Decrease speed to reduce temperature, power  16-core at 0.5GHz = 16*0.5 = 8GHz  8GHz, but at lower temperature, lower power  Multi-core is attractive, because it removes existing problems  No limit (yet) to number of cores
  • 23. Affects on Programming  Before: ◦ Write sequential (non-parallel) program. ◦ It becomes faster with newer processor  Higher speed, more advanced  Now: ◦ New processor has more cores, but each is slower ◦ Sequential programs will run slower on new proc  They can only use one core ◦ What will run faster?  Parallel program that can use all the cores!!!
  • 24. Why study parallel computing?  You need knowledge of parallelism ◦ Future processors will have many cores ◦ Each core will become slower (speed) ◦ Your software will only achieve high performance if it is parallelized  Parallel programming is not easy ◦ Many factors affect performance ◦ Not easy to find source of bad performance ◦ Usually requires deeper understanding of processor architectures ◦ This is why there is a whole course for it
  • 25. Course Topics  Foundations of parallel algorithms ◦ How do we make a parallel algorithm? ◦ How do we measure its performance?  Foundations of parallel programming ◦ Parallel processor architectures ◦ Threads/tasks, synchronization, performance ◦ What are the trade-offs, and overheads?  Experiment with real hardware ◦ 8-way distributed supercomputer ◦ 24-core shared memory supercomputer  If we have time: ◦ GPGPUs / CUDA
  • 26. Skills You Need  Basic understanding of processor architectures ◦ Pipelines, registers, caches, memory  Programming in C and/or Java
  • 27. Summary  Processor technology cannot continue as before. Changed to multi-cores.  Multi-cores require programs to be parallelized for high performance  This course will cover core theory and practice of parallel computing