SlideShare une entreprise Scribd logo
1  sur  31
The Free Lunch Is Over
The Free Lunch Is Over
A Fundamental Turn Toward
Concurrency in Software
(By Herb Sutter)
Presenter
Muhammad Rizwan
Sr. Software Engineer
muhammad.rizwan@techlogix.xom
+92 51 111 859 859 Ext 108
Agenda
• Moore's Law
• Amdahl's law
• Performance Factors
• Free Lunch
• Power Wall
• Free Lunch is Over
• Conclusion
• Future
• References
Moors Law
Moor’s Law
• Over the history of computing hardware,
the number of transistors on integrated
circuits doubles approximately every two
years Transistor
Count
If the current trend continues
to 2020, the number of
transistors would reach 32
billion.
Amdahl's law
Amdahl's law
The speedup of a
program using
multiple processors
in parallel
computing is limited
by the sequential
fraction of the
program.
For example, if 95% of the program can
be parallelized, the theoretical maximum
speedup using parallel computing would
be 20× as shown in the diagram, no
matter how many processors are used
Performance Factors
Performance Factors
Clock Speed
Execution Optimization
Cache
Free Lunch
What Free Lunch Is Actually?
Free Lunch
Programmers haven't
really had to worry
much about
performance or
concurrency because
of Moore's Law
The traditional approach
to application
performance was to
simply wait for the next
generation of processor;
most software
developers did not need
to invest in performance
tuning, and enjoyed a
“free lunch” from
hardware
improvements.
Why we did not see 4GHz
processors in Market?
Power Wall
Power Wall
Power Wall
Power Wall
This Free Lunch is Over
Right Now…
Free Lunch is Over
Your free lunch will soon be over. What can you do about it?
What are you doing about it?
The major processor manufacturers and
architectures, from Intel and AMD to Sparc and
PowerPC, have run out of room with most of their
traditional approaches to boosting CPU performance.
Instead of driving clock speeds and straight-line
instruction throughput ever higher, they are instead
turning toward hyper threading and multicore
architectures
Chip designers are under so much pressure to
deliver ever-faster CPUs that they’ll risk changing
the meaning of your program, and possibly break
it, in order to make it run faster
Conclusion
 The free lunch is over
 Performance Free Lunch
 Moore’s law has changed
Futurists such as Ray Kurzweil, Bruce Sterling, and Vernor Vinge believe that the
exponential improvement described by Moore's law will ultimately lead to a technological
singularity: a period where progress in technology occurs almost instantly.
 Amdahl’s law demands shift in software
concepts
 Factors
 Hyper threading
 Multicore
 Cache
Future
Now ball is in programmers
court
-> With multicore processors, programs written in sequential mode will no longer
surf on the wave of this generation processors.
->To surf in new wave, programs need to be well writtenparallel.
-> Programming language and systemwill increasingly be forced to deal well
with concurrency.
-> Concurrency is the next major revolution in how we write software.
->Applications will increasingly need to be concurrent if they want to fully exploit
continuing exponential CPU throughput gains.
-> Efficiency and performanceoptimization will get more, not less, important.
New Law
Only Parallel Applications
Will Survive
References
References
The Free Lunch Is Over By Herb Sutter
A Fundamental Turn Toward Concurrency in Software
The Free Lunch Is Over By Ricardo Hermann , Thadeo Carmo
Developing Concurrent Software
Is the free lunch really over? Scalability in
Many-core Systems By Michael Wrinn
The Price of Free Lunch
Programming in Multicore Era
Any Question?

Contenu connexe

Tendances

Dual Embedding Space Model (DESM)
Dual Embedding Space Model (DESM)Dual Embedding Space Model (DESM)
Dual Embedding Space Model (DESM)Bhaskar Mitra
 
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingSeonghyun Kim
 
Conversational AI with Transformer Models
Conversational AI with Transformer ModelsConversational AI with Transformer Models
Conversational AI with Transformer ModelsDatabricks
 
