Cloud acceleration-pro active-solutionslinux-ow2

73
Agenda 1. Background: INRIA, ActiveEon 2. ProActive OS Toolkit: Programming, Scheduling, Resourcing 3. UC 1: Genomics+Cloud 4. UC 2: Finance 5. UC 3: IT, SOA Web Server Log Analysis D. Caromel, et al. Cloud et Accélération des Applications Java avec ProActive Parallel Suite Parallelism+Distribution+Virtualization Enterprise Grids & Clouds

description

 

Transcript of Cloud acceleration-pro active-solutionslinux-ow2

Page 1: Cloud acceleration-pro active-solutionslinux-ow2

Agenda1. Background: INRIA, ActiveEon

2. ProActive OS Toolkit:Programming, Scheduling, Resourcing

3. UC 1: Genomics+Cloud

4. UC 2: Finance

5. UC 3: IT, SOA Web Server

Log Analysis

D. Caromel, et al.

Cloud et Accélération des

Applications Java avec

ProActive Parallel Suite

Parallelism+Distribution+Virtualization

Enterprise Grids & Clouds

Page 2: Cloud acceleration-pro active-solutionslinux-ow2

22

1. Background

1. Background

Page 3: Cloud acceleration-pro active-solutionslinux-ow2

33

OASIS Team & INRIA

A joint team, Now about 35 persons

2004: First ProActive User Group

2009, April: ProActive 4.1, Distributed & Parallel:

From Multi-cores to Enterprise GRIDs

Page 4: Cloud acceleration-pro active-solutionslinux-ow2

44

OASIS Team Composition (35)

Researchers (5): D. Caromel (UNSA, Det. INRIA)

E. Madelaine (INRIA)

F. Baude (UNSA)

F. Huet (UNSA)

L. Henrio (CNRS)

PhDs (11): Antonio Cansado (INRIA, Conicyt)

Brian Amedro (SCS-Agos)

Cristian Ruz (INRIA, Conicyt)

Elton Mathias (INRIA-Cordi)

Imen Filali (SCS-Agos / FP7 SOA4All)

Marcela Rivera (INRIA, Conicyt)

Muhammad Khan (STIC-Asia)

Paul Naoumenko (INRIA/Région PACA)

Viet Dung Doan (FP6 Bionets)

Virginie Contes (SOA4ALL)

Guilherme Pezzi (AGOS, CIFRE SCP)

+ Visitors + Interns

PostDoc (1): Regis Gascon (INRIA)

Engineers (10):

Elaine Isnard (AGOS)

Fabien Viale (ANR OMD2, Renault )

Franca Perrina (AGOS)

Germain Sigety (INRIA)

Yu Feng (ETSI, FP6 EchoGrid)

Bastien Sauvan (ADT Galaxy)

Florin-Alexandru.Bratu (INRIA CPER)

Igor Smirnov (Microsoft)

Fabrice Fontenoy (AGOS)

Open position (Thales)

Trainee (2): Etienne Vallette d’Osia (Master 2 ISI)

Laurent Vanni (Master 2 ISI)

Assistants (2): Patricia Maleyran (INRIA)

Sandra Devauchelle (I3S)Located in Sophia Antipolis, between

Nice and Cannes,

Visitors and Students Welcome!

Page 5: Cloud acceleration-pro active-solutionslinux-ow2

55

Co-developing, Support for ProActive Parallel Suite

Worldwide Customers: Fr, UK, Boston USA

Startup Company Born of INRIA

Some Partners:

Page 6: Cloud acceleration-pro active-solutionslinux-ow2

6

2. ProActive Parallel SuiteDealing with Multi-Cores & Virtualization

Page 7: Cloud acceleration-pro active-solutionslinux-ow2

7

Product: ProActive Parallel Suite

Java Parallel

Toolkit

Multi-Platform

Job Scheduler

Resource

Manager

Strong Differentiation:

Java Parallel Programming + Integration + Portability: Linux, Windows, Mac +

Versatility: Desktops, Cluster, Grid, Clouds = Perfect Flexibility

Used in Production Today:

50 Cores 300 Cores early 2010

Page 8: Cloud acceleration-pro active-solutionslinux-ow2

8

ProActive Parallel Suite

Three fully compatible modules:

Programming Scheduling

Resource Management

Page 9: Cloud acceleration-pro active-solutionslinux-ow2

99

ProActive Programming:

Active Objects

Page 10: Cloud acceleration-pro active-solutionslinux-ow2

101010

A

ProActive : Active objects

Proxy

Java Object

A ag = newActive (“A”, […], VirtualNode)

V v1 = ag.foo (param);

V v2 = ag.bar (param);

...

v1.bar(); //Wait-By-Necessity

V

Wait-By-Necessity

is a

Dataflow

Synchronization

JVM

A

JVM

Active Object

Future Object Request

Req. Queue

Thread

v1v2 ag

WBN!

Page 11: Cloud acceleration-pro active-solutionslinux-ow2

1111

TYPED

ASYNCHRONOUS GROUPS

Page 12: Cloud acceleration-pro active-solutionslinux-ow2

121212

Broadcast and Scatter

JVM

JVM

JVM

JVM

agcg

ag.bar(cg); // broadcast cg

ProActive.setScatterGroup(cg);

ag.bar(cg); // scatter cg

c1 c2c3c1 c2c3

c1 c2c3c1 c2c3

c1 c2c3

c1 c2c3

s

c1 c2c3

s

Broadcast is the default behavior

Use a group as parameter, Scattered depends on rankings

Page 13: Cloud acceleration-pro active-solutionslinux-ow2

131313

Dynamic Dispatch Group

JVM

JVM

JVM

JVM

agcg

c1

c2

c3

c4

c5

c6

c7

c8c0

c9c1

c2

c3

c4

c5

c6

c7

c8c0

c9

c1

c2

c3

c4

c5

c6

c7

c8c0

c9

Slowest

Fastest

ag.bar(cg);

Page 14: Cloud acceleration-pro active-solutionslinux-ow2

Abstractions

for Parallelism

The right Tool to do the Task right

Page 15: Cloud acceleration-pro active-solutionslinux-ow2

1515

ProActive Parallel Suite

Workflows in Java

Master/Workers

SPMD

Components

Page 16: Cloud acceleration-pro active-solutionslinux-ow2

16Denis Caromel

16

GCM Fractal Deployment Standard

Protocols: Rsh, ssh

Oarsh, Gsissh

Scheduler, and Grids: GroupSSH, GroupRSH, GroupOARSH

ARC (NorduGrid), CGSP China Grid, EEGE gLITE,

Fura/InnerGrid (GridSystem Inc.)

GLOBUS, GridBus

IBM Load Leveler, LSF, Microsoft CCS (Windows HPC Server 2008)

Sun Grid Engine, OAR, PBS / Torque, PRUN

Clouds: Amazon EC2

Interoperability:

Cloud will start with existing IT infrastructure,

Build Non Intrusive Cloud with ProActive

Page 17: Cloud acceleration-pro active-solutionslinux-ow2

1717

GCM Official Standardization

Grid Component Model

Overall, the standardization is supported by industrials:

BT, FT-Orange, Nokia-Siemens, NEC,Telefonica, Alcatel-Lucent, Huawei …

Page 18: Cloud acceleration-pro active-solutionslinux-ow2

18Denis Caromel

18

GCM StandardizationFractal Based Grid Component Model

4 Standards:

1. GCM Interoperability Deployment

2. GCM Application Description

3. GCM Fractal ADL

4. GCM Fractal Management API

Page 19: Cloud acceleration-pro active-solutionslinux-ow2

1919

IC2D: Optimizing

Page 20: Cloud acceleration-pro active-solutionslinux-ow2

2020

IC2D

Page 21: Cloud acceleration-pro active-solutionslinux-ow2

2121

IC2D

Page 22: Cloud acceleration-pro active-solutionslinux-ow2

2222

ChartIt

Page 23: Cloud acceleration-pro active-solutionslinux-ow2

2323

Pies for Analysis and Optimization

Page 24: Cloud acceleration-pro active-solutionslinux-ow2

24

Video 1:

IC2D Optimizing

Monitoring, Debugging, Optimizing

Page 25: Cloud acceleration-pro active-solutionslinux-ow2

2525

Scheduling & Resourcing

Page 26: Cloud acceleration-pro active-solutionslinux-ow2

2626

