26
Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1 , Xiao Wang 1 , Xiaoxiao Song 1 , Eng Keong Lua 2 , Cong Shi 3 , Xiaohan Zhao 1 , Beixing Deng 1 , Xing Li 1 1 Department of Electronic Engineering, Tsinghua University, Beijing 100084, China 2 College of Engineering, Carnegie Mellon University, Pittsburgh, PA 15213 3 College of Computing, Georgia Institute of Technology,

Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Embed Size (px)

Citation preview

Page 1: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System

Yang Chen1, Xiao Wang1, Xiaoxiao Song1, Eng Keong Lua2, Cong Shi3, Xiaohan Zhao1, Beixing Deng1, Xing Li1

1Department of Electronic Engineering, Tsinghua University, Beijing 100084, China2 College of Engineering, Carnegie Mellon University, Pittsburgh, PA 152133 College of Computing, Georgia Institute of Technology, Atlanta, GA 30332

Page 2: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Outline

•Introduction•Related Work•Design of Phoenix•Performance Evaluation•Conclusion

Page 3: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Introduction

•Problem▫Distance (Latency) information is very

important in Internet applications: Server Selection, Overlay Construction, Overlay Multicast, Overlay Routing, Application Layer Anycast

▫Direct measurement: Bad scalability•Network Coordinate (NC) System

▫Scalable way for Internet distance prediction▫Use O(N) measurement to predict the

distances of N2 end-to-end links

Page 4: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Related Work

•Euclidean Distance based Network Coordinates and Triangle Inequality Violation (TIV)

•Dot Product based NC and IDES

Page 5: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Euclidean Distance based NC

• Euclidean distance based NC is an embedding of N hosts into d-dimensional Euclidean space Rd

• Typical NC systems▫ GNP,Vivaldi,PIC,NP

S…d=3

Page 6: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Triangle Inequality Violation (TIV)

D(A,C)+D(C,B)<D(A, B)DE(A,C)+DE(C,B)>DE(A, B)

Any three hosts with TIV cannot be embedded into Euclidean space within some level of accuracy, for the distances among them in Euclidean space must obey triangle inequality.

Page 7: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Dot Product based NC

d

k

jk

ik

Tji

E

ik

id

iii

ik

id

iii

T

dN

Nd

NN

d

d

dN

Nd

NN

d

d

T

dNNdNN

NN

NN

NN

YXjiD

dkRY

dkRX

i

Y

Y

Y

X

X

X

D

Y

Y

Y

and

X

X

X

D

1

21

21

21

222

21

112

11

21

222

21

112

11

2

1

2

1

2

1

2

1

tMeasuremen O(N)NC basedproduct Dot

),(

1,),,,,( vector incoming ldimensionad

1,),,,,( vector outgoing ldimensionad

host of NC The

DE(A,C)+DE(C,B)>DE(A, B)

tolerate the constraints of TIVs.

Page 8: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

IDES

•First dot product based NC system

•Problems▫Negative Distance▫Fair Prediction Accuracy

Page 9: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Negative Distance in IDES

Cause the malfunction of the system because the distance (Round Trip Time) can not be negative.

Page 10: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Fair Prediction Accuracy▫Reason: Error Propagation▫A certain host gives equal confidence to

each referred NC▫However, some NCs are very inaccurate

due to different factors

Prediction Accuracy: No better than GNP/Vivaldi/…!!

Page 11: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Design Goal of Phoenix

•Accurate▫Dot Product based NC▫Weighted Model

•Decentralized•Practical

▫Never give negative predicted distance

Page 12: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Architecture of Phoenix

•Early Hosts•Ordinary Hosts

Page 13: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Early Hosts• If N ≤ m, the new host Hnew will be considered as one of

the early hosts.▫ These early hosts will probe each other to obtain the N × N

distance matrix▫ The system will use NMF (Non-negative Matrix Factorization)

algorithm to get the NCs (incoming vectors and the outgoing vectors) of these early hosts.

negative-non are Y and Xin elements theall,Y&X:Output

,D:Input

dNdN

NN

Page 14: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Ordinary Hosts• N>m▫ For each new host Hnew

select any m existing hosts randomly

Hnew measures its RTTs to these m hosts as well as retrieves the NCs (Xnew and Ynew)of these m hosts.

NC can be calculated and updated periodically.

Page 15: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

NC Calculation of Ordinary Hosts•Calculation of Xnew and Ynew

•Predicted Distance between Hnew and Ri

Different weights are assigned to each referred vectors

Page 16: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Weight Calculation

C is set as 5 in our Phoenix implementation.

The more accurate the referred vector is, the higher confidence (weight) should be given to this NC.

In contrast, some referred vectors with abnormal high error will not be considered for NC calculation.

Page 17: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Performance Evaluation

•Setup of the Experiment•Metrics•Evaluation Results on Prediction Accuracy•Convergence Behavior of Phoenix•Robustness over Measurement Anomalies

Page 18: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Setup of the Experiment• All of these three systems use 10-dimensional

coordinates.

• Phoenix: each host has m reference hosts• IDES: m randomly selected landmarks• Vivaldi: each host has m neighbors.

(cc=0.25,ce=0.25)

• m=32• 10 runs are performed on each data set and

the average results are reported.

Page 19: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Datasets

Page 20: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Metrics

•Relative Error (RE)

▫ Smaller RE indicates higher prediction accuracy. When measured distance equals to predicted distance, the RE value will be zero.

▫ More attention is paid to the 90th Percentile Relative Error (NPRE) since it can guarantee 90% of the hosts have lower RE values than it

),(

),(),(),(

jiD

jiDjiDjiRE

E

Page 21: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Prediction Accuracy

• Compared with Vivaldi, the representative Euclidean distance based NC, Phoenix can reduce the NPRE by between 18.34% (P2PSim data set) and 52.17% (AMP data set).

• Our simulation results demonstrate that Phoenix can achieve high prediction accuracy in a decentralized and practical way.

AMP PlanetLab King P2PSim Meridian0

0.5

1

1.5

PhoenixPhoenix (Simple)IDES (SVD)IDES (NMF)Vivaldi

Page 22: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Convergence Behavior of Phoenix

Basically, Phoenix will converge in less than 10 rounds.the final median prediction error of Phoenix is about 31% smaller than Vivaldi. Therefore the convergence of Phoenix is very fast and effective.

Page 23: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Robustness over Measurement Anomalies

• Phoenix is very robust to small amount of measurements anomalies.

• The difference between Phoenix and Phoenix(Simple) demonstrates that the weighted model can eliminate the impact of measurement anomalies greatly.

Page 24: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Conclusion

•Phoenix achieves much higher prediction accuracy than state-of-the-art NC systems in different typical Internet data sets

•Phoenix is an accurate, practical and decentralized solution to scalable Internet distance prediction.

Page 25: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Download the Simulator• http://www.net-glyph.org/~chenyang/Phoenix-si

m.zip

Page 26: Phoenix: Towards an Accurate, Practical and Decentralized Network Coordinate System Yang Chen 1, Xiao Wang 1, Xiaoxiao Song 1, Eng Keong Lua 2, Cong Shi

Phoenix: Towards an Accurate, Practical andDecentralized Network Coordinate System

Network Coordinate

System

Triangle Inequality Violation

(TIV)

Negative Distance

Distance Prediction Accuracy

Approach

Vivaldi ★★★ EuclideanDistance

IDES ★★★ MatrixFactorizatio

n

Phoenix ★★★★★ MatrixFactorizatio

n+

Weighted Model