Repository open access-المستودعات الرقمية
Repository open access-المستودعات الرقميةRepository open access-المستودعات الرقمية
Repository open access-المستودعات الرقميةabedelaziz benzine
 
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | EdurekaDevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | EdurekaEdureka!
 
GloVe:Global vectors for word representation
GloVe:Global vectors for word representationGloVe:Global vectors for word representation
GloVe:Global vectors for word representationkeunbong kwak
 
Word2vec slide(lab seminar)
Word2vec slide(lab seminar)Word2vec slide(lab seminar)
Word2vec slide(lab seminar)Jinpyo Lee
 
اللغة العربية والذكاء الإصطناعى الذكاء الاصطناعى وسيلة لتيسيرالحوار بين الشعو...
اللغة العربية والذكاء الإصطناعى الذكاء الاصطناعى وسيلة لتيسيرالحوار بين الشعو...اللغة العربية والذكاء الإصطناعى الذكاء الاصطناعى وسيلة لتيسيرالحوار بين الشعو...
اللغة العربية والذكاء الإصطناعى الذكاء الاصطناعى وسيلة لتيسيرالحوار بين الشعو...Aboul Ella Hassanien
 
التحول_الرقمي الوحدة الأولى الجلسة الأولى 15-03.pptx
التحول_الرقمي الوحدة الأولى الجلسة الأولى  15-03.pptxالتحول_الرقمي الوحدة الأولى الجلسة الأولى  15-03.pptx
التحول_الرقمي الوحدة الأولى الجلسة الأولى 15-03.pptxGmachImen
 
Dev ops, from theory to practice, by vahid rahimian
Dev ops, from theory to practice, by vahid rahimianDev ops, from theory to practice, by vahid rahimian
Dev ops, from theory to practice, by vahid rahimianVahid Rahimian
 
A tutorial on Machine Translation
A tutorial on Machine TranslationA tutorial on Machine Translation
A tutorial on Machine TranslationJaganadh Gopinadhan
 
Presentation DevOps : enjeux , objectifs, consequences
Presentation DevOps : enjeux , objectifs, consequencesPresentation DevOps : enjeux , objectifs, consequences
Presentation DevOps : enjeux , objectifs, consequencesStéphane Di Cioccio
 
DevOps introduction
DevOps introductionDevOps introduction
DevOps introductionSridhara T V
 

Tendances (20)

Introduction to devops
Introduction to devopsIntroduction to devops
Introduction to devops
 
البرمجيات
البرمجياتالبرمجيات
البرمجيات
 
Bleu vs rouge
Bleu vs rougeBleu vs rouge
Bleu vs rouge
 
Scorm
ScormScorm
Scorm
 
Open source presentation
Open source presentationOpen source presentation
Open source presentation
 
Dual Embedding Space Model (DESM)
Dual Embedding Space Model (DESM)Dual Embedding Space Model (DESM)
Dual Embedding Space Model (DESM)
 
نظم التشغيل
نظم التشغيلنظم التشغيل
نظم التشغيل
 
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
 
Conversational AI with Transformer Models
Conversational AI with Transformer ModelsConversational AI with Transformer Models
Conversational AI with Transformer Models
 
Devops
DevopsDevops
Devops
 
Repository open access-المستودعات الرقمية
Repository open access-المستودعات الرقميةRepository open access-المستودعات الرقمية
Repository open access-المستودعات الرقمية
 
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | EdurekaDevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
DevOps Interview Questions and Answers 2019 | DevOps Tutorial | Edureka
 
GloVe:Global vectors for word representation
GloVe:Global vectors for word representationGloVe:Global vectors for word representation
GloVe:Global vectors for word representation
 
Word2vec slide(lab seminar)
Word2vec slide(lab seminar)Word2vec slide(lab seminar)
Word2vec slide(lab seminar)
 
