HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer...

38
Introduction Benchmarks and Analysis Application Benchmarks Conclusion References HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

Transcript of HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer...

Page 1: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

HPC In The Cloud?

Michael Kleber

Department of Computer SciencesUniversity of Salzburg, Austria

July 2, 2012

M. Kleber HPC In The Cloud?

Page 2: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

Content

1 Introduction

2 Benchmarks and AnalysisBenchmarksCost Analysis

3 Application BenchmarksMUSCLENASA

4 Conclusion

5 References

M. Kleber HPC In The Cloud?

Page 3: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

Motivation

wide spread availability of cloud services

easy access to compute resources

easy to scale

pay-as-you-go

M. Kleber HPC In The Cloud?

Page 4: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

Questions

Performance?

suitable for every HPC application?

shortcomings and problems?

cost-effective?

M. Kleber HPC In The Cloud?

Page 5: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

CloudAmazon

Amazon EC2

well known

available to everyone

CCI targets HPC user

M. Kleber HPC In The Cloud?

Page 6: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

Cloud

virtualisation

processor type per instance is not specified

performance (CU) and Memory are specified

1GbE or 10GbE (CCI)

(real) network capacity, quality and topology are not known

M. Kleber HPC In The Cloud?

Page 7: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

HPC Cluster

no virtualisation

processor type and Memory ar known

InfiniBand, HT-Link or ethernet (1Gb oder 10Gb)

several network topologies, e.g. 2D-mesh

(real) capacity and quality are known

M. Kleber HPC In The Cloud?

Page 8: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Outline

1 Introduction

2 Benchmarks and AnalysisBenchmarksCost Analysis

3 Application BenchmarksMUSCLENASA

4 Conclusion

5 References

M. Kleber HPC In The Cloud?

Page 9: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Overview

EC2 CCI versus local cluster [1]

"synthetic benchmarks"

network performance

compute performance

parallel I/O

performance variation

cost-effective

M. Kleber HPC In The Cloud?

Page 10: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

EC2 CCI Setup

2 quad core Xeon X5570, 23GiB RAM

10GbE

per instance LBS 1690 GiB

EBS + S3

Amazon Linux 64 Bit

Intel compiler

M. Kleber HPC In The Cloud?

Page 11: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Cluster Setup

six core Xeon 5670, 32 GiB RAM

QDR InfiniBand

NFS

Intel compiler

similar compute performance

M. Kleber HPC In The Cloud?

Page 12: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Benchmarks

Intel MPI

NBP

M. Kleber HPC In The Cloud?

Page 13: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Intel OpenMPI

M. Kleber HPC In The Cloud?

Page 14: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

NBPCompletion Time

M. Kleber HPC In The Cloud?

Page 15: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

NPBCommunication

M. Kleber HPC In The Cloud?

Page 16: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Parallel I/OIntroduction

NFS common on small and some mid range clusters, parallel filesystems are popular on large clusters

some parallel file systems are PVFS, GPFS and Lustre

changing the file system every session is only possible with cloudservicestested file systems:

NFSPVFS

benchmarks:IOR micro benchmarksBT-IO

M. Kleber HPC In The Cloud?

Page 17: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Parallel I/OIOR Read Rate

M. Kleber HPC In The Cloud?

Page 18: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Parallel I/OIOR Write Rate

M. Kleber HPC In The Cloud?

Page 19: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Parallel I/OBT-IO Completion Time

M. Kleber HPC In The Cloud?

Page 20: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Parallel I/OBT-IO Data Rate

M. Kleber HPC In The Cloud?

Page 21: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Performance Variation

M. Kleber HPC In The Cloud?

Page 22: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Outline

1 Introduction

2 Benchmarks and AnalysisBenchmarksCost Analysis

3 Application BenchmarksMUSCLENASA

4 Conclusion

5 References

M. Kleber HPC In The Cloud?

Page 23: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Background

case study by Perdue [2]2 community cluster

Steele: 902 nodes, Xeon E5410, utilisation 68.4%Coates: 993 nodes, Opteron 2380, utilisation 80.1%

Amazon EC2 CCI: 1.6$ per node hour + storage => ca 1.75$

M. Kleber HPC In The Cloud?

Page 24: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Cluster Cost

M. Kleber HPC In The Cloud?

Page 25: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

BenchmarksCost Analysis

Performance

M. Kleber HPC In The Cloud?

Page 26: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

Outline

1 Introduction

2 Benchmarks and AnalysisBenchmarksCost Analysis

3 Application BenchmarksMUSCLENASA

4 Conclusion

5 References

M. Kleber HPC In The Cloud?

Page 27: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

MUSCLE

Multi-Scale Simulation MUSCLE [3]usage examples:

blood flowsolid tumor modelsstellar systemvirtual reactor

M. Kleber HPC In The Cloud?

Page 28: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

Setup

in-stent restenosis application

15 and 150 iterations

HP cluster platform with 2.26 GHz Xeon processors, InfiniBand

EC2 high CPU extra large instances including 7 GiB of RAM, 20CUs (8 virtual cores) and 1690 GiB of local storage

EC2 cluster compute quadruple extra large including 23 GiB ofRAM, 33.5 CUs and 1690 GiB of local storage

M. Kleber HPC In The Cloud?

Page 29: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

Performance

M. Kleber HPC In The Cloud?

Page 30: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

Outline

1 Introduction

2 Benchmarks and AnalysisBenchmarksCost Analysis

3 Application BenchmarksMUSCLENASA

4 Conclusion

5 References

M. Kleber HPC In The Cloud?

Page 31: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

Setup

NASA Benchmarks [4]

Amazon EC2 quadruple extra large, NFS, SLES 11, Intelcompiler 12.4, OpenMPI 1.4.4

Pleiades: SGI ICE with Xeon X5570, 24 GiB of RAM, InfiniBand4XQDR, MPT 2.04, Intel compiler 12.4, Lustre parallel FS

M. Kleber HPC In The Cloud?

Page 32: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

Applications

4 real world applications

Cart3D - CFD fluid simulation

DDSCAT - calculates absorption and scattering properties

Enzo - to simulate cosmological structure formation

MITgen - global ocean simulation model

M. Kleber HPC In The Cloud?

Page 33: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

Cart3D

M. Kleber HPC In The Cloud?

Page 34: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

DDSCAT

M. Kleber HPC In The Cloud?

Page 35: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

Enzo

M. Kleber HPC In The Cloud?

Page 36: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

MUSCLENASA

MITgen

M. Kleber HPC In The Cloud?

Page 37: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

Conclusion

good suited for tigthly coupled application

high variance

comparable costs

easy to setup, low maintanance

easy to switch filesystems

no waiting time

M. Kleber HPC In The Cloud?

Page 38: HPC In The Cloud? - softwareresearch.net · HPC In The Cloud? Michael Kleber Department of Computer Sciences University of Salzburg, Austria July 2, 2012 M. Kleber HPC In The Cloud?

IntroductionBenchmarks and Analysis

Application BenchmarksConclusionReferences

Reference

1 Cloud Versus In-house Cluster: Evaluating Amazon ClusterCompute Instances for Running MPI Applications

2 Cost-effective HPC: The Community or the Cloud?

3 Comparison of Cloud and Local HPC approach forMUSCLE-based Multiscale Simulations

4 Performance Evaluation of Amazon EC2 for NASA HPCApplications

M. Kleber HPC In The Cloud?