osu network based computing · osu network based computing dhabaleswar k. (dk) panda, khaled...

33
OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, Xiaoyi Lu and Hari Subramoni The Ohio State University Department of Computer Science {panda,hamidouc,luxi,Subramoni}@cse.ohio-state.edu

Upload: others

Post on 20-May-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

OSU Network Based Computing

Dhabaleswar K. (DK) Panda, Khaled Hamidouche, Xiaoyi Lu and Hari Subramoni

The Ohio State UniversityDepartment of Computer Science

{panda,hamidouc,luxi,Subramoni}@cse.ohio-state.edu

Page 2: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

ACNN Objectives

1) Build foundations for modern, Big Data neuroscience technologies through community partnership

2) Leverage the expertise and technologies developed by the ACNN Spoke investigators and our partners to integrate:

1) Data Sharing and Interoperability using ontology-driven standardization, provenance metadata management, integrated into the most modern database and database-mediator technologies

2) Analytics leveraging upon the most agreed upon preprocessing pipelines (LONI and HCP) and advanced network science approaches to brain mapping

3) Computing approaches based on high performance clusters, MapReduce and Hadoop as well as canonical architectures will be deployed and connected to data and analytics

Page 3: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

ACNN Technologies, Infrastructure, and Domain Applications

• Build a sustainable ecosystem of neuroscience community partners in both academia and industry using existing technologies for collaboration and virtual meeting together with face-to-face group meetings

• OSU Role• Remote Direct Memory Access

(RDMA) for Big Data

• High-Performance Computing

• Collaborations with other teams

Page 4: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Opportunities

• ACNN data processing including • Big Data processing (Hadoop, Spark, HBase, and Memcached)

• Scientific computing (MPI and PGAS)

• Scalable Graph processing

• Virtualization and cloud

• High Performance Deep Learning

HiBD (RDMA based Spark,

Hadoop, and Memcached)

Neuroscience Algorithms and

Applications

Collaboration

Research

Big Data ACNN Spoke

NeuroScience

Midwest

Big Data

Hub

R & D

Infra-

structure

WorkshopHands-on

Meeting

Networking

Education

MVAPICH2 (MPI, PGAS,

Accelerators, Cloud)

Page 5: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

OSU Team

• Strong expertise on HPC, Big Data, Deep Learning, Communication, I/O, etc.

Name Role Expertise

Dhabaleswar K. Panda

PI High-Performance Computing, MPI, PGAS, High-Performance Networks

Khaled Hamidouche Co-PI Accelerators, NVDIA GPU, Intel MIC, Deep Learning

Xiaoyi Lu Co-PI Big Data Processing (Hadoop, Spark, HBase, Memcached) and Cloud Computing

Hari Subramoni Co-PI Communication and I/O, High-PerformanceCommunication Protocols

Mark Arnold Staff System Management, Engineering

Page 6: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• http://hibd.cse.ohio-state.edu

• RDMA for Apache Spark

• RDMA for Apache Hadoop 2.x (RDMA-Hadoop-2.x)

• Plugins for Apache, Hortonworks (HDP) and Cloudera (CDH) Hadoop distributions

• RDMA for Apache HBase

• RDMA for Memcached (RDMA-Memcached)

• RDMA for Apache Hadoop 1.x (RDMA-Hadoop)

• OSU HiBD-Benchmarks (OHB)

• HDFS, Memcached, and HBase Micro-benchmarks

• Users Base: 190 organizations from 26 countries

• More than 17,800 downloads from the project site

• RDMA for Impala (upcoming)

The High-Performance Big Data (HiBD) Project

Available for InfiniBand and RoCE

Page 7: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• HHH: Heterogeneous storage devices with hybrid replication schemes are supported in this mode of operation to have better fault-tolerance as well as

performance. This mode is enabled by default in the package.

• HHH-M: A high-performance in-memory based setup has been introduced in this package that can be utilized to perform all I/O operations in-memory and

obtain as much performance benefit as possible.

• HHH-L: With parallel file systems integrated, HHH-L mode can take advantage of the Lustre available in the cluster.

• HHH-L-BB: This mode deploys a Memcached-based burst buffer system to reduce the bandwidth bottleneck of shared file system access. The burst buffer design

is hosted by Memcached servers, each of which has a local SSD.