اللغة العربية والذكاء الإصطناعى الذكاء الاصطناعى وسيلة لتيسيرالحوار بين الشعو...
اللغة العربية والذكاء الإصطناعى الذكاء الاصطناعى وسيلة لتيسيرالحوار بين الشعو...اللغة العربية والذكاء الإصطناعى الذكاء الاصطناعى وسيلة لتيسيرالحوار بين الشعو...
اللغة العربية والذكاء الإصطناعى الذكاء الاصطناعى وسيلة لتيسيرالحوار بين الشعو...
 
التحول_الرقمي الوحدة الأولى الجلسة الأولى 15-03.pptx
التحول_الرقمي الوحدة الأولى الجلسة الأولى  15-03.pptxالتحول_الرقمي الوحدة الأولى الجلسة الأولى  15-03.pptx
التحول_الرقمي الوحدة الأولى الجلسة الأولى 15-03.pptx
 
Dev ops, from theory to practice, by vahid rahimian
Dev ops, from theory to practice, by vahid rahimianDev ops, from theory to practice, by vahid rahimian
Dev ops, from theory to practice, by vahid rahimian
 
A tutorial on Machine Translation
A tutorial on Machine TranslationA tutorial on Machine Translation
A tutorial on Machine Translation
 
Presentation DevOps : enjeux , objectifs, consequences
Presentation DevOps : enjeux , objectifs, consequencesPresentation DevOps : enjeux , objectifs, consequences
Presentation DevOps : enjeux , objectifs, consequences
 
DevOps introduction
DevOps introductionDevOps introduction
DevOps introduction
 

Similaire à The free lunch is over

Multicore_Architecture Book.pdf
Multicore_Architecture Book.pdfMulticore_Architecture Book.pdf
Multicore_Architecture Book.pdfSwatantraPrakash5
 
Evaluation of morden computer & system attributes in ACA
Evaluation of morden computer &  system attributes in ACAEvaluation of morden computer &  system attributes in ACA
Evaluation of morden computer & system attributes in ACAPankaj Kumar Jain
 
Introduction into the problems of developing parallel programs
Introduction into the problems of developing parallel programsIntroduction into the problems of developing parallel programs
Introduction into the problems of developing parallel programsPVS-Studio
 
3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
3. Potential Benefits, Limits and Costs of Parallel Programming.pdf3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
3. Potential Benefits, Limits and Costs of Parallel Programming.pdfMohamedAymen14
 
Introduction to parallel_computing
Introduction to parallel_computingIntroduction to parallel_computing
Introduction to parallel_computingMehul Patel
 
Parallel Computing - Lec 6
Parallel Computing - Lec 6Parallel Computing - Lec 6
Parallel Computing - Lec 6Shah Zaib
 
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptxICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptxjohnsmith96441
 
5.7 Parallel Processing - Reactive Programming.pdf.pptx
5.7 Parallel Processing - Reactive Programming.pdf.pptx5.7 Parallel Processing - Reactive Programming.pdf.pptx
5.7 Parallel Processing - Reactive Programming.pdf.pptxMohamedBilal73
 
Parallel Algorithms Advantages and Disadvantages
Parallel Algorithms Advantages and DisadvantagesParallel Algorithms Advantages and Disadvantages
Parallel Algorithms Advantages and DisadvantagesMurtadha Alsabbagh
 
Is Multicore Hardware For General-Purpose Parallel Processing Broken? : Notes
Is Multicore Hardware For General-Purpose Parallel Processing Broken? : NotesIs Multicore Hardware For General-Purpose Parallel Processing Broken? : Notes
Is Multicore Hardware For General-Purpose Parallel Processing Broken? : NotesSubhajit Sahu
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel ComputingRoshan Karunarathna
 
PeerToPeerComputing (1)
PeerToPeerComputing (1)PeerToPeerComputing (1)
PeerToPeerComputing (1)MurtazaB
 
