Introduction Companion slides for The Art of Multiprocessor Programming by Maurice Herlihy & Nir Shavit TexPoint fonts used in EMF. Read the TexPoint manual.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

1 Multithreaded Programming in Java. 2 Agenda Introduction Thread Applications Defining Threads Java Threads and States Examples.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
ZMQS ZMQS
Chapter 1 Introduction Copyright © Operating Systems, by Dhananjay Dhamdhere Copyright © Introduction Abstract Views of an Operating System.
SE-292 High Performance Computing
The Art of Multiprocessor Programming Nir Shavit, Ori Shalev CS Spring 2007 (Based on the book by Herlihy and Shavit)
Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc
Dynamic Performance Tuning for Speculative Threads Yangchun Luo, Venkatesan Packirisamy, Nikhil Mungre, Ankit Tarkas, Wei-Chung Hsu, and Antonia Zhai Dept.
Squares and Square Root WALK. Solve each problem REVIEW:
WATERLOO ELECTRICAL AND COMPUTER ENGINEERING 20s: Computer Hardware 1 WATERLOO ELECTRICAL AND COMPUTER ENGINEERING 20s Computer Hardware Department of.
© 2012 National Heart Foundation of Australia. Slide 2.
Multi-core processors. 2 Processor development till 2004 Out-of-order Instruction scheduling Out-of-order Instruction scheduling.
This, that, these, those Number your paper from 1-10.
Executional Architecture
Chapter 5 Test Review Sections 5-1 through 5-4.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Week 1.
Parallelism Lecture notes from MKP and S. Yalamanchili.
We will resume in: 25 Minutes.
© DEEDS – OS Course WS11/12 Lecture 10 - Multiprocessing Support 1 Administrative Issues  Exam date candidates  CW 7 * Feb 14th (Tue): * Feb 16th.
SE-292 High Performance Computing Memory Hierarchy R. Govindarajan
1 Unit 1 Kinematics Chapter 1 Day
1 PART 1 ILLUSTRATION OF DOCUMENTS  Brief introduction to the documents contained in the envelope  Detailed clarification of the documents content.
Multiprocessors— Large vs. Small Scale Multiprocessors— Large vs. Small Scale.
Mutual Exclusion The Art of Multiprocessor Programming Spring 2007.
Introduction Companion slides for
Chair of Software Engineering Concurrent Object-Oriented Programming Prof. Dr. Bertrand Meyer Lecture 3: Introduction.
The Future of Concurrency Theory Renaissance or Reformation? (Met dank aan Maurice Herlihy) Frits Vaandrager.
1 Lecture 6 Performance Measurement and Improvement.
Introduction Companion slides for The Art of Multiprocessor Programming by Maurice Herlihy & Nir Shavit Modified by Rajeev Alur for CIS 640 at Penn, Spring.
Introduction to Multiprocessor Synchronization Maurice Herlihy TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA.
Joram Benham April 2,  Introduction  Motivation  Multicore Processors  Overview, CELL  Advantages of CMPs  Throughput, Latency  Challenges.
Introduction Companion slides for The Art of Multiprocessor Programming by Maurice Herlihy & Nir Shavit.
Parallel and Distributed Systems Instructor: Xin Yuan Department of Computer Science Florida State University.
Multi-Core Architectures
Multi-core Programming Introduction Topics. Topics General Ideas Moore’s Law Amdahl's Law Processes and Threads Concurrency vs. Parallelism.
Multicore Programming Nir Shavit Tel Aviv University.
1 © R. Guerraoui Concurrent Algorithms (Overview) Prof R. Guerraoui Distributed Programming Laboratory.
Introduction to Multiprocessor Synchronization Maurice Herlihy TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA.
Outline  Over view  Design  Performance  Advantages and disadvantages  Examples  Conclusion  Bibliography.
CS176 Capstone Project TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A AA In Deo Speramus Brown.
Introduction Companion slides for The Art of Multiprocessor Programming by Maurice Herlihy & Nir Shavit TexPoint fonts used in EMF. Read the TexPoint manual.
Multicore Computing Lecture 1 : Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang University.
Chapter 1 Performance & Technology Trends Read Sections 1.5, 1.6, and 1.8.
Multicore Programming Summer Daily Schedule 09:00am - 10:30am – Lecture 10:30am - 10:50pm - Break 10:50am - 12:20pm - Lecture 12:20pm - 01:20pm.
Multi-core processors. 2 Processor development till 2004 Out-of-order Instruction scheduling Out-of-order Instruction scheduling.
1 Lecture #21 Shared Objects and Concurrent Programming This material is not available in the textbook. The online powerpoint presentations contain the.
Introduction Companion slides for The Art of Multiprocessor Programming by Maurice Herlihy & Nir Shavit.
Shouqing Hao Institute of Computing Technology, Chinese Academy of Sciences Processes Scheduling on Heterogeneous Multi-core Architecture.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 3 Computer Evolution.
Lecture 27 Multiprocessor Scheduling. Last lecture: VMM Two old problems: CPU virtualization and memory virtualization I/O virtualization Today Issues.
Spin Locks and Contention Companion slides for The Art of Multiprocessor Programming by Maurice Herlihy & Nir Shavit.
Multicore Computing Lecture 1 : Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang University.
Concurrency Idea. 2 Concurrency idea Challenge –Print primes from 1 to Given –Ten-processor multiprocessor –One thread per processor Goal –Get ten-fold.
Human Media Multicore Computing Lecture 1 : Course Overview
Human Media Multicore Computing Lecture 1 : Course Overview
Presentation transcript:

Introduction Companion slides for The Art of Multiprocessor Programming by Maurice Herlihy & Nir Shavit TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A AA

Art of Multiprocessor Programming 2 Moores Law Clock speed flattening sharply Transistor count still rising

Moores Law (in practice) Art of Multiprocessor Programming3

4 Nearly Extinct: the Uniprocesor memory cpu

Art of Multiprocessor Programming 5 Endangered: The Shared Memory Multiprocessor (SMP) cache Bus shared memory cache

Art of Multiprocessor Programming 6 The New Boss: The Multicore Processor (CMP) cache Bus shared memory cache All on the same chip Sun T2000 Niagara

Art of Multiprocessor Programming 7 From the 2008 press… …Intel has announced a press conference in San Francisco on November 17th, where it will officially launch the Core i7 Nehalem processor… …Suns next generation Enterprise T5140 and T5240 servers, based on the 3rd Generation UltraSPARC T2 Plus processor, were released two days ago…

Art of Multiprocessor Programming 8 Why is Kunle Smiling? Niagara 1

Art of Multiprocessor Programming 9 Why do we care? Time no longer cures software bloat –The free ride is over When you double your programs path length –You cant just wait 6 months –Your software must somehow exploit twice as much concurrency

Art of Multiprocessor Programming 10 Traditional Scaling Process User code Traditional Uniprocessor Speedup 1.8x 7x 3.6x Time: Moores law

Ideal Scaling Process Art of Multiprocessor Programming 11 User code Multicore Speedup 1.8x7x3.6x Unfortunately, not so simple…

Actual Scaling Process Art of Multiprocessor Programming x 2x 2.9x User code Multicore Speedup Parallelization and Synchronization require great care…

Art of Multiprocessor Programming 13 Multicore Programming: Course Overview Fundamentals –Models, algorithms, impossibility Real-World programming –Architectures –Techniques

Art of Multiprocessor Programming 14 Sequential Computation memory object thread

Art of Multiprocessor Programming 15 Concurrent Computation memory object threads

Art of Multiprocessor Programming 16 Asynchrony Sudden unpredictable delays –Cache misses (short) –Page faults (long) –Scheduling quantum used up (really long)

Art of Multiprocessor Programming 17 Model Summary Multiple threads –Sometimes called processes Single shared memory Objects live in memory Unpredictable asynchronous delays

