26
Vivaldi: A Decentraliz ed Network Coordinate System F. Dabak, R. Cox, F. Kaashoek, R. Morris MIT

Vivaldi: A Decentralized Network Coordinate System

  • Upload
    mireya

  • View
    28

  • Download
    0

Embed Size (px)

DESCRIPTION

Vivaldi: A Decentralized Network Coordinate System. F. Dabak, R. Cox, F. Kaashoek, R. Morris MIT. Outline. Introduction Vivaldi Algorithm Evaluation Coordinate Model Selection Conclusions. Outline. Introduction Vivaldi Algorithm Evaluation Coordinate Model Selection Conclusions. - PowerPoint PPT Presentation

Citation preview

Page 1: Vivaldi: A Decentralized Network Coordinate System

Vivaldi: A Decentralized Network Coordinate System

F. Dabak, R. Cox,

F. Kaashoek, R. Morris

MIT

Page 2: Vivaldi: A Decentralized Network Coordinate System

Outline

• Introduction

• Vivaldi Algorithm

• Evaluation

• Coordinate Model Selection

• Conclusions

Page 3: Vivaldi: A Decentralized Network Coordinate System

Outline

• Introduction

• Vivaldi Algorithm

• Evaluation

• Coordinate Model Selection

• Conclusions

Page 4: Vivaldi: A Decentralized Network Coordinate System

Motivation

• Large-scale Internet applications can benefit from an ability to predict round-trip times to other hosts without having to contact them first.

Page 5: Vivaldi: A Decentralized Network Coordinate System

Design Goal

• Finding a metric space that embeds the Internet with little error

• Scaling to a large number of hosts

• Decentralizing the implementation

• Minimizing probe traffic

• Adapting to changing network conditions

Page 6: Vivaldi: A Decentralized Network Coordinate System

Contribution of the Paper

• A decentralized, low overhead, adaptive synthetic coordinate system that computes coordinates which predict Internet latencies with low error– Vivaldi is used by the Chord P2P lookup syste

m

• Introduces the notion of a directionless height that improves the prediction accuracy

Page 7: Vivaldi: A Decentralized Network Coordinate System

Outline

• Introduction

• Vivaldi Algorithm

• Evaluation

• Coordinate Model Selection

• Conclusions

Page 8: Vivaldi: A Decentralized Network Coordinate System

Prediction Error

• Let Lij be the actual RTT between nodes i and j, and xi be the coordinates assigned to node i.

• The errors in the coordinates can be characterized using a squared-error function:

The goal is to make this error small.

Page 9: Vivaldi: A Decentralized Network Coordinate System

The simple Vivaldi algorithm

Called for each new RTT measurement

timestep

Page 10: Vivaldi: A Decentralized Network Coordinate System

An Adaptive Timestep

• The rate of convergence is governed by the δ timestep– A small δ causes slow convergence– A large δ causes oscillation

• Vivaldi varies δ depending on how certain the node is about its coordinates

Each node compares each new measured RTT sample with the predicted RTT, and maintains local error

Page 11: Vivaldi: A Decentralized Network Coordinate System

The Vivaldi Algorithm

Page 12: Vivaldi: A Decentralized Network Coordinate System

Outline

• Introduction

• Vivaldi Algorithm

• Evaluation

• Coordinate Model Selection

• Conclusions

Page 13: Vivaldi: A Decentralized Network Coordinate System

Evaluation Environment

• The experiments are conducted using a packet-level network simulator running with RTT data collected from the Internet.– PlanetLab data set: 192 hosts on the PlanetLab

network testbed– King data set: 1740 Internet DNS servers

Page 14: Vivaldi: A Decentralized Network Coordinate System

Evaluation: Convergence

Constant δ

Adaptive δ

Slow convergence

Oscillates

Adaptive δ leads lower error than constant δ

Page 15: Vivaldi: A Decentralized Network Coordinate System

Evaluation: Robustness

The evolution of a stable 200-node network after 200 new nodes join.

Using the constant δ, the initial structure of the system has been destroyed, a result of placing to much faith in young high-error nodes.

Using the adaptive δ preserves the established order.

Page 16: Vivaldi: A Decentralized Network Coordinate System

Evaluation: Communication Patterns

When nodes only contact their neighbors, coordinates at the large scale is not accurate.

Page 17: Vivaldi: A Decentralized Network Coordinate System

The effect of long-distance communication

Even when only 5 % of the samples involve distant nodes, skewed coordinate placements will be avoided.

Page 18: Vivaldi: A Decentralized Network Coordinate System

Evaluation: Adaptation

Increase longer links

Converges after 20 sec.

Go back to shorter links

Page 19: Vivaldi: A Decentralized Network Coordinate System

Performance Comparison

Smallnetwork

Largenetwork

Relative error of Vivaldi is close to that of GNP which requires landmarks.

Page 20: Vivaldi: A Decentralized Network Coordinate System

Outline

• Introduction

• Vivaldi Algorithm

• Evaluation

• Coordinate Model Selection

• Conclusions

Page 21: Vivaldi: A Decentralized Network Coordinate System

Model Selection

• Vivaldi works with any coordinate system that supports the magnitude, addition, and subtraction operations

• We consider a few possible coordinate spaces that might better capture the Internet’s underlying structure

Page 22: Vivaldi: A Decentralized Network Coordinate System

Euclidean Spaces

Increasing dimension decreases error but increases overhead.

Smallnetwork

Largenetwork

Page 23: Vivaldi: A Decentralized Network Coordinate System

Spherical Coordinates

Small network Large network

2D coordinates is better.

Page 24: Vivaldi: A Decentralized Network Coordinate System

Height Vectors

• A height vector consists of a Euclidean coordinate augmented with a height

• The Euclidean portion models a high-speed Internet core with latencies proportional to geographic distance, while the height models the time it takes packets to travel the access link from the node to the core (e.g. queuing delay).

Page 25: Vivaldi: A Decentralized Network Coordinate System

Height Vector Performance

Height vectors perform better than both 2D and 3D Euclidean coordinates.

Page 26: Vivaldi: A Decentralized Network Coordinate System

Conclusions

• Proposed a decentralized, low overhead, adaptive synthetic coordinate system that computes coordinates which predict Internet latencies with low error

• Introduced the notion of a directionless height that improves the prediction accuracy