Choosing the right parallel compute architecture
Choosing the right parallel compute architecture Choosing the right parallel compute architecture
Choosing the right parallel compute architecture corehard_by
 
Lecture 3
Lecture 3Lecture 3
Lecture 3Mr SMAK
 
CA UNIT I PPT.ppt
CA UNIT I PPT.pptCA UNIT I PPT.ppt
CA UNIT I PPT.pptRAJESH S
 
Parallel and Distributed Computing chapter 1
Parallel and Distributed Computing chapter 1Parallel and Distributed Computing chapter 1
Parallel and Distributed Computing chapter 1AbdullahMunir32
 

Similaire à The free lunch is over (20)

Multicore_Architecture Book.pdf
Multicore_Architecture Book.pdfMulticore_Architecture Book.pdf
Multicore_Architecture Book.pdf
 
Chap 1(one) general introduction
Chap 1(one)  general introductionChap 1(one)  general introduction
Chap 1(one) general introduction
 
Evaluation of morden computer & system attributes in ACA
Evaluation of morden computer &  system attributes in ACAEvaluation of morden computer &  system attributes in ACA
Evaluation of morden computer & system attributes in ACA
 
Introduction into the problems of developing parallel programs
Introduction into the problems of developing parallel programsIntroduction into the problems of developing parallel programs
Introduction into the problems of developing parallel programs
 
3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
3. Potential Benefits, Limits and Costs of Parallel Programming.pdf3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
3. Potential Benefits, Limits and Costs of Parallel Programming.pdf
 
Introduction to parallel_computing
Introduction to parallel_computingIntroduction to parallel_computing
Introduction to parallel_computing
 
Parallel Computing - Lec 6
Parallel Computing - Lec 6Parallel Computing - Lec 6
Parallel Computing - Lec 6
 
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptxICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
ICS 2410.Parallel.Sytsems.Lecture.Week 3.week5.pptx
 
5.7 Parallel Processing - Reactive Programming.pdf.pptx
5.7 Parallel Processing - Reactive Programming.pdf.pptx5.7 Parallel Processing - Reactive Programming.pdf.pptx
5.7 Parallel Processing - Reactive Programming.pdf.pptx
 
Parallel Algorithms Advantages and Disadvantages
Parallel Algorithms Advantages and DisadvantagesParallel Algorithms Advantages and Disadvantages
Parallel Algorithms Advantages and Disadvantages
 
Is Multicore Hardware For General-Purpose Parallel Processing Broken? : Notes
Is Multicore Hardware For General-Purpose Parallel Processing Broken? : NotesIs Multicore Hardware For General-Purpose Parallel Processing Broken? : Notes
Is Multicore Hardware For General-Purpose Parallel Processing Broken? : Notes
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel Computing
 
PeerToPeerComputing (1)
PeerToPeerComputing (1)PeerToPeerComputing (1)
PeerToPeerComputing (1)
 
Lecture1
Lecture1Lecture1
Lecture1
 
CC unit 1.pptx
CC unit 1.pptxCC unit 1.pptx
CC unit 1.pptx
 
Choosing the right parallel compute architecture
Choosing the right parallel compute architecture Choosing the right parallel compute architecture
Choosing the right parallel compute architecture
 
Isometric Making Essay
Isometric Making EssayIsometric Making Essay
Isometric Making Essay
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
CA UNIT I PPT.ppt
CA UNIT I PPT.pptCA UNIT I PPT.ppt
CA UNIT I PPT.ppt
 
Parallel and Distributed Computing chapter 1
Parallel and Distributed Computing chapter 1Parallel and Distributed Computing chapter 1
Parallel and Distributed Computing chapter 1
 

Plus de Muhammad Rizwan

Plus de Muhammad Rizwan (6)

Notice About Assignments
Notice About AssignmentsNotice About Assignments
Notice About Assignments
 
Na Project
Na ProjectNa Project
Na Project
 
