T. S. Eugene Ng [email protected] Mellon University1 Towards Global Network Positioning T....
-
Upload
destiny-scott -
Category
Documents
-
view
219 -
download
1
Transcript of T. S. Eugene Ng [email protected] Mellon University1 Towards Global Network Positioning T....
![Page 1: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/1.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
1
Towards Global Network Positioning
T. S. Eugene Ng and Hui Zhang
Department of Computer Science
Carnegie Mellon University
![Page 2: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/2.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
2
New Challenges
• Large-scale distributed services and applications– Napster, Gnutella, End System Multicast, etc
• Large number of configuration choices• K participants O(K2) e2e paths to consider
Stanford MIT
CMUBerkeley
CMU
MIT
Stanford
Berkeley
Stanford MIT
CMUBerkeley
CMU
MIT
Stanford
Berkeley
Stanford MIT
CMUBerkeley
CMU
MIT
Stanford
Berkeley
![Page 3: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/3.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
3
Role of Network Distance Prediction
• On-demand network measurement can be highly accurate, but– Not scalable– Slow
• Network distance– Round-trip propagation and transmission delay– Relatively stable
• Network distance can be predicted accurately without on-demand measurement– Fast and scalable first-order performance optimization– Refine as needed
![Page 4: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/4.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
4
State of the Art: IDMaps [Francis et al ‘99]
• A network distance prediction service
Tracer
Tracer
Tracer
HOPS Server
A
B
50ms
A/B
![Page 5: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/5.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
5
What Can be Improved?
• Scalability• Speed• Accuracy
![Page 6: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/6.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
6
Global Network Positioning (GNP)
• Model the Internet as a geometric space (e.g. 3-D Euclidean)
• Characterize the position of any end host with coordinates
• Use computed distances to predict actual distances
• Reduce distances to coordinates
y(x2,y2,z2)
x
z
(x1,y1,z1)
(x3,y3,z3)(x4,y4,z4)
![Page 7: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/7.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
7
Landmark Operations
• Compute Landmark coordinates by minimizing the overall discrepancy between measured distances and computed distances– Cast as a generic multi-dimensional global minimization problem
y
xInternet
(x2,y2)
(x1,y1)
(x3,y3)
L1
L2
L3
L1
L2
L3
• Small number of distributed hosts called Landmarks measure inter-Landmark distances
![Page 8: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/8.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
8
Ordinary Host Operations
• Each ordinary host measures its distances to the Landmarks, Landmarks just reflect pings
x
Internet
(x2,y2)
(x1,y1)
(x3,y3) (x4,y4)
L1
L2
L3
yL2
L1
L3
• Ordinary host computes its own coordinates relative to the Landmarks by minimizing the overall discrepancy between measured distances and computed distances– Cast as a generic multi-dimensional global minimization
problem
![Page 9: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/9.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
9
GNP Advantages Over IDMaps
• High scalability and high speed– End host centric architecture, eliminates server bottleneck– Coordinates reduce O(K2) communication overhead to
O(K*D)– Predictions are locally and quickly computable by end hosts
• Enable new applications– Structured nature of coordinates can be exploited
• Simple deployment– Landmarks are simple, non-intrusive (compatible with
firewalls)
![Page 10: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/10.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
10
Evaluation Methodology
• 19 Probes we control– 12 in North America, 5 in East Asia, 2 in Europe
• 869 IP addresses called Targets we do not control– Span 44 countries
• Probes measure– Inter-Probe distances– Probe-to-Target distances– Each distance is the minimum RTT of 220 pings
![Page 11: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/11.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
11
Evaluation Methodology (Cont’d)
• Choose a subset of well-distributed Probes to be Landmarks, and use the rest for evaluation
T
T
T
T
T
P3
P1
P4
P2
T
(x1,y1)
(x2, y2)
![Page 12: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/12.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
12
Performance Metric
• Relative error– Symmetrically measure over and under predictions
),min(
||
predictedmeasured
measuredpredicted
![Page 13: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/13.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
13
GNP Accuracy
5-DimensionalEuclidean Space Model
![Page 14: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/14.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
14
GNP vs IDMaps
5-DimensionalEuclidean Space Model
![Page 15: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/15.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
15
Why the Difference?
• IDMaps tends to heavily over-predict short distances• Consider (measured 50ms)
– 22% of all paths in evaluation– IDMaps on average over-predicts by 150 %– GNP on average over-predicts by 30%
???
![Page 16: T. S. Eugene Ng eugeneng@cs.cmu.eduCarnegie Mellon University1 Towards Global Network Positioning T. S. Eugene Ng and Hui Zhang Department of Computer.](https://reader036.fdocuments.in/reader036/viewer/2022082917/55150660550346a87d8b45ee/html5/thumbnails/16.jpg)
T. S. Eugene Ng
[email protected] Carnegie Mellon University
16
Summary
• Network distance prediction is key to performance optimization in large-scale distributed systems
• GNP is scalable– End hosts carry out computations– O(K*D) communication overhead due to coordinates
• GNP is fast– Distance predictions are fast local computations
• GNP is accurate– Discover relative positions of end hosts