Modeling Parallel Programs

Documents pareils
Instructions Mozilla Thunderbird Page 1

Application Form/ Formulaire de demande

Forthcoming Database

Contents Windows

Instructions pour mettre à jour un HFFv2 v1.x.yy v2.0.00

UML : Unified Modeling Language

RULE 5 - SERVICE OF DOCUMENTS RÈGLE 5 SIGNIFICATION DE DOCUMENTS. Rule 5 / Règle 5

Editing and managing Systems engineering processes at Snecma

Paxton. ins Net2 desktop reader USB

Gestion des prestations Volontaire

Utiliser une WebCam. Micro-ordinateurs, informations, idées, trucs et astuces

iqtool - Outil e-learning innovateur pour enseigner la Gestion de Qualité au niveau BAC+2

THE LAW SOCIETY OF UPPER CANADA BY-LAW 19 [HANDLING OF MONEY AND OTHER PROPERTY] MOTION TO BE MOVED AT THE MEETING OF CONVOCATION ON JANUARY 24, 2002

GAME CONTENTS CONTENU DU JEU OBJECT OF THE GAME BUT DU JEU

DOCUMENTATION - FRANCAIS... 2

AMENDMENT TO BILL 32 AMENDEMENT AU PROJET DE LOI 32

INDIVIDUALS AND LEGAL ENTITIES: If the dividends have not been paid yet, you may be eligible for the simplified procedure.

APPENDIX 6 BONUS RING FORMAT

Le passé composé. C'est le passé! Tout ça c'est du passé! That's the past! All that's in the past!

We Generate. You Lead.

calls.paris-neuroscience.fr Tutoriel pour Candidatures en ligne *** Online Applications Tutorial

THÈSE. présentée à TÉLÉCOM PARISTECH. pour obtenir le grade de. DOCTEUR de TÉLÉCOM PARISTECH. Mention Informatique et Réseaux. par.

Francoise Lee.

Quick Start Guide This guide is intended to get you started with Rational ClearCase or Rational ClearCase MultiSite.

Les Portfolios et Moodle Petit inventaire

Archived Content. Contenu archivé

Below are the answers to question(s) submitted in regards to the above noted RFP as of August 5 th, 2014

Practice Direction. Class Proceedings

JSIam Introduction talk. Philippe Gradt. Grenoble, March 6th 2015

DOCUMENTATION - FRANCAIS... 2

LOI SUR LA RECONNAISSANCE DE L'ADOPTION SELON LES COUTUMES AUTOCHTONES ABORIGINAL CUSTOM ADOPTION RECOGNITION ACT

Les techniques de la télémaintenance

MELTING POTES, LA SECTION INTERNATIONALE DU BELLASSO (Association étudiante de lʼensaparis-belleville) PRESENTE :

TABLE DES MATIERES A OBJET PROCEDURE DE CONNEXION

Nouveautés printemps 2013

POLICY: FREE MILK PROGRAM CODE: CS-4

First Nations Assessment Inspection Regulations. Règlement sur l inspection aux fins d évaluation foncière des premières nations CONSOLIDATION

Informatique / Computer Science

WEB page builder and server for SCADA applications usable from a WEB navigator

INVESTMENT REGULATIONS R In force October 1, RÈGLEMENT SUR LES INVESTISSEMENTS R En vigueur le 1 er octobre 2001

physicien diplômé EPFZ originaire de France présentée acceptée sur proposition Thèse no. 7178

English Q&A #1 Braille Services Requirement PPTC Q1. Would you like our proposal to be shipped or do you prefer an electronic submission?

Règlement sur le télémarketing et les centres d'appel. Call Centres Telemarketing Sales Regulation

3615 SELFIE. HOW-TO / GUIDE D'UTILISATION

Guide d'installation rapide TFM-560X YO.13

Utiliser un proxy sous linux

XtremWeb-HEP Interconnecting jobs over DG. Virtualization over DG. Oleg Lodygensky Laboratoire de l Accélérateur Linéaire

Dans une agence de location immobilière...

Le No.1 de l économie d énergie pour patinoires.

Contrôle d'accès Access control. Notice technique / Technical Manual

Créé par Goldfing & Pblabla Créé le 02/05/ :49:00. Guide pour la déclaration d impôt

LE PLAN SAUMON DE LOIRE- ALLIER THE LOIRE-ALLIER. Nicolas FORRAY Dreal Centre, Dreal de bassin Loire-Bretagne

