Professional Documents
Culture Documents
Tomography
Tomography
CS 552
Richard Martin
Performance
Diagnosis
Security.
R. Castro, et al.
Measurement Strategy
Send stream of UDP packets (probes) to a
target at regular intervals (every ms)
Target host echos packets to source
Size of the packet is constant (32 bytes)
Vary (8,20,50, 100,200, 500 ms)
Measure Round Trip Time (RTT) of each
packet.
Definitions
MinRTT:140ms
MeanRTT:?
Lossrate:9%
RTTn(ms)
QuickTime and a
TIFF (LZW) decompressor
are needed to see this picture.
n(packet#)
RTTn+1
RTTn
ViewdifferencebetweenRTTs,nottheRTTitself
Structureofphaseplottellsus:bandwidthofbottleneck!
Simple Model
Fixeddelay
Probe
Traffic
rttn=D+wn+p/
Variabledelay
FIFOqueue
OtherInternet
traffic
:bottleneckroutersservicerate
k:buffersize
p:sizeoftheprobepacket(bits)
wn:waitingtimeforprobepacketn
wn+1 = wn
rttn+1 = rttn
For small p, approximate wn = 0
RTTn+1(ms)
n=800
=50ms
corner
(D,D)
D=140ms
QuickTime and a
TIFF (LZW) decompressor
are needed to see this picture.
RTTn(ms)
Probecompressioneffect
Burst
Pn
rttn+1=rttn+B/
rttn+2rttn+1=(rn+2sn+2)(rn+1sn+1)
=(rn+2rn+1)(sn+2sn+1)
=p/
Timebetween
compressedprobes
Timebetween
probesends
Rewrite:
rttn+1=rttn+(p/
General form:
y=x+(p/
Findintercept.
Knowp,,can
compute!
QuickTime and a
TIFF (LZW) decompressor
are needed to see this picture.
y=x+(p/
arrivals
departures
xn
wn
n+1
time
n1
yn
wn+1
wn+1=prev.packetwait+serviceoverlap
wn+1=wn+ynxn,ifwn+y nxn>0
Apply recurrence:
wn+1=wn+(p+bn)/
Note:assumewn+(p+bn)/>0,then
bn=wn+1wn+p
Distribution plot
1stpeakwn+1wn=p/
2nd:wn+1=wn
3rd:bn=wn+1wn+p
QuickTime and a
TIFF (LZW) decompressor
are needed to see this picture.
know,,p
solveforbn
distributionofwn+1wn+ms
Inter-arrival times
A packet arrived in a slot if:
wn+1wn>p/
Choose a small
Avoid false positives
Count a packet arrival if:
wn+1wn>0
Fittedtop(1p)k1,
p=0.37
QuickTime and a
TIFF (LZW) decompressor
are needed to see this picture.
slot
Packet loss
What is unconditional likelihood of loss?
ulp = P(rttn=0)
Loss probabilities
(ms)
20
50
100
200
500
ulp
0.23
0.16
0.1
0.12
0.11
0.09
clp
0.6
0.42
0.27
0.18
0.18
0.09
plg
2.5
1.7
1.3
1.2
1.2
1.1
Tomography Overview
Basic idea
Methods
Formal analysis
Future directions
QuickTime and a
TIFF (LZW) decompressor
are needed to see this picture.
Destinationnodes
Problem Set-up
Y
QuickTime and a
TIFF (LZW) decompressor
are needed to see this picture.
Endobserveddelay
Routingmatrix
Linkdelays
Introduction
Performance optimization of high-end applications
Spatially localized information about network
performance
Two gathering approaches:
Internal: impractical(CPU load, scalability,
administration)
External: network tomography
Contributions
A novel measurement scheme based on
special-purpose unicast sandwich probes
Only delay differences are measured, clock
synchronization is not required
1
2
35
1
2
35
1
2
34
find the true topology tree T* out of the possible trees (forest) F
based on x
Tradeoff between fitting the data and controlling the number of links in the tree
=
x
can be
Posterior density
used as a guide for searching F.
Posterior density is peaked near highly likely trees, so
stochastic search focuses the exploration
Birth Step
A new node l* is added extra parameter l*
The dimension of the model is increased
Transformation (non-deterministic)
l* = r x min(c(l,1), c(l,2))
c(l,1) = c(l,1) l*
c(l,2) = c(l,2) - l*
Death Step
A node l* is deleted
The dimension of the model is reduced by 1
Transformation (deterministic)
c(l,1) = c(l,1) + l*
c(l,2) = c(l,2) + l*
step
Choose a link l and change the value of l
New value of l is drawn from the conditional
posterior distribution
The Algorithm
Choose a starting state s0
Propose a move to another state s1
Probability =
Repeat these two steps and evaluate the loglikelihood of each encountered tree
Why restart?
Penalty parameter
Penalty = 1/2log2N
N: number of receivers
Simulation Experiments
Compare the performance of DBT(Deterministic
Binary Tree) and MPLT
Penalty = 0 (both will produce binary trees)
50 probes for each pair in one experiment, 1000
independent experiments
When the variability of the delay difference
measurements differ on different links, MPLT
performs better than DBT
Maximum Likelihood criteria can provide significantly
better identification results than DBT
ns Experiment
Topology used for the experiment
Experiment Results
Internet Experiment
Experiment Result
Estimated topology
Future work
Extra Credit
Log into planetLab nodes