NUmerical Project Refrence Report
NUmerical Project Refrence ReportNUmerical Project Refrence Report
NUmerical Project Refrence Report
 
Na Project Phase#1
Na Project Phase#1Na Project Phase#1
Na Project Phase#1
 
Class Assignment 1
Class Assignment 1Class Assignment 1
Class Assignment 1
 
Matlab Basic Tutorial
Matlab Basic TutorialMatlab Basic Tutorial
Matlab Basic Tutorial
 

Dernier

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
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
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.christianmathematics
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
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...Association for Project Management
 
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...pradhanghanshyam7136
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
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-701bronxfugly43
 

Dernier (20)

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...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
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.
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
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...
 
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...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
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
 

The free lunch is over

  • 1. The Free Lunch Is Over
  • 2. The Free Lunch Is Over A Fundamental Turn Toward Concurrency in Software (By Herb Sutter)
  • 3. Presenter Muhammad Rizwan Sr. Software Engineer muhammad.rizwan@techlogix.xom +92 51 111 859 859 Ext 108
  • 4. Agenda • Moore's Law • Amdahl's law • Performance Factors • Free Lunch • Power Wall • Free Lunch is Over • Conclusion • Future • References
  • 6. Moor’s Law • Over the history of computing hardware, the number of transistors on integrated circuits doubles approximately every two years Transistor Count If the current trend continues to 2020, the number of transistors would reach 32 billion.
  • 8. Amdahl's law The speedup of a program using multiple processors in parallel computing is limited by the sequential fraction of the program. For example, if 95% of the program can be parallelized, the theoretical maximum speedup using parallel computing would be 20× as shown in the diagram, no matter how many processors are used
  • 11. Free Lunch What Free Lunch Is Actually?
  • 12. Free Lunch Programmers haven't really had to worry much about performance or concurrency because of Moore's Law The traditional approach to application performance was to simply wait for the next generation of processor; most software developers did not need to invest in performance tuning, and enjoyed a “free lunch” from hardware improvements. Why we did not see 4GHz processors in Market?
  • 15.
  • 17. Power Wall This Free Lunch is Over Right Now…
  • 18. Free Lunch is Over Your free lunch will soon be over. What can you do about it? What are you doing about it?
  • 19. The major processor manufacturers and architectures, from Intel and AMD to Sparc and PowerPC, have run out of room with most of their traditional approaches to boosting CPU performance. Instead of driving clock speeds and straight-line instruction throughput ever higher, they are instead turning toward hyper threading and multicore architectures Chip designers are under so much pressure to deliver ever-faster CPUs that they’ll risk changing the meaning of your program, and possibly break it, in order to make it run faster
  • 21.  The free lunch is over  Performance Free Lunch  Moore’s law has changed Futurists such as Ray Kurzweil, Bruce Sterling, and Vernor Vinge believe that the exponential improvement described by Moore's law will ultimately lead to a technological singularity: a period where progress in technology occurs almost instantly.  Amdahl’s law demands shift in software concepts  Factors  Hyper threading  Multicore  Cache
  • 23.
  • 24.
  • 25.
  • 26. Now ball is in programmers court
  • 27. -> With multicore processors, programs written in sequential mode will no longer surf on the wave of this generation processors. ->To surf in new wave, programs need to be well writtenparallel. -> Programming language and systemwill increasingly be forced to deal well with concurrency. -> Concurrency is the next major revolution in how we write software. ->Applications will increasingly need to be concurrent if they want to fully exploit continuing exponential CPU throughput gains. -> Efficiency and performanceoptimization will get more, not less, important.
  • 28. New Law Only Parallel Applications Will Survive
  • 30. References The Free Lunch Is Over By Herb Sutter A Fundamental Turn Toward Concurrency in Software The Free Lunch Is Over By Ricardo Hermann , Thadeo Carmo Developing Concurrent Software Is the free lunch really over? Scalability in Many-core Systems By Michael Wrinn The Price of Free Lunch Programming in Multicore Era