Township of Russell: Recreation Master Plan Canton de Russell: Plan directeur de loisirs

DOCUMENTATION MODULE BLOCKCATEGORIESCUSTOM Module crée par Prestacrea - Version : 2.0

INSTITUT MARITIME DE PREVENTION. For improvement in health and security at work. Created in 1992 Under the aegis of State and the ENIM

Once the installation is complete, you can delete the temporary Zip files..

Stratégie DataCenters Société Générale Enjeux, objectifs et rôle d un partenaire comme Data4

ONTARIO Court File Number. Form 17E: Trial Management Conference Brief. Date of trial management conference. Name of party filing this brief

The new consumables catalogue from Medisoft is now updated. Please discover this full overview of all our consumables available to you.

that the child(ren) was/were in need of protection under Part III of the Child and Family Services Act, and the court made an order on

BNP Paribas Personal Finance

Principe de TrueCrypt. Créer un volume pour TrueCrypt

PARIS ROISSY CHARLES DE GAULLE

MANAGEMENT SOFTWARE FOR STEEL CONSTRUCTION

I>~I.J 4j1.bJ1UlJ ~..;W:i 1U

Language requirement: Bilingual non-mandatory - Level 222/222. Chosen candidate will be required to undertake second language training.

Deadline(s): Assignment: in week 8 of block C Exam: in week 7 (oral exam) and in the exam week (written exam) of block D

Syllabus Dossiers d études

AIDE FINANCIÈRE POUR ATHLÈTES FINANCIAL ASSISTANCE FOR ATHLETES

Lamia Oukid, Ounas Asfari, Fadila Bentayeb, Nadjia Benblidia, Omar Boussaid. 14 Juin 2013

Small Businesses support Senator Ringuette s bill to limit credit card acceptance fees

Le Cloud Computing est-il l ennemi de la Sécurité?

EN UNE PAGE PLAN STRATÉGIQUE

Package Contents. System Requirements. Before You Begin

GIGABIT PCI DESKTOP ADAPTER DGE-530T. Quick Installation Guide+ Guide d installation+

Institut français des sciences et technologies des transports, de l aménagement

AUDIT COMMITTEE: TERMS OF REFERENCE

Compléter le formulaire «Demande de participation» et l envoyer aux bureaux de SGC* à l adresse suivante :

affichage en français Nom de l'employeur *: Lions Village of Greater Edmonton Society

FÉDÉRATION INTERNATIONALE DE NATATION Diving

Stakeholder Feedback Form January 2013 Recirculation

Notice Technique / Technical Manual

Module Title: French 4

LE FORMAT DES RAPPORTS DU PERSONNEL DES COMMISSIONS DE DISTRICT D AMENAGEMENT FORMAT OF DISTRICT PLANNING COMMISSION STAFF REPORTS

Faits saillants et survol des résultats du sondage


WINTER BOAT STORAGE SYSTEM SYSTÈME DE REMISAGE HIVERNAL POUR BATEAU

Garage Door Monitor Model 829LM

SERVEUR DÉDIÉ DOCUMENTATION

THE EVOLUTION OF CONTENT CONSUMPTION ON MOBILE AND TABLETS

CETTE FOIS CEST DIFFERENT PDF

Get Instant Access to ebook Cest Maintenant PDF at Our Huge Library CEST MAINTENANT PDF. ==> Download: CEST MAINTENANT PDF

SCC / QUANTUM Kickoff 2015 Data Protection Best Practices

OpenStack, l Infrastructure as a Service libre

Optimized Protocol Stack for Virtualized Converged Enhanced Ethernet

Yes, you Can. Travailler, oui c est possible! Work!

Guide d installation Deco Drain inc. DD200

Comment Accéder à des Bases de Données MySQL avec Windows lorqu'elles sont sur un Serveur Linux

Improving the breakdown of the Central Credit Register data by category of enterprises

Transcription:

Modeling Parallel Programs Prof. Dr. Antônio Augusto Fröhlich André Luís Gobbi Sanches LISHA - UFSC {guto gobbi}@lisha.ufsc.br http://www.lisha.ufsc.br/~{guto gobbi} November 2003 November 2003 http://www.lisha.ufsc.br/~guto 1

Introduction Modeling parallel programs Parallel programming relies on creativity A formal methodology easies the development of parallel programs November 2003 http://www.lisha.ufsc.br/~guto 2

