14
ICCS 2004 Gava 1 Frédéric Gava Design of Departmental Metacomputing ML

Frédéric Gava

Embed Size (px)

DESCRIPTION

Design of. Departmental Metacomputing ML. Frédéric Gava. Goal. Computing Unit. Computing Unit. Storage. User. Bulk Synchronous Parallelism + Functional Programming = BSML. A d vantages of the BSP mod e l: P or tability Scalability, deadlock free - PowerPoint PPT Presentation

Citation preview

Page 1: Frédéric Gava

ICCS 2004 Gava 1

Frédéric Gava

Design ofDepartmental

Metacomputing ML

Page 2: Frédéric Gava

ICCS 2004 Gava 2

Goal

User

Computing Unit

Storage

Computing Unit

Page 3: Frédéric Gava

ICCS 2004 Gava 3

Bulk Synchronous Parallelism +

Functional Programming = BSML

Advantages of the BSP model:1. Portability2. Scalability, deadlock free

3. Simple cost model Performance prediction

Advantages of functional programming:

1. High level features (higher order functions, pattern-matching, concrete types, etc…)

2. Savety of the environment3. Programs Proofs

Page 4: Frédéric Gava

4

The BSP model

T(s) = (max0i<p wi) + hg + L

0 1 2 3 p-1Proc.

Page 5: Frédéric Gava

5

The BSML language

Library for the « Objective Caml » language (called BSMLlib)

4 Operations on a parallel data structure called parallel vector

Operations to access to the BSP parameters

mkpar : create a parallel vector

apply : parallel point-wise application

put : send values

at : projection of a value

Confluent language : deterministic algorithms

Page 6: Frédéric Gava

ICCS 2004 Gava 6

Problems with BSP

No hierarchical network capacities

Global synchronization is too expensive

No heterogenelity

Page 7: Frédéric Gava

7

The MP model

Local computing

Communication

No super-steps but m-steps

Proc. 0 1 2 3

MP = messages passing

Page 8: Frédéric Gava

ICCS 2004 Gava 8

New model: DMM We have :

• P BSP units• L, latency of the global network• G, time to send one word

List of nb of processes :

List of times for a barrier :

List of times for a 1-relation :

We have d-steps of super-steps

Page 9: Frédéric Gava

ICCS 2004 Gava 9

New communicationG et L

g et l

BSP Unit jBSP Unit i

j jgi et li

Intranet

Page 10: Frédéric Gava

ICCS 2004 Gava 10

New communicationUnité jUnit i

gi et li

Page 11: Frédéric Gava

New language: DMML Library for the « Objective Caml » language

Operations to access to the DMM parameters

Operations on departmental vectors

mkdpt : creation of a departmental vector

applydpt : departmental point-wise application

get : received values

Page 12: Frédéric Gava

ICCS 2004 Gava 12

Conclusion BSML = BSP + ML

New model for departmental meta-computing

New language called DMML

Page 13: Frédéric Gava

ICCS 2004 Gava 13

Future Work Polymorphic type system for the language

Implementation of « big » applications

Static Dependent Costs for Estimating Execution Time

Page 14: Frédéric Gava

ICCS 2004 Gava 14