the team about me microsoft mvp intel blogger teched israel, teched europe hpc nt, ce, ddk, c#,...

34
Introduction To Parallel Computing

Upload: merry-walker

Post on 30-Dec-2015

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Introduction ToParallel Computing

Page 2: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

The Team

Page 3: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

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

Page 4: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

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

Page 5: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

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

Page 6: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

What is Multi-Core

PentiumPentium

PentiumPentium

Page 7: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Why Multi-Core

Power

Performance

2 GHz

100%

Page 8: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Why Multi-Core

Power

Performance

2.4 GHz 2 GHz

174%

100%

113%100%

Page 9: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Why Multi-Core

Power

Performance

1.6 GHz

100%

2 GHz

50%

87%

2.4 GHz

174%

100%

113%

Page 10: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Why Multi-Core

Power

Performance

1.6 GHz

100%

2 GHz

100%

174%

2.4 GHz

174%

100%

113%

174%

Page 11: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Advantages of Multi-Core

• Low Power Consumption• Extended battery life• Less heating• Smaller and lighter devices• Software replaces custom hardware!

Page 12: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Challenges With Multi-Core

• Design Patterns• STL• Our existing code• Tools• Online Samples• My Work Routine

Page 13: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Making Coffee

• Hot Water• Small Glass• Coffee• Milk• Sugar• Cookies

Page 14: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Object Oriented Design: Inheritance

Liquid Dissolvent

Page 15: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Object Oriented Design: Methods

• Make Hot• Is Hot?• Pour to glass• Is spilled?

Page 16: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Object Oriented: Steering

-> Mix with Sugar -> Mix with Water

-> Pour

-> Drop

-> MIX???

Page 17: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Actions

• Mix is an Action• “What Does” instead of “What is”• Relevant Methods Added• System Design!

Page 18: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

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

Page 19: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Making Coffee: The Flow Chart

START FINISH

IDLE

Page 20: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Making Coffee: Conjunction Points

START FINISH

IDLE

Page 21: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

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

Page 22: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

User Interface Demo

Page 23: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

User Interface Demo

Bad

Page 24: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

User Interface Demo

Page 25: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Renaissance

• Fork• Pipe• Services• Kernel• Hardware• Multiple Devices on board

Page 26: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

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

Page 27: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

ה'/כסלו/תש"ע

Page 28: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Video Opportunity

• 2 – 5 Minutes Video Interview• Intel.com Video• Contact Eva

Page 29: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Join The Israeli Community

• New Group• Join The Meetings• Microsoft & Intel• Fill the sign-up form

Page 30: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Next To Come

• Intel Tools For Parallel Computing• Bug Detection• Thread Building Blocks• Intel C++ Compiler

Page 31: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Visual Studio 2010

• Parallel Features• Parallel Debugger• Language Extensions• New Collection Libraries• New Look and Feel

Page 32: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Visit The Exhibition: INtime

• Intime: Deterministic Real-Time OS• Side by Side with Windows• Allocate Cores• Allocate Tasks• Keeps working after Windows

Page 33: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Visit The Exhibition: Pacific Software

• Real-Time Embedded Solutions• Multi-Core Programming• Microsoft Windows HPC• Training• Consulting• Programmers Uniquely trained for Parallel

Programming

Page 34: The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …

Coffee Break