• No results found

Big Data Benchmarks of Commercial Bare Metal and Serverless Clouds

N/A
N/A
Protected

Academic year: 2019

Share "Big Data Benchmarks of Commercial Bare Metal and Serverless Clouds"

Copied!
34
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

Outline

Choosing the right system configuration for an application is challenging because of these:

- Resource utilization

(3)

Resource Utilization

Utilization can be low because of:

- Workloads

- Server types

a) Mixed workloads (b) batch workloads at Google clusters over 20k+ machinesͤ

Alibaba cluster over 4k machinesͣ

ͣJiang, C., Han, G., Lin, J., Jia, G., Shi, W., & Wan, J. (2019). Characteristics of Co-allocated Online Services and Batch Jobs in Internet Data Centers: A Case Study from

Workload diversification over 3 years at Googleͥ

(4)

Heterogeneous

Workloads

– Hadoop Benchmark

Scaling behavior is not identical over different workloads

System: Oracle Bare Metal BM.DenseIO2.52 (104

vcores, 768GB mem, 51.2TB local NVMe)

1.4x

5x

(5)

Performance in different I/O systems

Distributed Filesystem IO benchmark (TestDFSIO)

Two similar server types: - Oracle Bare Metal:

- 104 cores

- 768 GB memory

- network storage (blue bar)

- direct NVMe (orange bar)

(6)

Performance in different I/O systems

Distributed Filesystem IO benchmark (TestDFSIO)

Two similar server types: - common:

- 104 cores

- 768 GB memory

- network storage (blue bar)

- direct NVMe (orange bar)

Network storage - Read speed gets worse over increased data

(7)
(8)

Requirements

Dynamic infrastructure provisioning

- Multi dimensional problem; CPU/memory/network/storage

- Elasticity

(9)

Architecture Decision

Scale-out: Large numbers of low-end servers: Serverless, Linux process level vs

(10)

Task Placement

Increased task granularity better than improving resource granularity

N tasks

Reduced execution time

: bag of tasks

(11)

Serverless: Increased task granularity

Benefits

- Reduced Time To Completion - Less reserved time

- Overall increased resource utilization - Flexibility

Limitations

- Scaling overhead

(12)

CPU Cost ($/TFLOP per hour)

$7.05 $5.15 $6.59 $24.02 $21.77 $4.07 GCE Azure AWS

$0.00 $5.00 $10.00 $15.00 $20.00 $25.00 $30.00 IaaS Serverless

AWS

- EC2 96 vCPUs: $6.048/hr (r5.24xlarge) => 917.78GFLOPS

- Serverless: $0.00002501/sec (1.5GB memory) => 22.1GFLOPS

Azure

- 64 vCPUs: $3.629/hr (E64s_v3) => 704.13GFLOPS

- Serverless: $0.000016/sec (1GB memory) => 2.646GFLOPS

GCE

- 96 vCPUs: $5.6832/hr (n1-highmem-96) => 806.07GFLOPS

(13)

CPU Performance

3k AWS Serverless ≈ 72 servers 1 AWS Serverless ≈ 2.3vCPUs

3k Azure Serverless ≈  11 servers 1 Azure Serverless ≈ 0.2vCPU

3k GCE Serverless ≈ 16 servers, 1GCE Serverless ≈ 0.5vCPU

(14)

Scaling Performance (CPU) I

Workload: Matrix multiplication

Execution time (mean value in secs)

Platform Execution set Task time

secs Total Timesecs Cost ($)

AWS Lambda

100 sequential

calls 1.77 177 0.0044

100 concurrent

calls 3.72 3.72 0.0093

Azure Functions

sequential 6.78 678 0.011

concurrent 319 319 0.51

Google Functions

sequential 3.09 309 0.0090 concurrent 18.8 18.8 0.054

IBM

OpenWhisk

sequential 3.79 379 0.0032

concurrent 4.88 4.88 0.0041 Function Execution Time (s)

(15)

Scaling Performance (CPU) II

• AWS Lambda shows big difference with other vendors especially when it's dealing with concurrent function calls.

• AWS quickly adds more resources when there are many function calls (1 core to 2 functions ratio is observed as the maximum allocation) whereas other serverless takes a longer

period of time to spin up more system processes for requested calls.

(16)

Scaling Performance (Disk)

Workload: File random read and

random write of 100MB size of a file

Platform Execution set Mean in

sec (std) TotalTime Read(MB/s) Write(MB/s)

AWS Lambda

1x100 1.88 (0.08) 188 152.98 82.98 100x1 3.61 (0.14) 3.61 92.95 39.49 Azure

Functions

1x100 3.44 (0.17) 344 423.92 44.14 100x1 failed failed (device

busy) (devicebusy) Google

Functions

1x100 12.3 (0.55) 1226 55.88 9.44 100x1 30.1 (8.39) 30.11 54.14 3.57 1x100 14.0 (2.33) 1404 68.23 7.86

(17)

Scaling Performance (Network Bandwidth)

Workload: Transferring 100MB size of a file

Platform Execution set Mean in sec

(std) Total time

