Parallel Programming: The Road to HPC
- Prof. Michael Robson
Parallel Programming: The Road to HPC Prof. Michael Robson Name - - PowerPoint PPT Presentation
Parallel Programming: The Road to HPC Prof. Michael Robson Name Preferred Name Introductions Pronoun (she/he/they) Interesting Fact / Hobby / Excited to Learn What and how should I parallelize? premature optimization is the root of all
Introductions
Name Preferred Name Pronoun (she/he/they) Interesting Fact / Hobby / Excited to Learn
Outline
Resources
Course Website
http://www.csc.villanova.edu/~mprobson/courses/fa20-csc5930/
10
Collaboration is encouraged in this course while exploring the path to a
and references to Internet resources are no longer appropriate. All submitted work must be your own, as per Villanova’s academic integrity code (excerpt here): “Anyone who hands in work that is not his or her own, or who cheats on a test, or plagiarizes a paper, is not learning, is receiving credit dishonestly and is, in effect, stealing from other students. As a consequence, it is crucial that students do their own work. Students who use someone else's work or ideas without saying so, or who
Grading
Project Ideas / Suggestions
Today’s Discussion
Complexity of Modern Processors Makes Performance Optimization Challenging
15
Computers
16
The Modest Switch
17
Lets use them creatively
18
Output is high if both the inputs input1 AND input2 are high If either of the inputs is low, the output is low.
Input1 Input2 Output
This is called an AND gate Now, can you make an OR gate with switches?
OR Gate
19
Input1 Input2 Output Output is low iff both inputs are low I.e. Output is high if either of the inputs (or both) are high (input1 OR input2)
Basic Gates
20
AND
OR of two inputs NOT (complement)
Operation: Logic gate:
How to make switches?
21
Two properties of Switches and Gates: Size Switching and Propagation delay
Clock Speeds
calculations within the cycle
22
The Virtuous Cycle
23
Moore’s law
two per year. [It] can be expected to continue…for at least 10 years”
24
25
Clock Speeds Increased
26
Notice a little trick: x axis goes only to 2003!
Intel Processor Clock Speed (MHz)
Until they stopped increasing!
27
Intel Processor Clock Speed (MHz)
28
Source: Herb Sutter (orig. in DDJ)
Prediction in 1999
From Shekhar Borkar, Intel, at MICRO’99
29
So, the chips were getting too hot
Power vs Frequency
30
45.00% 65.00% 85.00% 105.00% 125.00% 145.00% 165.00% 1.20% 1.60% 2.00% 2.40% 2.80% 3.20% 3.60%
Power&Consump-on&(W)& Frequency&(GHz)&
Intel%i7%(Nehalem)% Intel%Xeon%E5520% Intel%i7%(Sandy%Bridge)%
Number of Transistors/chip?
31
Consequence
32
Status
was a constant
transistors we get via Moore’s law
chip.. No?
33
Two problems
multicore chips) will stop growing
34
Alternative: Parallelism
bear
app
35
A Few Candidate Areas
36
Parallel Programming Skills
―True?
―Approximate estimate
―Right? What do you think?
37
Programming Models Innovations
38
Small Clusters
cluster
39
Supercomputers
beyond-exascale (1000 Eflops?)
40
Next Era: End of Moore’s Law
biomedical (nanobots?), materials,
won’t change under your feet
41
Caution: Predicting Future
42
Summary of introduction
chips will stall
43
Quiz