Upload
clifton-cameron
View
214
Download
0
Embed Size (px)
Citation preview
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
Outline
•Introduction•Related Work•Design of Phoenix•Performance Evaluation•Conclusion
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
Related Work
•Euclidean Distance based Network Coordinates and Triangle Inequality Violation (TIV)
•Dot Product based NC and IDES
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
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.
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.
IDES
•First dot product based NC system
•Problems▫Negative Distance▫Fair Prediction Accuracy
Negative Distance in IDES
Cause the malfunction of the system because the distance (Round Trip Time) can not be negative.
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/…!!
Design Goal of Phoenix
•Accurate▫Dot Product based NC▫Weighted Model
•Decentralized•Practical
▫Never give negative predicted distance
Architecture of Phoenix
•Early Hosts•Ordinary Hosts
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
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.
NC Calculation of Ordinary Hosts•Calculation of Xnew and Ynew
•Predicted Distance between Hnew and Ri
Different weights are assigned to each referred vectors
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.
Performance Evaluation
•Setup of the Experiment•Metrics•Evaluation Results on Prediction Accuracy•Convergence Behavior of Phoenix•Robustness over Measurement Anomalies
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.
Datasets
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
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
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.
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.
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.
Download the Simulator• http://www.net-glyph.org/~chenyang/Phoenix-si
m.zip
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