AWS Lambda

1x100 1.34 (0.06) 134 100x1 2.44 (0.21) 2.44 Azure Functions

1x100 9.42 (1.93) 942 100x1 failed failed Google

Functions

1x100 5.12 (0.27) 512 100x1 7.19 (1.37) 7.19 IBM OpenWhisk

(18)
(19)

Less Overhead on high-end machines?

Bare Metal with high performance storage

- Local NVMe

- High IOPS/throughput SSD type block storage

(20)

Performance with Large

data sizes

Similar configuration with:

- 6 VM servers (24vCPUs each) versus

- 3 BM servers (52vCPUs each)

Cost per vCPUs: $0.1275

- 6 VM servers: $18.36 (144 vCPUs) - 3 BM servers: $19.89 (156 vCPUs)

System: Oracle Cloud

- VM.DenseIO2.24: 48 logical processors, 320GB memory, 24.6Gb Ethernet,

25.6TB NVMe

- BM.DenseIO2.52: 104 logical

(21)

Scaling Tests

Strong Scaling:

Increased number of workers, constant benchmark data size (Left)

Weak Scaling:

Benchmark data size proportional to the

(22)

IOPS (Block Storage for Hadoop Cluster)

64000

20000

60000

25000 80000 80000

60000

400000

AWS Azure GCE OCI

0 50000 100000 150000 200000 250000 300000 350000 400000 450000

(23)

IOPS (Direct NVMe compared to Block Storage

from previous slide)

64000 80000 20000 80000 60000 60000 25000400000 3300000

2700000

680000

5500000

AWS Azure GCE OCI

0 1000000 2000000 3000000 4000000 5000000 6000000

Per Volume Per Server Per Server (Direct NVMe)

(24)

Fio - Flexible I/O Tester Synthetic Benchmark

IOPS

1528.5 427.3 27.6 840.9 529.9 33.8 345.2 115.8 7.9 1180 850 82.6

AWS_x000d_(i3.metal, 1.9TB x

8)

Azure

_x000d_(L64s_v2, 1.9TB x

8)

GCE

_x000d_(himem96, 375GB

x 8)

OCI_x000d_(B

M.DenseIO2.52, 6.4TB x

8)

0

4K rw50 16K rw50 256K rw50 AWS best at small sizes,

Oracle at large block sizes Random read and write

tests

(25)

Hadoop Block Storage

Bare Metal Benchmark

The result shows block storage performance using Hadoop benchmark tools

Configurations: - 3 worker nodes

- Multiple block storages attached (HDFS mounts) for maximum IOPS and throughput per worker node

Five HDFS based Hadoop workloads - Wordcount

- PageRank

- Kmeans clustering - Terasort

- DFSIO (Read/Write) Amazon(Orange bar)

Microsoft(Red bar)

Google(Green bar)

GCE Failed due to disk errors

AWS Azure GCE OCI

Wordcount\n(1.6T

B) 2917.403 5203.261 0.000 2561.097 Pagerank\n(50M

pages) 427.872 557.370 485.084 446.669

K-means\n(1.2B

samples) 2733.394 3854.514 3577.521 2824.252

(26)

Details of

Hadoop Block Storage

Bare Metal Benchmark

The result shows Hadoop benchmark with Map/Reduce progress as a

function of time

AWS and Oracle in front

(27)

Terasort on Oracle Cloud

Workload: Terasort with 10TB (1013Bytes)

size of data

- 100 billion 100bytes records - With 10 bytes key

System of each worker node: Oracle

BareMetal (server name: BM.DenseIO2.52) - 104 logical processors, 768GB Memory,

dual 25Gb Ethernet

- NVMe disks (1.3MM IOPS, 19.8GB/s throughput)

(28)

Terasort on Oracle Cloud (System Resource)

Monitoring system resource activity shows proper system configuration between CPU, storage and network bandwidth. Note

difference between Map and Reduce phases

600 GB data

High performance computing, networking and storage work together improving overall performance of mixed workloads i.e.

terasort

(29)

Experiment Setup

1. Item 1. AWS 1. Azure 1. GCE 1. OCI

1. r5.24xlarge 1. E64s v3 1. n1-highmen-96 1. bm.standard.52

1. CPU 1. Xeon Platinum

8175M 1. Xeon E5-2673 v4(Broadwell) 1. Xeon Skylake Xeon Platinum 8167M

1. vCPU count 1. 96 1. 64 1. 96 1. 104

1. Memory 1. 768GB 1. 432GB 1. 624GB 1. 768GB

1. HDFS Volumes 1. 2TB x 7 1. 1TB x 7 1. 834GB x 8 1. 700GB x 6

1. Max IOPS (per

volume) 1. 6,000 1. 5,000 1. 25,000 1. 25,000

1. Max IOPS (Per

Server) 1. 42,000 1. 35,000 1. 60,000 (read)/30,000(write) 1. 150,000

