gpu computing with amazon ec2 - nvidia€¦ · deepak singh @mndoci principal product manager....

67
GPU Computing with Amazon EC2 Deepak Singh @mndoci Principal Product Manager

Upload: others

Post on 01-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

GPU Computing with Amazon EC2

Deepak Singh@mndoci

P r i n c i p a l P r o d u c t M a n a g e r

Page 2: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

Amazon Web Services

Page 3: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

4

Page 4: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

2

Page 5: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

1. Infrastructure

Page 6: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 7: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

ec2-run-instances

Page 8: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 9: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

secure

global

on demand

Page 10: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

programmable

Page 11: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 12: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 13: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 14: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

elastic

Page 15: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 16: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

instance types

Page 17: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

standard (m1)high memory (m2)

high CPU (c1)

t1.micro

Page 18: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

high performance

Page 19: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

“Our 40-instance (m2.2xlarge) cluster can scan, filter, and aggregate 1 billion rows in 950 milliseconds.”

Mike Driscoll - Metamarkets

Page 20: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

cluster computing

Page 21: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

MPI

Page 22: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

bandwidth intensive

Page 23: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

Cluster Compute Instance

Page 24: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

2*Intel Xeon 55708 cores w/HT23 GB RAM1.7 TB disk

HVMcc1.4xlarge

Page 25: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

10 gig E

Page 26: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

PlacementGroup

Page 27: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

Placementgroup

full-

bisection

Page 28: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

linpack

Page 29: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

Cores 7040

Rmax 41.82

Rpeak 82.51

Page 30: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

231

November 2010

Page 31: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

451

June 2011

Page 32: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

42

November 2011

Page 33: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

HPC is evolving

Page 34: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

2*Intel Xeon 557022 GB RAM1.7 TB disk

HVM2*NVidia M2050

Page 35: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

AMBER

JAC NVE: 46.92 ns/day

Factor IX: 13.49 ns/day

Cellulose NVE: 3.07 ns/day

Page 36: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

optimizing costs

Page 37: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

on-demand

Page 38: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

reserved

Page 39: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

spot

Page 40: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 41: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 42: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 43: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

30,472 cores

Page 44: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

$1279/hr

Page 45: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 46: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

2. Orchestration

Page 47: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 48: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

AWS CloudFormation

Page 49: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

bootstrap

Page 50: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

Cloud Init

Page 51: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

#cloud-configpackages:! - httpd!runcmd:! - /etc/init.d http start! - echo "<h1>hello, world"</h1> \! ! > /var/www/html/index.html

Page 52: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

#!/bin/shec2-run-instances ami-8c1fece5 \! -n 1 \! -t m1.small \! -g deesinghdemo-SG \! -k deesinghdemo-keypair \! --user-data-file \.\cloudconfig.txt

Page 53: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

chef/puppet

Page 54: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

familiar tools

Page 55: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

LSF

Page 56: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

Grid Engine

Page 57: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

Bright Cluster Manager

Page 58: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

combining worlds

Page 59: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

MIT Starcluster

Page 60: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

$ starcluster start mycluster$ starcluster listclusters

Page 62: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 63: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand

Provisions ClusterShared Storage

MonitoringBootstraps StarCluster

Includes 200 GB Public Dataset

Provisioned Stack = Submit jobs to Grid Engine

Page 64: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 65: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand
Page 66: GPU Computing with Amazon EC2 - Nvidia€¦ · Deepak Singh @mndoci Principal Product Manager. Amazon Web Services. 4. 2. 1. Infrastructure. ec2-run-instances. secure global on demand