optimal deployment for critical applications in ... · osub-par for the purpose ouncontrollable...

26
Budapest University of Technology and Economics Department of Measurement and Information Systems Optimal deployment for critical applications in Infrastructure as a Service Imre Kocsis, Zoltán Ádám Mann, Dávid Zilahi 3rd International IBM Cloud Academy Conference (ICACON 2015) May 21, 2015

Upload: others

Post on 21-Jun-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Budapest University of Technology and EconomicsDepartment of Measurement and Information Systems

Optimal deployment for critical applicationsin Infrastructure as a Service

Imre Kocsis, Zoltán Ádám Mann, Dávid Zilahi

3rd International IBM Cloud Academy Conference (ICACON 2015)

May 21, 2015

Page 2: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Emerging cloud applications: NFV, CC and CPS

2

Network FunctionVirtualization

Carrier CloudCyber-Physical

Systems

Instead of dedicated resources: IaaS!

Page 3: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

What’s the problem?

3

Noisy neighbor VM (oroperator scheduling)

Call setup time

op

erat

ion

(mse

c)

Page 4: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

General-purpose IaaS for critical applications?

Performance isolation

o Sub-par for the purpose

o Uncontrollable channels

o No/not disclosed

Performance: instability and heterogeneity

Dependability: in application

For the operator: DC density is king

o For on-line capacity – HVAC!

o Heavy optimization – of op. cost

4

Page 5: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

We have the toolbox…

Example: CPU

Limits, reserves, shares, schedulers…

Core affinity, „pinning”

Dedicated: stilloption!

5

No access from cloud

o Yet! (coming)

Standards mandatethe capability

ETSI NFV ArchitecturalFramework

Page 6: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Our goal

Deploymentoptimization

that complieswith

tenantdeployment

policies

6

Page 7: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Deployment modeling approach

7

Existing VM Requested VM Future VM

Other capacities

VM computational load

core1

Total CPU capacity

Memory

Packet rate

IOPS

Virtual Machine

vCore1

vCore2

core2 core3 core4

Other loads

# dedicated cores

OR

CSP

Tenant Replica set reqs!

Hypervisor/ Physical machineON/OFF

Migrateable?

current load

to guarantee

percentage

Page 8: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Objectives

OPEX - amount of switched-on machines

RESERVES - immediately servable future VM reqs

QoE - single-tenant impact of physical fault

8

Page 9: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Optimization model

Page 10: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Basic packing formulation

10

Page 11: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Basic packing formulation

11

Page 12: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

CPU constraints

12

Page 13: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Additional constraints for critical VMs

13

Page 14: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Additional optimization objectives

14

Page 15: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Additional optimization objectives

15

Page 16: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

The resulting cost function

16

Number of active PMs

Number of fulfillable future

requests

Max. number of VMs of the

same tenant on the same

PM

Page 17: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Implementation

17

PM info VM request info

Current VM allocation

Current VM load

New VM allocation

Create ILP

Solve ILP (Gurobi)

Interpret results

Page 18: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Case study

Page 19: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Case study: Clearwater

Open-source implementation of the IMS (IP Multimedia Subsystem) standard

Engineered to be deployed in NFV IaaS

19

SIP proxy, frontend for users

SIP router, connectsusers and telco

applications

User store Service settingstore

Page 20: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Case study: Clearwater

20

VM typeCores /

dedicatedCapacity /

guaranteedMemory /

guaranteedIOPS /

guaranteedNumber /

reservation

Bono 1 / y 4 / y 1 / y 100 / n 2 / 1

Sprout 2 / n 6 / y 4 / y 100 / n 2 / 0

Homer / Homestead

1 / n 4 / n 4 / y 1000 / y 1 / 0

other1 2 / n 4 / n 4 / n 100 / n 1 / 0

other2 4 / n 2 / n 4 / n 50 / n 1 / 0

PM resources Cores Core capacity Memory IOPS Number

bigPM 6 8 32 10000 2

smallPM 4 6 8 350 2

Page 21: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Shortfalls of a manual deployment

21

× All PMs are on → high energy consumption

× Some PMs overloaded, others lightly utilized

× All instances of a VM group on the same PM

Page 22: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Automated solution – cost-sensitive

22

Two PMs turned off → significant reduction in energy consumption

Instances of a VM group are on different PMs

× Limited reserve for future VM requests

× Failure of a PM would have significant impact on a tenant

Page 23: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Automated solution – reserve-oriented

23

One PM turned off → some reduction in energy consumption

Instances of a VM group are on different PMs

Indicated reserve available for future VM requests

× Failure of a PM would have significant impact on a tenant

Page 24: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Automated solution – balancing fault impact

24

One PM turned off → some reduction in energy consumption

Instances of a VM group are on different PMs

× Limited reserve for future VM requests

Failure of a PM would lead to the loss of only 2 VMs of a tenant, not 3

Page 25: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Initial scalability assessment

25

Page 26: Optimal deployment for critical applications in ... · oSub-par for the purpose oUncontrollable channels oNo/not disclosed Performance: instability and heterogeneity Dependability:

Summary & future work

Our work demonstrates that

o A cloud service provider can offer guarantees which allow tenants to place critical applications in the cloud

o It is possible to combine objectives of the provider and the tenant in a joint optimization framework

Future research directions:

o Improve the scalability of the approach (e.g., hierarchical optimization)

26