18 Road Map We are going to focus on principles first, then practice –Start with idealized models –Look at simplistic problems –Emphasize correctness over pragmatism –Correctness may be theoretical, but incorrectness has practical impact Art of Multiprocessor Programming

19 Concurrency Jargon Hardware –Processors Software –Threads, processes Sometimes OK to confuse them, sometimes not. Art of Multiprocessor Programming

20 Parallel Primality Testing Challenge –Print primes from 1 to Given –Ten-processor multiprocessor –One thread per processor Goal –Get ten-fold speedup (or close) Art of Multiprocessor Programming

21 Load Balancing Split the work evenly Each thread tests range of 10 9 … … · P0P0 P1P1 P9P9

22 Procedure for Thread i void primePrint { int i = ThreadID.get(); // IDs in {0..9} for (j = i* , j<(i+1)*10 9 ; j++) { if (isPrime(j)) print(j); } Art of Multiprocessor Programming

23 Issues Higher ranges have fewer primes Yet larger numbers harder to test Thread workloads –Uneven –Hard to predict Art of Multiprocessor Programming

24 Issues Higher ranges have fewer primes Yet larger numbers harder to test Thread workloads –Uneven –Hard to predict Need dynamic load balancing rejected

Art of Multiprocessor Programming Shared Counter each thread takes a number

26 Procedure for Thread i int counter = new Counter(1); void primePrint { long j = 0; while (j < ) { j = counter.getAndIncrement(); if (isPrime(j)) print(j); } Art of Multiprocessor Programming

27 Counter counter = new Counter(1); void primePrint { long j = 0; while (j < ) { j = counter.getAndIncrement(); if (isPrime(j)) print(j); } Procedure for Thread i Shared counter object

Art of Multiprocessor Programming 28 Where Things Reside cache Bus cache 1 shared counter shared memory void primePrint { int i = ThreadID.get(); // IDs in {0..9} for (j = i* , j<(i+1)*10 9 ; j++) { if (isPrime(j)) print(j); } code Local variables

Art of Multiprocessor Programming 29 Procedure for Thread i Counter counter = new Counter(1); void primePrint { long j = 0; while (j < ) { j = counter.getAndIncrement(); if (isPrime(j)) print(j); } Stop when every value taken

Art of Multiprocessor Programming 30 Counter counter = new Counter(1); void primePrint { long j = 0; while (j < ) { j = counter.getAndIncrement(); if (isPrime(j)) print(j); } Procedure for Thread i Increment & return each new value

31 Counter Implementation public class Counter { private long value; public long getAndIncrement() { return value++; } Art of Multiprocessor Programming

32 Counter Implementation public class Counter { private long value; public long getAndIncrement() { return value++; } OK for single thread, not for concurrent threads

Art of Multiprocessor Programming 33 What It Means public class Counter { private long value; public long getAndIncrement() { return value++; }

Art of Multiprocessor Programming 34 What It Means public class Counter { private long value; public long getAndIncrement() { return value++; } temp = value; value = temp + 1; return temp;

Art of Multiprocessor Programming 35 time Not so good… Value… 1 read 1 read 1 write 2 read 2 write 3 write 2 232

Art of Multiprocessor Programming 36 Is this problem inherent? If we could only glue reads and writes together… read write read write !!

37 Challenge public class Counter { private long value; public long getAndIncrement() { temp = value; value = temp + 1; return temp; } Art of Multiprocessor Programming

38 Challenge public class Counter { private long value; public long getAndIncrement() { temp = value; value = temp + 1; return temp; } Make these steps atomic (indivisible)

Art of Multiprocessor Programming 39 Hardware Solution public class Counter { private long value; public long getAndIncrement() { temp = value; value = temp + 1; return temp; } ReadModifyWrite() instruction

Art of Multiprocessor Programming 40 An Aside: Java public class Counter { private long value; public long getAndIncrement() { synchronized { temp = value; value = temp + 1; } return temp; }

Art of Multiprocessor Programming 41 An Aside: Java public class Counter { private long value; public long getAndIncrement() { synchronized { temp = value; value = temp + 1; } return temp; } Synchronized block

Art of Multiprocessor Programming 42 An Aside: Java public class Counter { private long value; public long getAndIncrement() { synchronized { temp = value; value = temp + 1; } return temp; } Mutual Exclusion

43 Mutual Exclusion, or Alice & Bob share a pond AB Art of Multiprocessor Programming

44 Alice has a pet AB Art of Multiprocessor Programming

45 Bob has a pet AB Art of Multiprocessor Programming

46 The Problem AB The pets dont get along Art of Multiprocessor Programming

47 Formalizing the Problem Two types of formal properties in asynchronous computation: Safety Properties –Nothing bad happens ever Liveness Properties –Something good happens eventually Art of Multiprocessor Programming

48 Formalizing our Problem Mutual Exclusion –Both pets never in pond simultaneously –This is a safety property No Deadlock –if only one wants in, it gets in –if both want in, one gets in. –This is a liveness property Art of Multiprocessor Programming

49 Simple Protocol Idea –Just look at the pond Gotcha –Not atomic –Trees obscure the view Art of Multiprocessor Programming

50 Interpretation Threads cant see what other threads are doing Explicit communication required for coordination Art of Multiprocessor Programming

51 Cell Phone Protocol Idea –Bob calls Alice (or vice-versa) Gotcha –Bob takes shower –Alice recharges battery –Bob out shopping for pet food … Art of Multiprocessor Programming

52 Interpretation Message-passing doesnt work Recipient might not be –Listening –There at all Communication must be –Persistent (like writing) –Not transient (like speaking) Art of Multiprocessor Programming

53 Can Protocol cola Art of Multiprocessor Programming

54 Bob conveys a bit AB cola Art of Multiprocessor Programming

55 Bob conveys a bit AB cola Art of Multiprocessor Programming

56 Can Protocol Idea –Cans on Alices windowsill –Strings lead to Bobs house –Bob pulls strings, knocks over cans Gotcha –Cans cannot be reused –Bob runs out of cans Art of Multiprocessor Programming

57 Interpretation Cannot solve mutual exclusion with interrupts –Sender sets fixed bit in receivers space –Receiver resets bit when ready –Requires unbounded number of interrupt bits Art of Multiprocessor Programming

58 Flag Protocol AB Art of Multiprocessor Programming

59 Alices Protocol (sort of) AB Art of Multiprocessor Programming

60 Bobs Protocol (sort of) AB Art of Multiprocessor Programming

61 Alices Protocol Raise flag Wait until Bobs flag is down Unleash pet Lower flag when pet returns Art of Multiprocessor Programming

62 Bobs Protocol Raise flag Wait until Alices flag is down Unleash pet Lower flag when pet returns danger!

63 Bobs Protocol (2 nd try) Raise flag While Alices flag is up –Lower flag –Wait for Alices flag to go down –Raise flag Unleash pet Lower flag when pet returns Art of Multiprocessor Programming

64 Bobs Protocol Raise flag While Alices flag is up –Lower flag –Wait for Alices flag to go down –Raise flag Unleash pet Lower flag when pet returns Bob defers to Alice

65 The Flag Principle Raise the flag Look at others flag Flag Principle: –If each raises and looks, then –Last to look must see both flags up Art of Multiprocessor Programming

66 Proof of Mutual Exclusion Assume both pets in pond –Derive a contradiction –By reasoning backwards Consider the last time Alice and Bob each looked before letting the pets in Without loss of generality assume Alice was the last to look… Art of Multiprocessor Programming

67 Proof time Alices last look Alice last raised her flag Bobs last look QED Alice must have seen Bobs Flag. A Contradiction Bob last raised flag

68 Proof of No Deadlock If only one pet wants in, it gets in. Art of Multiprocessor Programming

69 Proof of No Deadlock If only one pet wants in, it gets in. Deadlock requires both continually trying to get in. Art of Multiprocessor Programming

70 Proof of No Deadlock If only one pet wants in, it gets in. Deadlock requires both continually trying to get in. If Bob sees Alices flag, he gives her priority (a gentleman…) QED

71 Remarks Protocol is unfair –Bobs pet might never get in Protocol uses waiting –If Bob is eaten by his pet, Alices pet might never get in Art of Multiprocessor Programming

72 Moral of Story Mutual Exclusion cannot be solved by –transient communication (cell phones) –interrupts (cans) It can be solved by – one-bit shared variables – that can be read or written Art of Multiprocessor Programming

73 The Arbiter Problem (an aside) Pick a point

74 The Fable Continues Alice and Bob fall in love & marry Art of Multiprocessor Programming

75 The Fable Continues Alice and Bob fall in love & marry Then they fall out of love & divorce –She gets the pets –He has to feed them Art of Multiprocessor Programming

76 The Fable Continues Alice and Bob fall in love & marry Then they fall out of love & divorce –She gets the pets –He has to feed them Leading to a new coordination problem: Producer-Consumer Art of Multiprocessor Programming

77 Bob Puts Food in the Pond A Art of Multiprocessor Programming

78 mmm… Alice releases her pets to Feed B mmm… Art of Multiprocessor Programming

79 Producer/Consumer Alice and Bob cant meet –Each has restraining order on other –So he puts food in the pond –And later, she releases the pets Avoid –Releasing pets when theres no food –Putting out food if uneaten food remains Art of Multiprocessor Programming

80 Producer/Consumer Need a mechanism so that –Bob lets Alice know when food has been put out –Alice lets Bob know when to put out more food Art of Multiprocessor Programming

81 Surprise Solution AB cola Art of Multiprocessor Programming

82 Bob puts food in Pond AB cola Art of Multiprocessor Programming

83 Bob knocks over Can AB cola Art of Multiprocessor Programming

84 Alice Releases Pets AB cola yum… B Art of Multiprocessor Programming

85 Alice Resets Can when Pets are Fed AB cola Art of Multiprocessor Programming

86 Pseudocode while (true) { while (can.isUp()){}; pet.release(); pet.recapture(); can.reset(); } Alices code

Art of Multiprocessor Programming 87 Pseudocode while (true) { while (can.isUp()){}; pet.release(); pet.recapture(); can.reset(); } Alices code while (true) { while (can.isDown()){}; pond.stockWithFood(); can.knockOver(); } Bobs code

88 Correctness Mutual Exclusion –Pets and Bob never together in pond Art of Multiprocessor Programming

89 Correctness Mutual Exclusion –Pets and Bob never together in pond No Starvation if Bob always willing to feed, and pets always famished, then pets eat infinitely often. Art of Multiprocessor Programming

90 Correctness Mutual Exclusion –Pets and Bob never together in pond No Starvation if Bob always willing to feed, and pets always famished, then pets eat infinitely often. Producer/Consumer The pets never enter pond unless there is food, and Bob never provides food if there is unconsumed food. safety liveness safety

91 Could Also Solve Using Flags AB Art of Multiprocessor Programming

92 Waiting Both solutions use waiting –while(mumble){} In some cases waiting is problematic –If one participant is delayed –So is everyone else –But delays are common & unpredictable Art of Multiprocessor Programming

93 The Fable drags on … Bob and Alice still have issues Art of Multiprocessor Programming

94 The Fable drags on … Bob and Alice still have issues So they need to communicate Art of Multiprocessor Programming

95 The Fable drags on … Bob and Alice still have issues So they need to communicate They agree to use billboards … Art of Multiprocessor Programming

96 E 1 D 2 C 3 Billboards are Large B 3 A 1 Letter Tiles From Scrabble box Art of Multiprocessor Programming

97 E 1 D 2 C 3 Write One Letter at a Time … B 3 A 1 W 4 A 1 S 1 H 4 Art of Multiprocessor Programming

98 To post a message W 4 A 1 S 1 H 4 A 1 C 3 R 1 T 1 H 4 E 1 whew Art of Multiprocessor Programming

99 S 1 Lets send another message S 1 E 1 L 1 L 1 L 1 V 4 L 1 A 1 M 3 A 1 A 1 P 3 Art of Multiprocessor Programming

100 Uh-Oh A 1 C 3 R 1 T 1 H 4 E 1 S 1 E 1 L 1 L 1 L 1 OK Art of Multiprocessor Programming

101 Readers/Writers Devise a protocol so that –Writer writes one letter at a time –Reader reads one letter at a time –Reader sees snapshot Old message or new message No mixed messages Art of Multiprocessor Programming

102 Readers/Writers (continued) Easy with mutual exclusion But mutual exclusion requires waiting –One waits for the other –Everyone executes sequentially Remarkably –We can solve R/W without mutual exclusion Art of Multiprocessor Programming

103 Esoteric? Java container size() method Single shared counter? –incremented with each add() and –decremented with each remove() Threads wait to exclusively access counter performance bottleneck

104 Readers/Writers Solution Each thread i has size[i] counter –only it increments or decrements. To get objects size, a thread reads a snapshot of all counters This eliminates the bottleneck Art of Multiprocessor Programming

105 Why do we care? We want as much of the code as possible to execute concurrently (in parallel) A larger sequential part implies reduced performance Amdahls law: this relation is not linear… Art of Multiprocessor Programming

106 Amdahls Law Speedup= 1-thread execution time n-thread execution time

Art of Multiprocessor Programming 107 Amdahls Law Speedup=

Art of Multiprocessor Programming 108 Amdahls Law Speedup= Parallel fraction

Art of Multiprocessor Programming 109 Amdahls Law Speedup= Parallel fraction Sequential fraction

Art of Multiprocessor Programming 110 Amdahls Law Speedup= Parallel fraction Sequential fraction Number of threads

Amdahls Law (in practice) Art of Multiprocessor Programming111

112 Example Ten processors 60% concurrent, 40% sequential How close to 10-fold speedup? Art of Multiprocessor Programming

113 Example Ten processors 60% concurrent, 40% sequential How close to 10-fold speedup? Speedup = 2.17= Art of Multiprocessor Programming

114 Example Ten processors 80% concurrent, 20% sequential How close to 10-fold speedup? Art of Multiprocessor Programming

115 Example Ten processors 80% concurrent, 20% sequential How close to 10-fold speedup? Speedup = 3.57 = Art of Multiprocessor Programming

116 Example Ten processors 90% concurrent, 10% sequential How close to 10-fold speedup? Art of Multiprocessor Programming

117 Example Ten processors 90% concurrent, 10% sequential How close to 10-fold speedup? Speedup = 5.26=

118 Example Ten processors 99% concurrent, 01% sequential How close to 10-fold speedup? Art of Multiprocessor Programming

119 Example Ten processors 99% concurrent, 01% sequential How close to 10-fold speedup? Speedup = 9.17=

Back to Real-World Multicore Scaling 1.8x 2x 2.9x User code Multicore Speedup Not reducing sequential % of code Art of Multiprocessor Programming

Shared Data Structures 75% Unshared 25% Shared Coarse Grained Fine Grained 75% Unshared 25% Shared

Shared Data Structures 75% Unshared 25% Shared Coarse Grained Fine Grained Why only 2.9 speedup 75% Unshared 25% Shared Honk!

Shared Data Structures 75% Unshared 25% Shared Coarse Grained Fine Grained Why fine-grained parallelism maters 75% Unshared 25% Shared Honk!

Art of Multiprocessor Programming Diminishing Returns This course is about the parts that are hard to make concurrent … but still have a big influence on speedup!

Art of Multiprocessor Programming 125 This work is licensed under a Creative Commons Attribution- ShareAlike 2.5 License.Creative Commons Attribution- ShareAlike 2.5 License You are free: –to Share to copy, distribute and transmit the work –to Remix to adapt the work Under the following conditions: –Attribution. You must attribute the work to The Art of Multiprocessor Programming (but not in any way that suggests that the authors endorse you or your use of the work). –Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to – Any of the above conditions can be waived if you get permission from the copyright holder. Nothing in this license impairs or restricts the author's moral rights.