• No results found

Multifaceted Resource Management for Dealing with Heterogeneous Workloads in Virtualized Data Centers

N/A
N/A
Protected

Academic year: 2021

Share "Multifaceted Resource Management for Dealing with Heterogeneous Workloads in Virtualized Data Centers"

Copied!
22
0
0

Loading.... (view fulltext now)

Full text

(1)

Dealing with Heterogeneous Workloads in

Virtualized Data Centers

Íñigo Goiri, J. Oriol Fitó, Ferran Julià,

Ramón Nou, Josep Ll. Berral,

Jordi Guitart and Jordi Torres

(2)

Motivation

Provider benefit depends on

Reducing energy consumption Avoid violating SLAs

Virtualization is used to

Consolidate different tasks in the same physical host Save energy and reduce management complexity

Execute heterogeneous tasks on top

HPC tasks based on deadline

Web-based applications based on response times and uptime

(3)

Motivation

Virtualization adds overheads

Creation time Migration

Disk management

Aggressive consolidation for saving energy

May incur in performance loss, i.e. less benefit

SLA violation → provider pays penalty

Delay finish time of HPC tasks

(4)

Contribution

We propose a new scheduling policy

Increases provider benefit Reduces energy consumption Manages virtualization overheads Reduces SLA violations

Allows outsourcing of resources Supports fault tolerance

Runs HPC and web-based applications

(5)

Scheduling algorithm

Decides where to run a VM dynamically

Evaluates every VM allocation in every host (physical server)

Calculates benefit for each allocation

Aggregation of revenues and costs Higher benefit is better

(6)

Calculate benefit

Benefit of a tentative allocation of virtual machine VM in host H

Aggregation of revenues and costs

Execution revenue Virtualization overhead Energy cost

Benefit = Revenue −

P Costs

(7)

Cost calculation: Hardware, software, and resource requirements

If the host cannot fulfill the VM requirements:

Lacks required hardware: number of CPUs, disk. . . Lacks required software

Lacks required hypervisor ∞ cost

If the host does not have enough free resources:

Not enough CPU, memory. . . ∞ cost

(8)

Cost calculation: Virtualization overhead

Overhead introduced by virtualization management

Time to create the VM Time to migrate the VM

Estimate SLA penalty

Extra time added to HPC tasks Loss of performance

(9)

Cost calculation: Energy consumption

Estimate energy consumption

Get host load

Get hosts energy consumption Assess consumption per each VM Transform it to cost using electricity price

(10)

Other features

Virtualized datacenters provides new capabilities

Outsourcing Checkpointing

Our scheduling policy supports them

(11)

Outsourcing

Run VMs (resources) in external IaaS providers

Model an external provider as a big local host

Revenue of executing the task Cost to outsource

Overhead of starting VMs in an external provider

(12)

Fault tolerance

Uncertain hosts crashes

Estimate hosts reliability

Resume failed VMs

Evaluate VM tolerance to failure

Web applications: state-less HPC tasks: need checkpoints

(13)

Calculate benefit of the current VMs allocation

Optimize system in order to get higher benefit for VM allocations

Hill climbing algorithm

Possible changes to be applied to the system:

Create VM

Execute (outsource) VMs in external providers Migrate VM among nodes

Cancel VMs execution

Keep VMs that cannot be executed in a queue Apply turn on/off policy

(14)

Turn on/off policy

Turn on/off approach: save energy

Use two thresholds Turn off idle servers

Turn off servers as soon as they are not used Turn on new machines if they are required

Wait until machines are needed

Use of consolidation

More energy savings Lower performance

(15)

Environment

Simulated environment

Heterogeneous real workload (one week)

Grid 5000:

∼2000 tasks with an average of ∼5000 seconds per task Anonymous European ISP

Aggregation of several web-based services

(16)

Environment: power simulator

Simulate nodes with different features

Fast and reproducible results

Scheduling policies:

Random Round robin Backfilling Dynamic backfilling Economic-based Simulator Workload Output ... Sched0 SchedN

(17)

Environment: SLA vs Power

Metrics:

Energy consumption (Wh)

Client satisfaction (SLA fulfillment) Benefit (euros)

SLA penalties:

MAX A pen alty (% )

(18)

Local allocation

Metrics

Normalized average power to the best policy Client satisfaction

Scheduling policies

Static: no migration

Dynamic: use migration to consolidate

Random Round Robin Backfilling Dynamic BF Static Simple Static Dynamic

40 50 60 70 80 90 100 110 120 130 140 Power SLA Beneffit Pe rc e n ta g e

(19)

Fault tolerance

Scheduling policies in a faulty environment

99.9% node reliability: an average of one or two failures per week

“Fault tolerance” policy

Performs checkpoints of HPC tasks Able to manage with node crashes

60 70 80 90 100 110 Beneffit P e rce n ta g e

(20)

Outsourcing

Outsource resources in order to withstand period of peak loads

Using 65 nodes: support peak load and high CAPEX Using 30 nodes: outsource peak load and save CAPEX

Dynamic (65 nodes) Outsourcing (65 nodes) Dynamic (30 nodes) Outsourcing (30 nodes) 40 50 60 70 80 90 100 110 Beneff P e rce n ta g e

(21)

Improve energy efficiency

Deal with virtualization overheads

More SLAs are fulfilled

Increase provider’s benefit

Future work

Dynamic SLA enforcement

Powering on/off servers with dynamic turn on/off thresholds Add more heterogeneity support

(22)

Dealing with Heterogeneous Workloads in

Virtualized Data Centers

Íñigo Goiri, J. Oriol Fitó, Ferran Julià,

Ramón Nou, Josep Ll. Berral,

Jordi Guitart and Jordi Torres

Barcelona Supercomputing Center (BSC) and UPC Barcelona Tech.

References

Related documents

SUMMARY OF KEY LEARNING EVENTS AND ACTIVITIES: Lesson Closing: Instruct students to use the last five (5) minutes of the period to hand write a ticket to leave

We sought to determine whether routine administration of high- fl ow nasal oxygen, compared with standard oxygen therapy, leads to reduced hospital length of stay after cardiac

Pro vyhodnocení tvrdosti v řezu pásu plechu oceli Ck55 ve výchozím stavu a po jednotlivých průchodech geometrií tvářecího zařízení využívajícího metodu DRECE

Moreover, to the best of out knowledge there are no studies on a comprehen- sive approach that combines optimization of VM placement according to current utilization of the

“Life 1” governed by CT strain criterion Modelled as “Unbound” E=500MPa, ν= 0.35 Unsublayered “Life 2” governed by SG strain criterion Subgrade Cemented Cracked Subgrade

(Giberti, 1989), por lo que sus hojas han sido usadas como muestra de referencia en el desarrollo de métodos para detectar congéneres adulterantes de esta última (Spegazzini,

BS 65 : 1991 Specification for vitrified clay pipes, fittings and ducts, also flexible mechanical joints for use solely with surface water pipes and fittings BS 416 Discharge

The results of this research study indicate that this evaluation was basically a level one evaluation that tested only the reactions of the participants in the area