Chosen Methodology Proposed by Ian Foster Simplifies Parallel Analysis Freely Available Book http://www-unix.mcs.anl.gov/dbpp/text/book.html Based on 4 steps Partitioning Communication Agglomeration Mapping November 2003 http://www.lisha.ufsc.br/~guto 3

Example November 2003 http://www.lisha.ufsc.br/~guto 4

Example November 2003 http://www.lisha.ufsc.br/~guto 5

Step 1: Partitioning Division of the problem in tasks Fine-grained Aiming flexibility Will be revisited later Decomposition Structural Functional Define tasks that partition computation and data in disjoint sets We can consider replication of data or computation November 2003 http://www.lisha.ufsc.br/~guto 6

Structural Decomposition Decompose the data in small pieces of approximately equal size Partition the computation to be performed Blocks of data and associated computation define tasks Computation between tasks may be necessary Different alternative partitions may be possible November 2003 http://www.lisha.ufsc.br/~guto 7

Structural Decomposition Different decompositions are possible November 2003 http://www.lisha.ufsc.br/~guto 8

Functional Decomposition Initial focus is on the computation rather than on the data Then we examine the data manipulated by the computation If the data is disjoint, the partition is complete Otherwise maybe structural decomposition should be considered November 2003 http://www.lisha.ufsc.br/~guto 9

Example Network packet preparation November 2003 http://www.lisha.ufsc.br/~guto 10

Example November 2003 http://www.lisha.ufsc.br/~guto 11

Partition Design Checklist 1.Does your partitioning define at least one order of magnitude more tasks than there are processors in your target computer? 2.Does your partitioning avoid redundant computation and storage requirements? 3.Are tasks of comparable size? 4.Does the number of tasks scale with the problem size? 5.Have you identified several partitioning possibilities? November 2003 http://www.lisha.ufsc.br/~guto 12

Step 2: Communication Tasks execute concurrently but, in most cases, not independently Data must be transferred between tasks We should be minimalistic with communications Easier if decomposition was functional than if it was domain November 2003 http://www.lisha.ufsc.br/~guto 13

Classification of Communication Local x Global Structured x Unstructured Static x Dynamic Synchronous x Asynchronous November 2003 http://www.lisha.ufsc.br/~guto 14

Example November 2003 http://www.lisha.ufsc.br/~guto 15

Communication Design Checklist 1.Do all tasks perform the same number of communication operations? 2.Does each task communicate only with a small number of neighbors? 3.Are communication operations able to proceed concurrently? 4.Is the computation associated with different tasks able to proceed concurrently? November 2003 http://www.lisha.ufsc.br/~guto 16

Step 3: Agglomeration We revisit design decisions made in the partition and in the communication steps We move from an abstract analysis to a concrete analysis We chose a class of parallel computer as target We consider: Agglomeration of tasks Replication of data or computation November 2003 http://www.lisha.ufsc.br/~guto 17

Example November 2003 http://www.lisha.ufsc.br/~guto 18

Example November 2003 http://www.lisha.ufsc.br/~guto 19

Example November 2003 http://www.lisha.ufsc.br/~guto 20

Goals of Agglomeration Preserve flexibility Reduce software engineering costs Reduce computation Increase the grain of paralelism November 2003 http://www.lisha.ufsc.br/~guto 21

Agglomeration Design Checklist 1.Has agglomeration reduced communication costs by increasing locality? 2.Has the replication benefits outweighted the costs? 3.Have you verified that the replication of data don't compromise scalability? 4.Has agglomeration yielded tasks with similar computation and communication costs? November 2003 http://www.lisha.ufsc.br/~guto 22

Agglomeration Design Checklist 5.Does the number of tasks still scale with the problem size? 6.If agglomeration eliminated opportunities for concurrent execution, have you verified that there is sufficient concurrency for current and future scalability? 7.Can the number of tasks be reduced still further? 8.Have you considered the cost of modifications to the original code? November 2003 http://www.lisha.ufsc.br/~guto 23

Step 4: Mapping We specify where each task execute Goal: minimize total execution time Two strategies: We place tasks that can be executed concurrently on different processors, so as to enhance concurrency We place tasks that communicate frequently on the same processor, so as to increase locality The mapping problem is NP-Complete November 2003 http://www.lisha.ufsc.br/~guto 24

Dynamic Load Balancing If the number of tasks or the amount of computation or communication changes dynamically, we may need a dynamic loadbalancing strategy Not necessary on our example Out of context for this course November 2003 http://www.lisha.ufsc.br/~guto 25