17
Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized Data Centers

Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

Oliver Michel*, Eric Keller*, Fernando Ramos^

*University of Colorado Boulder, ^University of Lisbon

Network Defragmentation in Virtualized Data Centers

Page 2: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

Virtualized Data Centers

2

HardwareServers, Networking Equipment, Cabling, etc.

Hypervisor

Virtual Machine

Services /

Applications

Virtual Machine

Services /

Applications

Page 3: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

• Cornerstone of cloud computing

• Coexistence of tenants on shared infrastructure

• Scaling of resources based on demand

Elasticity is one of its key drivers

Virtualized Data Centers

3

Page 4: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

• Different cloud applications require different topologies and different network guarantees

• A reality today: VMware NVP [NSDI’14], Microsoft AccelNet [NSDI’18], Google Andromeda [NSDI’18]

New requirement: network virtualization

Application BApplication A Application C

virtual

networks

substrate

network

Page 5: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

• Core algorithmic challenge: Virtual Network Embedding (VNE)

• Map the virtual network requests onto the substrate infrastructure

Existing VNE approaches lack a fundamental requirement: elasticity

Limitations of existing approaches

Application BApplication A Application C

virtual

networks

substrate

network

Page 6: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

Contribution #1: new scaling primitives to VNE

6

Expand VN / Contract VN

Page 7: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

Problem: network fragmentation

7

Embed

VN

Remove

VN

Expand

VN

Contract

VN

Virtual Network Lifecycle

Page 8: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

• Fragmentation introduces several problems

• Longer path lengths, higher latencies

• Harder to map new VNs, lower acceptance ratios

Problem: network fragmentation

8

expand()

Page 9: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

• Extended an existing VNE algorithm [Ballani11] with

expand and contract primitives

• Cloud simulator

• Leaf-Spine physical topology

• Different virtual topologies

Implementation

9

Virtual Network Topologies: VC, VOC, 3T

Leaf-Spine Physical Network Topology

Page 10: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

• Simulation: leaf-spine topology; 28 switches and 384 servers; adding, deleting, expanding, or contracting virtual networks 1000 times (averaged over 10 runs; randomized workloads)

• Longer path lengths -> higher latencies and cost, poorer application performance, prolonged job completion times

• Lower acceptance ratios -> reduced revenue

Costs of fragmentation

Page 11: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

Contribution #2: new management primitive

11

Expand VN / Contract

VN

Network

defragmentation

+

Page 12: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

Network Defragmentation

12

• Optimize VNE algorithms to avoid fragmentation?

• Hard: no prior knowledge of upcoming request

We explore a diferente approach: explicit

defragmentation by periodically running a network

migration algorithm (e.g., LIME [SOCC14])

defrag()

Page 13: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

• (Naive) remap of all virtual networks

1. Unmap all VNs

2. Sort by VN size (biggest to smallest)

3. Re-embed each VN in order

Network defragmentation heuristic

13

Page 14: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

Evaluation: mean path length stretch

14

Page 15: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

Lower path lengths reduce latencies and cost, improve application performance, and by improving efficiency increase provider profit

Evaluation: fraction of paths by path length

15

before

defrag

after

defrag

Page 16: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

• Future work

• better defragmentation heuristics that minimize migration cost

• integration with network migration

Summary

16

Page 17: Oliver Michel*, Eric Keller*, Fernando Ramos · Oliver Michel*, Eric Keller*, Fernando Ramos^ *University of Colorado Boulder, ^University of Lisbon Network Defragmentation in Virtualized

THANKS.

QUESTIONS?

Oliver Michel

[email protected]

Fernando Ramos

[email protected]