Max Throughput (per

(30)

INDIANA UNIVERSITY BLOOMINGTON

Oracle I/O Performance NVMe v. Block Storage

1. 12 x 700 GB

2. Block Storage

1. 8 x 6.4 TB

2. Local NVMe

1. Difference

1. 4K rand write IOPS 1. 303,000 1. 1,098,000 1. 3.62x

1. 4K rand read IOPS 1. 292,000 1. 1,334,000 1. 4.56x

1. 256K rand write

Throughput 1. 3.0 GB/s 1. 18.0 GB/s 1. 6x

1. 256K rand read

Throughput 1. 3.0 GB/s 1. 19.8 GB/s 1. 6.6x

1. 4k rand write Latency 1. 7,908

2. μsec

1. 1,455

2. μsec

(31)

INDIANA UNIVERSITY BLOOMINGTON

SSD Based Block Storage: Vendor limits on

performance

1. Provider 1. Pricing ($) GB/mo nth 1. Throug hput per volume (MiB/s) 1. Throug hput per instanc e (MiB/s) 1. IOPS per volume 1. IOPS per instanc e 1. IOPS ratio to volume size (IOPS/G B) 1. Volume capacit y (TiB)

1. AWS base

(gp2) 1. 0.1 1. 250 1. 1,750 1. 16,000 1. 80,000 1. 3:1 1. 16

1. AWS high

end (io1) 1. 0.125 +0.065/I OPS

1. 1,000 1. 1,750 1. 64,000 1. 80,000 1. 50:1 1. 16

1. Azure base (premium ssd)

1. 0.1 1. 900 1. 1,600 1. 20,000 1. 80,000 1. - 1. 32

1. Azure high end (ultra ssd in preview) 1. 0.0598 6 + 0.0248 2/IOPS + 0.5MB/ s

1. 2,000 1. 2,000 1. 160,000 1. 160,000 1. - 1. 64

1. Google

(32)

INDIANA UNIVERSITY BLOOMINGTON

IOPS by Volume Size (block storage)

1. aw s (gp 2) @ 4k 1. oci @ 4k 1. aw s (gp 2) @ 16 k 1. oci @ 16 k 1. aw s (gp 2) @ 25 6k 1. oci @ 25 6k 1. vol um e siz e 1. 33 4G B 1. 10 02 1. 20 04 0 1. 10 02 1. 10 02 0 1. 10

02 1. 640

1. 41 7G B 1. 12 51 1. 25 00 0 1. 12 51 1. 12 51 0 1. 10

02 1. 800

1. 66 7G B 1. 20 01 1. 25 00 0 1. 20 01 1. 17 80 0 1. 10

02 1. 1280

1. 1T

B 1. 3000

1. 25 00 0 1. 30 00 1. 17 80 0 1. 10

02 1. 1280

High IOPS are offered at different volume sizes and block size (4K, 16K, 256K bytes)

(33)

IOPS (System limits

vs Provider limits)

NVMe based storage has no provider limits and deliver up to device

performance as in general it is physically attached to a server

Network storage (e.g. AWS EBS) may not see full performance as cloud

provider sets a performance limit by various factors i.e. server type, volume type, volume size and region.

AWS Azure GCE OCI

Volume size 1.9TB 1.9TB 375GB 6TB Interface NVMe NVMe NVMe NVMe Performance

limit hardware hardware hardware hardware 4K randread

IOPS 256,000 110,750 34,496 166,750 256K rw50

Throughput 864.06MB/s 1060.05MB/s 248.845MB/s 2525MB/s

Provider

limit by AWS Azure GCE OCI

Server type Yes

(Nitro-based instance)

No Yes

(32+ vCPUs) No

Volume type Yes

(Provisioned SSD – io1)

Yes

(Ultra SSD) Yes(SSD Persistent disk)

No

Volume size Yes (1,280GB Min. for Max.

Yes

(34)

Summary

Principles established:

- Workload should be placed on scale-out systems for processing many

small tasks

>> Rapid bootstrap from serverless systems

- Data intensive tasks can perform better on scale-up systems

>> Low scaling overhead from Baremetal systems

References

Related documents

Santa Clara and San Mateo Counties provide additional mobility options in the form of community programs (i.e. senior centers, adult day health care, etc.) and community

• Represents lenders in loan documentation and due diligence for real estate development projects, mixed-use projects, senior housing projects, commercial projects and

Sen1 depletion alters Sae2-dependent DSB resection initiation and Mre11 loading at R-loop prone PDC1 locus, Related to Figure 2. (A) DSB resection analysis by qPCR in JKM139

As described in Chapter 3, the situation at the Fukushima Daiichi Nuclear Power Station became serious due to the loss of power supplies as a result of destruction of most

ADA and FEHA claims require employers to use the Interactive Process to determine if a reasonable accommodation can be provided that can allow an employee to perform

In order to understand why the adoption pattern of cloud computing in business organisations has focused mainly on non-core activities, this study aims to identify the

A study was done in Eastern Sri Lanka to find out vegetable farmer’s awareness of hazard levels of pesticides, perception of pesticide impact on the environment and

InfoSphere Guardium Vulnerability Assessment provides key capabilities to help organizations streamline data security management without changes to databases, networks