ProActive Scheduling

26

Page 27: Cloud acceleration-pro active-solutionslinux-ow2

27

ProActive Scheduling Big Picture

RESOURCES

Multi-platform Graphical Client (RCP)

File-based or LDAP authentication

Static Workflow Job Scheduling, Native and

Java tasks, Retry on Error, Priority Policy,

Configuration Scripts,…

Dynamic and Static node sources, Resource

Selection by script, Monitoring and Control

GUI,…

ProActive Deployment capabilities:

Desktops, Clusters, Clouds,…

ProActive

Scheduler

ProActive

Resource Manager

Page 28: Cloud acceleration-pro active-solutionslinux-ow2

2828

Scheduler: User Interface

Page 29: Cloud acceleration-pro active-solutionslinux-ow2

29

Job

Another Example : Picture Denoising

Split

Denoise DenoiseDenoiseDenoise

Merge

•with selection on native executable availability (ImageMagik, GREYstoration)

• Multi-platform selection and command generation

•with file transfer in pre/post scripts

Page 30: Cloud acceleration-pro active-solutionslinux-ow2

3030

ProActive Resourcing

30

Page 31: Cloud acceleration-pro active-solutionslinux-ow2

31

RESOURCING User Interface

31

Page 32: Cloud acceleration-pro active-solutionslinux-ow2

32Denis Caromel

32

Easily manage actual VMs

Most of VMs can be dynamically provisioned: Start

Stop

Clone

Destroy

Supported VMs today: VMware,

KVM

Xen, Xen Server

QMU

Microsoft Hyper-V

Provision Application containers: Manage applications with pre-defined VMs

Page 33: Cloud acceleration-pro active-solutionslinux-ow2

3333

Clusters to Grids to Clouds:

e.g. on Amazon EC2

Page 34: Cloud acceleration-pro active-solutionslinux-ow2

34

Node source Usecase :

Configuration for external cloud with EC2

ProActive

Scheduler

ProActive

Resource Manager

Dedicated resources

LSF

Static Policy

Amazon EC2

EC2

Dynamic

Workload Policy

Desktops

Desktops

Timing Policy

12/24

Page 35: Cloud acceleration-pro active-solutionslinux-ow2

35

Video 2:

Scheduler, Resource Manager

Page 36: Cloud acceleration-pro active-solutionslinux-ow2

36

ProActive Parallel Suite

Three fully compatible modules

Programming Scheduling

Resource Management

Clutch Power: Solid Building Blocks

for Flexible Solutions

ResourcingScheduling

Page 37: Cloud acceleration-pro active-solutionslinux-ow2

37

Use Cases

37

Page 38: Cloud acceleration-pro active-solutionslinux-ow2

38

Use Case 1:Genomics

Page 39: Cloud acceleration-pro active-solutionslinux-ow2

3939

Resources set up

Cluster

Desktops

CloudsEC2

SOLID

machine from

Nodes

can be

dynamically

added!

16nodes

Page 40: Cloud acceleration-pro active-solutionslinux-ow2

40

First Benchmarks

The distributed version with ProActive of Mapreads has been tested on the INRIA cluster with two settings: the Reads file is split in either 30 or 10 slices

Use Case: Matching 31 millions Sequences with the Human Genome (M=2, L=25)

4 Time FASTER from 20 to 100Speed Up of 80 / Th. Sequential : 50 h 35 mn

On going Benchmarks on Windows Desktops and HPCS 2008 …

EC2 only test: nearly the same performances as the local SOLiD cluster (+10%)

For only $3,2/hour, EC2 has nearly the same perf. as

the local SOLiD cluster (16 cores, for 2H30)

Page 41: Cloud acceleration-pro active-solutionslinux-ow2

41

Benchmark: local vs. hybrid cloud

Use case: 3 runs performed in parallel containing a total of 28,5

millions of reads to be matched against the human genome

SOLID nodes only

Standard configuration

using SOLID embedded

nodes: 12

SOLID and EC2 nodes

12 SOLiD nodes

12 EC2 machines(type: “mlarge”, 2 nodes each)

Total computation time:

12.5 hours

Total computation time:

8 hours

Gain: 4,5 hours (36% faster)

EC2 costs: $40

