View
220
Download
2
Category
Tags:
Preview:
Citation preview
Introduction ToParallel Computing
The Team
About Me
• Microsoft MVP• Intel Blogger• TechEd Israel, TechEd Europe• HPC• NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …• http://AsyncOp.com• http://Asaf.Shelly.co.il
Agenda
• Introduction & Key Concepts• Intel Tools• Visual Studio 2010• Parallel Programming: Models & Techniques• Windows Server• Windows Server 2008 R2 HPC• Michael Sullivan:
Platform Strategy Manager Microsoft MEA
Parallel Computing
• Multi-Core• Distributed Systems• SOA & WebServices• Transaction, Session, Queue, Event, Interrupt• User Experience over User Interface• Maximize performance: No Free Work Unit• Best performance: No I/O Wait
What is Multi-Core
PentiumPentium
PentiumPentium
Why Multi-Core
Power
Performance
2 GHz
100%
Why Multi-Core
Power
Performance
2.4 GHz 2 GHz
174%
100%
113%100%
Why Multi-Core
Power
Performance
1.6 GHz
100%
2 GHz
50%
87%
2.4 GHz
174%
100%
113%
Why Multi-Core
Power
Performance
1.6 GHz
100%
2 GHz
100%
174%
2.4 GHz
174%
100%
113%
174%
Advantages of Multi-Core
• Low Power Consumption• Extended battery life• Less heating• Smaller and lighter devices• Software replaces custom hardware!
Challenges With Multi-Core
• Design Patterns• STL• Our existing code• Tools• Online Samples• My Work Routine
Making Coffee
• Hot Water• Small Glass• Coffee• Milk• Sugar• Cookies
Object Oriented Design: Inheritance
Liquid Dissolvent
Object Oriented Design: Methods
• Make Hot• Is Hot?• Pour to glass• Is spilled?
Object Oriented: Steering
-> Mix with Sugar -> Mix with Water
-> Pour
-> Drop
-> MIX???
Actions
• Mix is an Action• “What Does” instead of “What is”• Relevant Methods Added• System Design!
Making Coffee in the real world
• Boil the water• Until water is hot:• Go to the kitchen and get the coffee, milk, sugar• If water still not hot read a book• Mix the sugar, coffee and hot water• Add the milk• Go get 5 cookies of the 42 you made yesterday
Making Coffee: The Flow Chart
START FINISH
IDLE
Making Coffee: Conjunction Points
START FINISH
IDLE
Task Oriented Design
• Is The Missing Link• Flow Charts before Object Diagrams• Locating Flow Control Bugs (Random Bugs)• Maximizing CPU Power• Keep Responsive for good UX
User Interface Demo
User Interface Demo
Bad
User Interface Demo
Renaissance
• Fork• Pipe• Services• Kernel• Hardware• Multiple Devices on board
Wave of the future
• New Tools• New Design Patterns• New API Sets• New and Evolving ways to do things• Object Oriented Aware• New Communities• New R&D Culture
ה'/כסלו/תש"ע
Video Opportunity
• 2 – 5 Minutes Video Interview• Intel.com Video• Contact Eva
Join The Israeli Community
• New Group• Join The Meetings• Microsoft & Intel• Fill the sign-up form
Next To Come
• Intel Tools For Parallel Computing• Bug Detection• Thread Building Blocks• Intel C++ Compiler
Visual Studio 2010
• Parallel Features• Parallel Debugger• Language Extensions• New Collection Libraries• New Look and Feel
Visit The Exhibition: INtime
• Intime: Deterministic Real-Time OS• Side by Side with Windows• Allocate Cores• Allocate Tasks• Keeps working after Windows
Visit The Exhibition: Pacific Software
• Real-Time Embedded Solutions• Multi-Core Programming• Microsoft Windows HPC• Training• Consulting• Programmers Uniquely trained for Parallel
Programming
Coffee Break
Recommended