• MapReduce over Lustre, with/without local disks: Besides, HDFS based solutions, this package also provides support to run MapReduce jobs on top of Lustre

alone. Here, two different modes are introduced: with local disks and without local disks.

• Running with Slurm and PBS: Supports deploying RDMA for Apache Hadoop 2.x with Slurm and PBS in different running modes (HHH, HHH-M, HHH-L, and

MapReduce over Lustre).

Different Modes of RDMA for Apache Hadoop 2.x

Page 8: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

0

50

100

150

200

250

80 100 120

Exec

uti

on

Tim

e (s

)

Data Size (GB)

IPoIB (FDR) OSU-IB (FDR)

0

50

100

150

200

250

80 100 120

Exec

uti

on

Tim

e (s

)

Data Size (GB)

IPoIB (FDR) OSU-IB (FDR)

Performance Benefits – RandomWriter & TeraGen in TACC-Stampede

Cluster with 32 Nodes with a total of 128 maps

• RandomWriter

– 3-4x improvement over IPoIB for 80-120

GB file size

• TeraGen

– 4-5x improvement over IPoIB for 80-120 GB

file size

RandomWriter TeraGen

Reduced by 3x Reduced by 4x

Page 9: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Evaluation of HHH and HHH-L with Applications

HDFS (FDR) HHH (FDR)

60.24 s 48.3 s

CloudBurstMR-MSPolyGraph

0

100

200

300

400

500

600

700

800

900

1000

4 6 8

Exec

uti

on

Tim

e (s

)

Concurrent maps per host

HDFS Lustre HHH-L Reduced by 79%

• MR-MSPolygraph on OSU RI with 1,000 maps• HHH-L reduces the execution time by

79% over Lustre, 30% over HDFS

• CloudBurst on TACC Stampede

– With HHH: 19% improvement over HDFS

Page 10: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• Design Features• RDMA based shuffle

• SEDA-based plugins

• Dynamic connection management and sharing

• Non-blocking data transfer

• Off-JVM-heap buffer management

• InfiniBand/RoCE support

Design Overview of Spark with RDMA

• Enables high performance RDMA communication, while supporting traditional socket interface

• JNI Layer bridges Scala based Spark with communication library written in native code

X. Lu, M. W. Rahman, N. Islam, D. Shankar, and D. K. Panda, Accelerating Spark with RDMA for Big Data Processing: Early Experiences,

Int'l Symposium on High Performance Interconnects (HotI'14), August 2014

Page 11: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• InfiniBand FDR, SSD, 64 Worker Nodes, 1536 Cores, (1536M 1536R)

• RDMA-based design for Spark 1.5.1

• RDMA vs. IPoIB with 1536 concurrent tasks, single SSD per node. • SortBy: Total time reduced by up to 80% over IPoIB (56Gbps)

• GroupBy: Total time reduced by up to 57% over IPoIB (56Gbps)

Performance Evaluation on SDSC Comet – SortBy/GroupBy

64 Worker Nodes, 1536 cores, SortByTest Total Time 64 Worker Nodes, 1536 cores, GroupByTest Total Time

0

50

100

150

200

250

300

64 128 256

Tim

e (s

ec)

Data Size (GB)

IPoIB RDMA

0

50

100

150

200

250

64 128 256

Tim

e (s

ec)

Data Size (GB)

IPoIB

RDMA

57%80%

Page 12: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• InfiniBand FDR, SSD, 32/64 Worker Nodes, 768/1536 Cores, (768/1536M 768/1536R)

• RDMA-based design for Spark 1.5.1

• RDMA vs. IPoIB with 768/1536 concurrent tasks, single SSD per node. • 32 nodes/768 cores: Total time reduced by 37% over IPoIB (56Gbps)

• 64 nodes/1536 cores: Total time reduced by 43% over IPoIB (56Gbps)

Performance Evaluation on SDSC Comet – HiBench PageRank

32 Worker Nodes, 768 cores, PageRank Total Time 64 Worker Nodes, 1536 cores, PageRank Total Time

0

50

100

150

200

250

300

350

400

450

Huge BigData Gigantic

Tim

e (s

ec)

Data Size (GB)

IPoIB

RDMA

0

100

200

300

400

500

600

700

800

Huge BigData Gigantic

Tim