Page 42: Cloud acceleration-pro active-solutionslinux-ow2

42

Benchmark: local vs. EC2 cloud

Execution time

(min)

Cost

(US$)

Standard PBS config 300 NA

ProActive Amazon EC2 340 20 US$

For only $3,2/hour, the EC2 setup has nearly the

same performances as the local SOLiD cluster

Page 43: Cloud acceleration-pro active-solutionslinux-ow2

UC 2: Acceleration of

Financial Valuations

43

Page 44: Cloud acceleration-pro active-solutionslinux-ow2

44

A High Performance Solution

A Collaboration between Pricing Partners and ActiveEon

Price-it® Excel Accelerated by ProActive Parallel

Suite®

A Global Solution: fully integrated with the

same functionalities and interface as Price-it

Excel while increasing its computing power

High Quality Service: from both companies

Page 45: Cloud acceleration-pro active-solutionslinux-ow2

45

Some Technical Facts

Price-It®

C++ library developed by Pricing Partners

Pricing solution dedicated to highly complexfinancial derivatives

Specification and Constraints

Accelerate Price-It® Excel product Built on Price-It® library, this product integrates

an interface with Excel for input data managementand results display

Focus on highly parallelizable Greek computation

Operating system: Windows

Page 46: Cloud acceleration-pro active-solutionslinux-ow2

46

How Does it Work?

Price-it Computing Distribution

Price-it

Excel

ProActive

Scheduler

Pool of shared

resources

Automatic execution

via job scheduler

Regular Price-it Excel

Interface

Price-it

Excel

Page 47: Cloud acceleration-pro active-solutionslinux-ow2

47

Accelerated Price-it Performances

Use Case: Bermuda

Vanilla, Model

American MC

Test conditions:

One computation

is split in 130

tasks that are

distributed

Each task uses

300ko

Sequential Distributed

More than 3 times faster

with only 4 nodes!

4 nodes 5 nodes 6 nodes 7 nodes 8 nodes 9 nodes

Even 6 times faster

with 9 nodes!

Increased Productivity: Reduces Price-it Execution

Time by 6 or more!

Page 48: Cloud acceleration-pro active-solutionslinux-ow2

UC 3: SOA Analysis

of Web Server Logs

48

Page 49: Cloud acceleration-pro active-solutionslinux-ow2

49

Parallel Services

Separation: BPEL – Parallel Serv. – Task Flow

Standards et Portable

Flexibility

49

Parallel Services

Operational Services…

Parameter

Sweeping

Service

Divide &

Conquer

Other

Operational

Service

Domain specific Service

…Other

Basic Service

High level Business Process

Enterprise Grid

Resource Man.

Scheduling

