oasis team, inria sophia-antipolis/i3s cnrs, univ. nice christian delbé data grid explorer

22
1 OASIS Team, INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer 15/09/03 Large Scale Emulation Mobility in ProActive

Upload: lane-avery

Post on 03-Jan-2016

33 views

Category:

Documents


0 download

DESCRIPTION

Large Scale Emulation Mobility in ProActive. OASIS Team, INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer 15/09/03. Oasis Team. O bjets A ctifs, S émantique, I nternet et S écurité Common Project : INRIA, CNRS-I3S, UNSA Created in June 1999 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

1

OASIS Team, INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice

Christian Delbé

Data Grid Explorer15/09/03

Large Scale EmulationMobility in ProActive

Page 2: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

2

Oasis Team

Objets Actifs, Sémantique, Internet et Sécurité

Common Project : INRIA, CNRS-I3S, UNSA

Created in June 1999

Directed by Isabelle Attali ([email protected])

Methods and tools for analysis, construction, validation and maintenance of distributed applications

Page 3: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

3

Java API+Tools for Parallel, Distributed ComputingMain features :

Remotely accessible Objects (RMI, JINI, UDDI)Asynchronous Communications with synchronization

(automatic futures) Group Communications, Migration (mobile computations)XML Deployment DescriptorsInterfaced with various protocols (rsh,ssh,LSF,Globus,

….SOAP)Visualization and monitoring: IC2D

Requirements : JDK (>= 1.3)

ProActive

Page 4: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

4

Suited for the Grid (large and heterogeneous systems, high latency,…)

On going large scale SPMD applications environment :SPMD API based on group communicationsLoad balancing based on migrationFault toleranceDeployment with XML descriptors

ProActive and the Grid

Page 5: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

5

Recent experiment : Jem3D In cooperation with CAIMAN project (INRIA Sophia)Solve 3D Maxwell’s equations in electromagnetism

2 main tests :

On a 64 processors cluster

On desktop machines LAN: 252 processors

No more available resources...

0

100

200

300

400

500

600

700

800

900

0 10 20 30 40 50 60 70

# of processors

Du

rati

on

(sec)

21*21*21

31*31*31

43*43*43

55*55*55

81*81*81

97*97*97

113*113*113

121*121*121

Page 6: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

6

Objectives with Data Grid Explorer

More resources to confirm scalability

Develop and test new features new protocols integrationsecurity testingfault tolerance ...

Need to validate many models load balancingmigration discussed later ...

Page 7: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

7

Migration of Active Objects

Generic mechanism : any active object can migrate

No modification of source code nor bytecode

Weak migration : migration is initiated by the object itself

Automatic and transparent forwarding of: requests (remote references remain valid) replies (its previous queries will be fulfilled)

Page 8: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

8

Localization of Active Objects

Two approaches

distributed (forwarders)

When it migrates, an object leaves a forwarder which leads to its new location

centralized (location server)

When it migrates, an object informs a location server of its new location

Page 9: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

9

S

Host A

A

Host B Host C Host D

S : SourceA : AgentF : Forwarder

reference

Localization using forwarders

Page 10: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

10

S

Host A

Host B

A

Host C Host D

Request

forwarding forwardingF AF

Migration Migration

S : SourceA : AgentF : Forwarder

reference

Localization using forwarders

Page 11: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

11

Host B

F

Host C

A

Host D

Update location

F

S

Host A S : SourceA : AgentF : Forwarder

reference

Localization using forwarders

Page 12: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

12

Host B

F

Host C

A

Host D

F

S

Host A

Next communications with the new reference

S : SourceA : AgentF : Forwarder

reference

Localization using forwarders

Page 13: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

13

Localization of Active Objects

Two approaches

distributed (forwarders)

When it migrates, an object leaves a forwarder which leads to its new location

centralized (location server)

When it migrates, an object informs a location server of its new location

Page 14: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

14

S

Host A

A

Host B Host C Host D

S : SourceA : Agent

referenceServer

Localization using server

Page 15: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

15

S

Host A

Host B

A

Host C Host D

S : SourceA : Agent

reference

Migration

Server

Update

Localization using server

Page 16: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

16

S

Host A

Host B Host C Host D

S : SourceA : Agent

reference

MigrationA

Server

Update

Localization using server

Page 17: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

17

S

Host A

Host B Host C Host D

S : SourceA : Agent

reference

Message

A

Server

Failed

Localization using server

Page 18: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

18

S

Host A

Host B Host C Host D

S : SourceA : Agent

reference

A

ServerAsk for new

location

Answer

Message

Localization using server

Page 19: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

19

Provide an hybrid protocol : – use forwarders for limited period – if chain is broken, use localization server – a

Parameterized by two values : – TTL (Time To Live) : after TTL, forwarder is garbage collected – TTU (Time To Update) : a mobile object update his location

every TTU

Hybrid protocol : TTL-TTU

Forwarders are better on a MAN …

but resources consuming !

Server is better on a LAN …

but time consuming !

Page 20: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

20

First Step : validating models

Modeling using Markov chains for predicting response time (Fabrice Huet - 2003)– validate model with simulations and experiments

But hypothesis cannot be fulfilled !– Infinite number of hosts, homogeneous latency,…

Determine impact of hypothesis variation

Page 21: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

21

Second Step : Determining TTL and TTU

No model of the hybrid protocol (but some insights from previous models)

Determine impact of TTL-TTU values in given conditions

Choose best values for a minimal response time– before deployment– during execution

Page 22: OASIS Team,  INRIA Sophia-Antipolis/I3S CNRS, Univ. Nice Christian Delbé Data Grid Explorer

22

Conclusion

Our objectives are : – Confirm scalability– Test new features– Validate models, localization TTL-TTU

Our requirements are :– a Java runtime (>=1.3)– ProActive packages