e (s

ec)

Data Size (GB)

IPoIB

RDMA

43%37%

Page 13: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Performance Evaluation on SDSC Comet: Astronomy Application

• Kira Toolkit1: Distributed astronomy image processing toolkit implemented using Apache Spark.

• Source extractor application, using a 65GB dataset from the SDSS DR2 survey that comprises 11,150 image files.

• Compare RDMA Spark performance with the standard apache implementation using IPoIB.

1. Z. Zhang, K. Barbary, F. A. Nothaft, E.R. Sparks, M.J. Franklin, D.A. Patterson,

S. Perlmutter. Scientific Computing meets Big Data Technology: An Astronomy

Use Case. CoRR, vol: abs/1507.03325, Aug 2015.

0

20

40

60

80

100

120

RDMA Spark Apache Spark (IPoIB)

21 %

Execution times (sec) for Kira SE benchmark using 65 GB dataset, 48 cores.

M. Tatineni, X. Lu, D. J. Choi, A. Majumdar, and D. K. Panda, Experiences and Benefits of Running RDMA Hadoop and Spark on SDSC Comet,

XSEDE’16, July 2016

Page 14: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Performance Evaluation on SDSC Comet: Topic Modeling Application

• Application in Social Sciences: Topic modeling using big data middleware and tools*.

• Latent Dirichlet Allocation (LDA) for unsupervised analysis of large document collections.

• Computational complexity increases as the volume of data increases.

• RDMA Spark enabled simulation of largest test cases.

*Investigating Topic Models for Big Data Analysis in Social Science DomainNitin Sukhija, Nicole Brown, Paul Rodriguez, Mahidhar Tatineni, and Mark Van Moer, XSEDE16 Poster Paper

Default Spark with IPoIB does not scale!

RDMA-Spark can scale very well!

Page 15: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Overview of the MVAPICH2 Project• High Performance open-source MPI Library for InfiniBand, Omni-Path, Ethernet/iWARP, and RDMA over Converged Ethernet (RoCE)

• MVAPICH (MPI-1), MVAPICH2 (MPI-2.2 and MPI-3.0), Started in 2001, First version available in 2002

• MVAPICH2-X (MPI + PGAS), Available since 2011

• Support for GPGPUs (MVAPICH2-GDR) and MIC (MVAPICH2-MIC), Available since 2014

• Support for Virtualization (MVAPICH2-Virt), Available since 2015

• Support for Energy-Awareness (MVAPICH2-EA), Available since 2015

• Support for InfiniBand Network Analysis and Monitoring (OSU INAM) since 2015

• Used by more than 2,650 organizations in 81 countries

• More than 389,000 (> 0.38 million) downloads from the OSU site directly

• Empowering many TOP500 clusters (Jun ‘16 ranking)

• 12th ranked 519,640-core cluster (Stampede) at TACC

• 15th ranked 185,344-core cluster (Pleiades) at NASA

• 31st ranked 76,032-core cluster (Tsubame 2.5) at Tokyo Institute of Technology and many others

• Available with software stacks of many vendors and Linux Distros (RedHat and SuSE)

• http://mvapich.cse.ohio-state.edu

• Empowering Top500 systems for over a decade

• System-X from Virginia Tech (3rd in Nov 2003, 2,200 processors, 12.25 TFlops) ->

• Stampede at TACC (12th in Jun’16, 462,462 cores, 5.168 Plops)

Page 16: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

0

50000

100000

150000

200000

250000

300000

350000

400000

450000Se

p-0

4

De

c-04

Mar

-05

Jun

-05

Sep

-05

De

c-05

Mar

-06

Jun

-06

Sep

-06

Dec

-06

Mar

-07

Jun

-07

Sep

-07

De

c-07

Mar

-08

Jun

-08

Sep

-08

De

c-08

Mar

-09

Jun

-09

Sep

-09

De

c-09

Mar

-10

Jun

-10

Sep

-10

De

c-10

Mar

-11

Jun

-11

Sep

-11

De

c-11

Mar

-12

Jun

-12

Sep

-12

De

c-12

Mar

-13

Jun

-13

Sep

-13

De

c-13

Mar

-14

Jun

-14

Sep

-14

De

c-14

Mar

-15

Jun

-15

Sep

-15

De

c-15

Mar

