• Nenhum resultado encontrado

The suitability of BSP/CGM model for HPC on Clouds

N/A
N/A
Protected

Academic year: 2022

Share "The suitability of BSP/CGM model for HPC on Clouds"

Copied!
25
0
0

Texto

(1)

The suitability of BSP/CGM model for HPC on Clouds

Alfredo Goldman, Daniel Cordeiro and Alessandro Kraemer IME - USP

Cetraro, Italy, 28/06/2012

(2)

Great Workshop

High Quality Presentations Amazing location

even without the old elevator Great face to face contacts

Jogging with Ian Foster

Histories of Steve Wallach

Discussion about flash with Frank Baetke Talk on teamwork with Natalie Bates

(3)

Distributed Systems

Two main conferences

SBRC - Distributed Systems and Networks 30th Edition

1000 participants

SBAC-PAD - Computer Architecture and HPC 24th Edition

Papers in English

(4)

Back to the WIP

Agenda

Motivation

Previous Experience Some Related Works

Preliminary Experiments Future Work

(5)

Motivation

Paper from HP labs

Evaluation of HPC Applications on Cloud A. Gupta and D. Milojivic

Cloud would be suitable for some HPC apps

(6)

Main Points

On the Cloud

poor network performance / OS noise can be cost-effective

Clouds are more cost-effective for:

Embarrassingly parallel/tree structured

Applications where comm. cost is hidden by computation

(7)

Other applications ?

Map Reduce

Widely spread with hadoop

Compared to BSP has limitations (Pace - ICCS, 2012)

How to deal with the Communication ? Try to “minimize” them...

(8)

Previous Experience

Integrade

www.integrade.org.br

Opportunistic Grid Middleware

With support for Parallel Computing Bag of Tasks

Either MPI and BSP

(9)

BSP

Bulk Synchronous Parallel Valiant’90

Model that links software and hardware

Given the machine parameters it is easy to estimate the execution time

(10)

BSP main points

Execution performed in super-steps

Computation and synchronization phases Two communication mechanisms:

Direct Remote Memory Access (DRMA)

Bulk Synchronous Message Passing (BSPM) Several existing implementations

BSPLib, Green BSPLib, PUB, BSP-G

(11)

Schematics

(12)

Integrade - Checkpointing

Essential in opportunistic environments Checkpoints are stored periodically

Using BSP

Checkpointing on InteGrade is portable and transparent to the programmer

(13)

CGM

Coarse Grained Model

Theoretical model proposed by Dehne ’93

n data size, p processors with memory O(n/p) n/p >> p

At each step processors exchange O(n/p) data Goal: minimize the number of steps

(14)

CGM algorithms

Randomized List Ranking

O(p log n) with high probability

All-Substrings longest common subsequence O(log p)

Euler Tour

Efficient ways to do the h-relation

more than 10 thousand results on Google Scholar

(15)

Back to BSP

Interest on large graphs Pregel (2010)

suitable for large-scale graph computing Vertex centric approach

designed to be

efficient, scalable and fault-tolerant

(16)

Pregel (1/2)

Each process/core is assigned to one vertex Loop, for each vertex

Receive data from the previous step Change state

Send data to other vertices May vote to halt

(17)

Pregel (2/2)

Was applied in clusters with thousands of commodity computers

Applications:

Page Rank

Shortest Path

Bipartite-Matching

(18)

Apache Hama

Apache Hama is a pure BSP computing framework on top of HDFS

For massive scientific computations such as matrix, graph and network algorithms

Computation Engines:

Map Reduce - for matrix computations

(19)

Several others

Apache Giraph

GPS: Graph Processing System

API for global comm., load balancing &

distribution Golden ORB Phoebus

(20)

Preliminary results

We have conducted some experiments with two classical graph problems:

Connected Components and Eulerian Path.

With one twist: the MapReduce algorithm only tests if it exists a Eulerian Path and find a single connected component while the BSP computes the path and find all connected components.

(21)

Experimental environment

Private cloud

11 Intel Core Duo 2.66 GHz, 2GBytes,

interconnected by a FastEthernet network The PCs are shared by 33 Virtual Machines Software used:

For BSP/CGM: mpich2, cgmlib 0.9.5 and NFS.

For MapReduce: sun java 5, hadoop 1.0.1 and HDFS.

(22)

Euler Tour

0 5 10 15 20 25 30 35

0,0000 500,0000 1000,0000 1500,0000 2000,0000 2500,0000 3000,0000

Euler tour - 1,000 trees and 500,000 nodes

BSP/CGM MapReduce

Number of Virtual Machines

execution time (s)

(23)

Connected Components

0 5 10 15 20 25 30 35

0,0000 500,0000 1000,0000 1500,0000 2000,0000 2500,0000

Connected Components - 1,000 trees and 500,000 nodes

BSP/CGM MapReduce

Number of Virtual Machines

execution time (s)

(24)

Communication times for BSP

0 5 10 15 20 25 30 35

0,0000 40,0000 80,0000 120,0000 160,0000 200,0000

BSP communication times for Euler Tour

Average

Number of Virtual Machines

time (s)

0,0000 20,0000 40,0000 60,0000 80,0000 100,0000 120,0000

BSP communication times for Connected Components

Average

time (s)

(25)

Future Directions

Explore Scalability

Apply Locality to place the BSP processes Use partial synchronization

Referências

Documentos relacionados

Do amor," mas do amor vago de poeta, Como um beijo invizivel que fluctua.... Ella

The probability of attending school four our group of interest in this region increased by 6.5 percentage points after the expansion of the Bolsa Família program in 2007 and

Observa-se nas estruturas da atorvastatina e da rosuvastatina que estas possuem interações adicionais como as ligações de hidrogénio, são as estatinas de segunda

Na hepatite B, as enzimas hepáticas têm valores menores tanto para quem toma quanto para os que não tomam café comparados ao vírus C, porém os dados foram estatisticamente

Despercebido: não visto, não notado, não observado, ignorado.. Não me passou despercebido

Atentando para a gestão do PDP, diferentemente das empresas menores, as médias e grandes empresas brasileiras do setor de bens de capital merecem uma atenção especial, pois de

Foram estimados três modelos de regressão linear múltipla, para cada fator, com vista a analisar os preditores do Processo de Internacionalização tendo sido