Scheduling `of Taskflow Jobs

Job

Scheduling Parameter

Sweeping

Page 50: Cloud acceleration-pro active-solutionslinux-ow2

50

Agos Web

Client

BPEL/WS

Web Client

MySQL

Console

Scheduler/

RM

Interface

Admin

BPEL

Console

Admin WS

Console

BPEL

Cas d’études AMADEUS : Démonstration

50

WS

Scheduler

RM Grille

DB

Log Transfer

Application

ID

Log Parsing

Log Transfer Application ID

Log Parsing

Log Parsing

Log Parsing

Log Parsing

Log Parsing

Log Parsing

Logs stockés

Page 51: Cloud acceleration-pro active-solutionslinux-ow2

51

Grid Monitoring integration

Scheduler

DB

Jobs

Scheduler

Resource

Manager

Job

X

Job

Y

Pool of nodes in the grid

VM1 VM2NATIVE

1VM3

NATIVE

3

NATIVE

2VM4 VMx

Business

Availability Center

Discovery

DDMUniversal

CMDB

Indicators

SiS

Discover Jobs,

Tasks &

Resources

Collect Grid

Components

statistics

indicators

JMX interface

JDBC

interface Create

Configuration

Management

System

information

Collect Grid Jobs

Type status

indicators

Page 52: Cloud acceleration-pro active-solutionslinux-ow2

52

AGOS Platform Management

• Monitoring of the entire platform

• Cover all layers in the scope

•Provide monitoring dashboard and

reports

Tasks scheduler &

Resources manager

• Integration with grid

components

• Grid insights through indicator

collection and running jobs on

grid resources

HP- Business Availability Center

(HP-BAC)

Page 53: Cloud acceleration-pro active-solutionslinux-ow2

53

Conclusion

53

Page 54: Cloud acceleration-pro active-solutionslinux-ow2

54

ProActive in Cloud Stack

IaaS

Page 55: Cloud acceleration-pro active-solutionslinux-ow2

55

Conclusion

Java Parallel

Toolkit

Multi-Platform

Job Scheduler

Resource

Manager

Flexibility

Clutch Power

Portability:

Windows, Linux, Mac

Versatility:

Desktops, Grids, Clouds

Free Professional

Open Source Software

Multi-Core: Ready for the next revolution

Virtualization: Dynamic Load Balancing onto VMs

Cloud: Smooth transition available (Desktop , Server, Cluster)

Dynamic Workload Management with Virtualization

Page 56: Cloud acceleration-pro active-solutionslinux-ow2

5656

Page 57: Cloud acceleration-pro active-solutionslinux-ow2

4. Cloud Seeding

57

Page 58: Cloud acceleration-pro active-solutionslinux-ow2

58

Cloud Seeding with ProActive

Amazon EC2 Execution

Cloud Seeding strategy to mix heterogeneous

computing resources :

External GPU resources

Page 59: Cloud acceleration-pro active-solutionslinux-ow2

59

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

Noised video file

Cloud Seeding with ProActive

Page 60: Cloud acceleration-pro active-solutionslinux-ow2

60

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

User submit its noised video to the web

interface

Cloud Seeding with ProActive

Page 61: Cloud acceleration-pro active-solutionslinux-ow2

61

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

Web Server submit a denoising job the

ProActive Scheduler

Cloud Seeding with ProActive

Page 62: Cloud acceleration-pro active-solutionslinux-ow2

62

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

CPU nodes are used to split the video into

smaller ones

Cloud Seeding with ProActive

Page 63: Cloud acceleration-pro active-solutionslinux-ow2

63

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

CPU nodes are used to split the video into

smaller ones

Cloud Seeding with ProActive

Page 64: Cloud acceleration-pro active-solutionslinux-ow2

64

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

GPU nodes are responsible to denoise

these small videos

Cloud Seeding with ProActive

Page 65: Cloud acceleration-pro active-solutionslinux-ow2

65

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

GPU nodes are responsible to denoise

these small videos

Cloud Seeding with ProActive

Page 66: Cloud acceleration-pro active-solutionslinux-ow2

66

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

CPU nodes merge the denoised video parts

Cloud Seeding with ProActive

Page 67: Cloud acceleration-pro active-solutionslinux-ow2

67

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

CPU nodes merge the denoised video parts

Cloud Seeding with ProActive

Page 68: Cloud acceleration-pro active-solutionslinux-ow2

68

Amazon EC2

GPU nodes

CPU nodes

ProActive Scheduler

+ Resource ManagerWeb Interface

User

The final denoised video is sent back to

the user

Cloud Seeding with ProActive

Page 69: Cloud acceleration-pro active-solutionslinux-ow2

696969

6. SOA, SLA and QoS

Page 70: Cloud acceleration-pro active-solutionslinux-ow2

707070

Standard system at Runtime: No Sharing

NoC: Network On ChipProofs of Determinism

Page 71: Cloud acceleration-pro active-solutionslinux-ow2

71

AGOS: Grid Architecture for SOA

AGOS Solutions

71

Building a Platform for Agile SOA with Grid

In Open Source with Professional Support

Page 72: Cloud acceleration-pro active-solutionslinux-ow2

72

AGOS Infrastructure Management

• Monitoring of entire infrastructure

• Communicates with upper layer

management software (HP BAC)

Citrix XenCenter

• Hypervisor and VM

management

• Communicates with upper

layer management software

(HP BAC)

HP Systems Insight Manager (HP-

SIM)

Page 73: Cloud acceleration-pro active-solutionslinux-ow2

73

AGOS and HP Management tools Integration

ServicesProcesses and Jobs

Grid ComponentsScheduler, Resource Manager

Hardware InfrastructureServers, Storage, Network Components

Hypervisors/Virtual MachinesXen and Vmware Hosts and Guests

Dis

covery

Monitoring