-16

Jun

-16

Nu

mb

er o

f D

ow

nlo

ads

Timeline

MV

0.9

.4

MV

2 0.

9.0

MV

2 0.

9.8

MV

21.

0

MV

1.0

MV

21.

0.3

MV

1.1

MV

21.

4

MV

21.

5

MV

21.

6

MV

21.

7

MV

21.

8

MV

21.

9

MV

22.

1

MV

2-G

DR

2.0

b

MV

2-M

IC 2

.0

MV

2-V

irt

2.1r

c2

MV

2-G

DR

2.2

rc1

MV

2-X

2.2

MV

22.

2

MVAPICH/MVAPICH2 Release Timeline and Downloads

Page 17: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Architecture of MVAPICH2 Software Family

High Performance Parallel Programming Models

Message Passing Interface(MPI)

PGAS(UPC, OpenSHMEM, CAF, UPC++)

Hybrid --- MPI + X(MPI + PGAS + OpenMP/Cilk)

High Performance and Scalable Communication RuntimeDiverse APIs and Mechanisms

Point-to-

point

Primitives

Collectives

Algorithms

Energy-

Awareness

Remote

Memory

Access

I/O and

File Systems

Fault

ToleranceVirtualization

Active

MessagesJob Startup

Introspection

& Analysis

Support for Modern Networking Technology(InfiniBand, iWARP, RoCE, Omni-Path)

Support for Modern Multi-/Many-core Architectures(Intel-Xeon, OpenPower, Xeon-Phi (MIC, KNL), NVIDIA GPGPU)

Transport Protocols Modern Features

RC XRC UD DC UMR ODPSR-

IOV

Multi

Rail

Transport Mechanisms

Shared

MemoryCMA IVSHMEM

Modern Features

MCDRAM* NVLink* CAPI*

* Upcoming

Page 18: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

MVAPICH2 Software Family

High-Performance Parallel Programming Libraries

MVAPICH2 Support for InfiniBand, Omni-Path, Ethernet/iWARP, and RoCE

MVAPICH2-X Advanced MPI features, OSU INAM, PGAS (OpenSHMEM, UPC, UPC++, and CAF), and MPI+PGAS programming models with unified communication runtime

MVAPICH2-GDR Optimized MPI for clusters with NVIDIA GPUs

MVAPICH2-Virt High-performance and scalable MPI for hypervisor and container based HPC cloud

MVAPICH2-EA Energy aware and High-performance MPI

MVAPICH2-MIC Optimized MPI for clusters with Intel KNC

Microbenchmarks

OMB Microbenchmarks suite to evaluate MPI and PGAS (OpenSHMEM, UPC, and UPC++) libraries for CPUs and GPUs

Tools

OSU INAM Network monitoring, profiling, and analysis for clusters with MPI and scheduler integration

OEMT Utility to measure the energy consumption of MPI applications

Page 19: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

One-way Latency: MPI over IB with MVAPICH2

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8Small Message Latency

Message Size (bytes)

Late

ncy

(u

s)

1.11

1.19

1.01

1.15

1.04

TrueScale-QDR - 3.1 GHz Deca-core (Haswell) Intel PCI Gen3 with IB switchConnectX-3-FDR - 2.8 GHz Deca-core (IvyBridge) Intel PCI Gen3 with IB switch

ConnectIB-Dual FDR - 3.1 GHz Deca-core (Haswell) Intel PCI Gen3 with IB switchConnectX-4-EDR - 3.1 GHz Deca-core (Haswell) Intel PCI Gen3 with IB Switch

Omni-Path - 3.1 GHz Deca-core (Haswell) Intel PCI Gen3 with Omni-Path switch

0

20

40

60

80

100

120TrueScale-QDR

ConnectX-3-FDR

ConnectIB-DualFDR

ConnectX-4-EDR

Omni-Path

Large Message Latency

Message Size (bytes)

Late

ncy

(u

s)

Page 20: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Bandwidth: MPI over IB with MVAPICH2

0

2000

4000

6000

8000

10000

12000

14000

4 16 64 256 1024 4K 16K 64K 256K 1M

Unidirectional Bandwidth

Ban

dw

idth

(M

Byt

es/s

ec)

Message Size (bytes)

12,590

3,373

6,356

12,083

12,366

0

5000

10000

15000

20000

25000

4 16 64 256 1024 4K 16K 64K 256K 1M

TrueScale-QDR

ConnectX-3-FDR

ConnectIB-DualFDR

ConnectX-4-EDR

Omni-Path

Bidirectional Bandwidth

Ban

dw

idth

(M

Byt

es/s

ec)

Message Size (bytes)

21,227

12,161

21,983

6,228

24,136

TrueScale-QDR - 3.1 GHz Deca-core (Haswell) Intel PCI Gen3 with IB switchConnectX-3-FDR - 2.8 GHz Deca-core (IvyBridge) Intel PCI Gen3 with IB switch

ConnectIB-Dual FDR - 3.1 GHz Deca-core (Haswell) Intel PCI Gen3 with IB switchConnectX-4-EDR - 3.1 GHz Deca-core (Haswell) Intel PCI Gen3 IB switch

Omni-Path - 3.1 GHz Deca-core (Haswell) Intel PCI Gen3 with Omni-Path switch

Page 21: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

MVAPICH2-X for Hybrid MPI + PGAS Applications

• Current Model – Separate Runtimes for OpenSHMEM/UPC/UPC++/CAF and MPI• Possible deadlock if both runtimes are not progressed

• Consumes more network resource

• Unified communication runtime for MPI, UPC, UPC++, OpenSHMEM, CAF

• Available with since 2012 (starting with MVAPICH2-X 1.9)

• http://mvapich.cse.ohio-state.edu

Page 22: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Application Level Performance with Graph500 and SortGraph500 Execution Time

J. Jose, S. Potluri, K. Tomko and D. K. Panda, Designing Scalable Graph500 Benchmark with Hybrid MPI+OpenSHMEM Programming Models,

International Supercomputing Conference (ISC’13), June 2013

J. Jose, K. Kandalla, M. Luo and D. K. Panda, Supporting Hybrid MPI and OpenSHMEM over InfiniBand: Design and Performance Evaluation, Int'l

Conference on Parallel Processing (ICPP '12), September 2012

0

5

10

15

20

25

30

35

4K 8K 16K

Tim

e (

s)

No. of Processes

MPI-Simple

MPI-CSC

MPI-CSR

Hybrid (MPI+OpenSHMEM)

13X

7.6X

• Performance of Hybrid (MPI+ OpenSHMEM) Graph500 Design

• 8,192 processes

- 2.4X improvement over MPI-CSR

- 7.6X improvement over MPI-Simple

• 16,384 processes- 1.5X improvement over MPI-CSR

- 13X improvement over MPI-Simple

J. Jose, K. Kandalla, S. Potluri, J. Zhang and D. K. Panda, Optimizing Collective Communication in OpenSHMEM, Int'l Conference on Partitioned

Global Address Space Programming Models (PGAS '13), October 2013.

Sort Execution Time

0

500

1000

1500

2000

2500

3000

500GB-512 1TB-1K 2TB-2K 4TB-4K

Tim

e (

seco

nd

s)

Input Data - No. of Processes

MPI Hybrid

51%

• Performance of Hybrid (MPI+OpenSHMEM) Sort Application

• 4,096 processes, 4 TB Input Size- MPI – 2408 sec; 0.16 TB/min

- Hybrid – 1172 sec; 0.36 TB/min

- 51% improvement over MPI-design

Page 23: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

At Sender:

At Receiver:MPI_Recv(r_devbuf, size, …);

inside

MVAPICH2

• Standard MPI interfaces used for unified data movement

• Takes advantage of Unified Virtual Addressing (>= CUDA 4.0)

• Overlaps data movement from GPU with RDMA transfers

High Performance and High Productivity

MPI_Send(s_devbuf, size, …);

GPU-Aware (CUDA-Aware) MPI Library: MVAPICH2-GPU

Page 24: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• Platform: Wilkes (Intel Ivy Bridge + NVIDIA Tesla K20c + Mellanox Connect-IB)

• HoomdBlue Version 1.0.5

• GDRCOPY enabled: MV2_USE_CUDA=1 MV2_IBA_HCA=mlx5_0 MV2_IBA_EAGER_THRESHOLD=32768

MV2_VBUF_TOTAL_SIZE=32768 MV2_USE_GPUDIRECT_LOOPBACK_LIMIT=32768

MV2_USE_GPUDIRECT_GDRCOPY=1 MV2_USE_GPUDIRECT_GDRCOPY_LIMIT=16384

Application-Level Evaluation (HOOMD-blue)

0

500

1000

1500

2000

2500

4 8 16 32

Ave

rage

Tim

e St

eps

per

sec

on

d (

TPS)

Number of Processes

MV2 MV2+GDR

0

500

1000

1500

2000

2500

3000

3500

4 8 16 32Ave

rage

Tim

e S

tep

s p

er s

eco

nd

(T

PS)

Number of Processes

64K Particles 256K Particles

2X2X

Page 25: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• Redesign MVAPICH2 to make it virtual machine aware• SR-IOV shows near to native

performance for inter-node point to point communication

• IVSHMEM offers shared memory based data access across co-resident VMs

• Locality Detector: maintains the locality information of co-resident virtual machines

• Communication Coordinator: selects the communication channel (SR-IOV, IVSHMEM) adaptively

MVAPICH2-Virt with SR-IOV and IVSHMEM for HPC Cloud

Host Environment

Guest 1

Hypervisor PF Driver

Infiniband Adapter

Physical Function

user space

kernel space

MPI proc

PCI Device

VF Driver

Guest 2

user space

kernel space

MPI proc

PCI Device

VF Driver

Virtual

Function

Virtual

Function

/dev/shm/

IV-SHM

IV-Shmem Channel

SR-IOV Channel

J. Zhang, X. Lu, J. Jose, R. Shi, D. K. Panda. Can Inter-VM

Shmem Benefit MPI Applications on SR-IOV based

Virtualized InfiniBand Clusters? Euro-Par, 2014

J. Zhang, X. Lu, J. Jose, R. Shi, M. Li, D. K. Panda. High

Performance MPI Library over SR-IOV Enabled

InfiniBand Clusters. HiPC, 2014

Page 26: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• OpenStack is one of the most popular open-source solutions to build clouds and manage virtual machines

• Deployment with OpenStack• Supporting SR-IOV configuration

• Supporting IVSHMEM configuration

• Virtual Machine aware design of MVAPICH2 with SR-IOV

• An efficient approach to build HPC Clouds with MVAPICH2-Virt and OpenStack

MVAPICH2-Virt over OpenStack for HPC Cloud

J. Zhang, X. Lu, M. Arnold, D. K. Panda. MVAPICH2 over OpenStack with SR-IOV: An Efficient Approach to Build

HPC Clouds. CCGrid, 2015

Page 27: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

0

50

100

150

200

250

300

350

400

milc leslie3d pop2 GAPgeofem zeusmp2 lu

Exe

cuti

on

Tim

e (s

)

MV2-SR-IOV-Def

MV2-SR-IOV-Opt

MV2-Native

1%9.5%

0

1000

2000

3000

4000

5000

6000

22,20 24,10 24,16 24,20 26,10 26,16

Exe

cuti

on

Tim

e (m

s)

Problem Size (Scale, Edgefactor)

MV2-SR-IOV-Def

MV2-SR-IOV-Opt

MV2-Native

2%

• 32 VMs, 6 Core/VM

• Compared to Native, 2-5% overhead for Graph500 with 128 Procs

• Compared to Native, 1-9.5% overhead for SPEC MPI2007 with 128 Procs

Application-Level Performance on Chameleon (KVM)

SPEC MPI2007Graph500

5%

Page 28: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• 256 Procs (4 procs * 4 containers * 16 nodes)

• Reduces the execution time by up to 11%(CG) and 16%(22,16) on Class D NAS and Graph500 (Cont-Opt vs. Cont-Def)

• Only has up to 9%(LU) and 5%(26,16) overhead, compared with native performance

ICPP 2016

NAS Graph500

Application-Level Performance on Chameleon (Docker-based Container)

0

10

20

30

40

50

60

70

80

90

100

MG.D FT.D EP.D LU.D CG.D

Exe

cuti

on

Tim

e (

s)

Class D NAS

Con-Def Con-Opt

Native

0

500

1000

1500

2000

2500

3000

3500

4000

22,16 22,20 24,16 24,20 26,16 26,20

BFS

Exe

cuti

on

Tim

e (

ms)

Scale,Edgefactor

Con-Def Con-Opt Native

11%

16%

9%

5%

28

Page 29: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• NCCL has some limitations• Only works for a single node, thus, no scale-out on multiple

nodes

• Degradation across IOH (socket) for scale-up (within a node)

• We propose optimized MPI_Bcast• Communication of very large GPU buffers (order of

megabytes)

• Scale-out on large number of dense multi-GPU nodes

• Hierarchical Communication that efficiently exploits:• CUDA-Aware MPI_Bcast in MV2-GDR

• NCCL Broadcast primitive

Deep Learning: Accelerating CNTK with MVAPICH2-GDR and NCCL

1

10

100

1000

10000

100000

1 4

16

64

25

6

1K

4K

16

K

64

K

25

6K

1M

4M

16

M

64

M

25

6M

Late

ncy

(u

s)Lo

g Sc

ale

Message Size

MV2-GDR MV2-GDR-Opt

100x

0

5

10

15

20

25

30

2 4 8 16 32 64

Tim

e (

seco

nd

s)

Number of GPUs

MV2-GDR MV2-GDR-Opt

Performance Benefits: Microsoft CNTK DL framework (25% avg. improvement )

Performance Benefits: OSU Micro-benchmarks

Efficient Large Message Broadcast using NCCL and CUDA-Aware MPI for Deep Learning, A. Awan , K. Hamidouche , A. Venkatesh , and D. K. Panda, The 23rd European MPI

Users' Group Meeting (EuroMPI 16), Sep 2016 [Best Paper Runner-Up]

Page 30: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

• Caffe : A flexible and layered Deep Learning framework.

• Benefits and Weaknesses• Multi-GPU Training within a single node

• Performance degradation for GPUs across different sockets

• Limited Scale-out

• OSU-Caffe: MPI-based Parallel Training • Enable Scale-up (within a node) and Scale-out

(across multi-GPU nodes)

• Scale-out on 64 GPUs for training CIFAR-10 network on CIFAR-10 dataset

• Scale-out on 128 GPUs for training GoogLeNet network on ImageNet dataset

OSU-Caffe: Scalable Deep Learning

0

50

100

150

200

250

8 16 32 64 128

Trai

nin

g Ti

me

(sec

on

ds)

No. of GPUs

GoogLeNet (ImageNet) on 128 GPUs

Caffe OSU-Caffe (1024) OSU-Caffe (2048)

Invalid use case

OSU-Caffe will be publicly available soon

Page 31: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Conclusions

• Multiple on-going projects at OSU provide robust solutions for HPC, Big Data, Cloud Computing and Deep Learning

• These solutions can be used by ACNN team members to exploit the latest technologies for processing Neuroscience data

• Multiple posters, lightning sessions and breakout sessions by OSU team members to explore collaboration opportunities and bridge the existing gaps in the community

• OSU team is looking forward to working together with all ACNN team members to push the frontier of Neuroscience

Page 32: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

http://www.NeuroscienceNetwork.org/ACNN_Workshop_2016.html

Computational Neuroscience Network (ACNN)

[email protected]

Thank You!

The High-Performance Big Data Projecthttp://hibd.cse.ohio-state.edu/

Network-Based Computing Laboratoryhttp://nowlab.cse.ohio-state.edu/

The MVAPICH2 Projecthttp://mvapich.cse.ohio-state.edu/

Page 33: OSU Network Based Computing · OSU Network Based Computing Dhabaleswar K. (DK) Panda, Khaled Hamidouche, ... Hari Subramoni Co-PI Communication and I/O, High-Performance ... Supports

Workshop Sponsors

High-performance Big Data (HiBD)Network-Based Computing Laboratory

Imaging Research Facility

Indiana University Bloomington

The National Science Foundation

http://www.nsf.gov

Midwest Big Data Hubhttp://MidwestBigDataHub.org

The Michigan Institute for Data Science (MIDAS)http://midas.umich.edu

The Indiana Imaging Research Facility (IRF)https://www.indiana.edu/~irf/home

OSU Network Based Computinghttp://nowlab.cse.ohio-state.edu

CWRU Biomedical and Healthcare Informatics

https://goo.gl/l19s07

Michigan Nutrition Obesity Research Center

(MNORC) http://mmoc.med.umich.edu