Long-Range Dependency Effects in Network Timekeeping: David L. Mills University of Delaware
Long-Range Dependency Effects in Network Timekeeping: David L. Mills University of Delaware
in Network Timekeeping
David L. Mills
University of Delaware
http://www.eecis.udel.edu/~mills
mailto:[email protected]
2-Aug-04 1
Sources of error in network timekeeping
2-Aug-04 2
Jitter witn a serial port hardware and driver
2-Aug-04 3
Jitter with a PPS signal and Digital Alpha 433
o Graph shows raw jitter of PPS timecode and parallel port due to
interrupt latencies.
• While not proven, the distribution looks very much like exponential.
• Standard deviation 51.3 ns
2-Aug-04 4
Jitter with a modem and ACTS service
2-Aug-04 5
Computing and filtering offset and delay samples
T2 Server T3
θ0
T1 Client T4
θ = 1 [( T 2 − T1 ) + (T 3 − T 4 )]
2
δ = ( T4 − T1 ) − (T 3 − T 2 )
2-Aug-04 6
Clock filter performance
4 4
3 3
2 2
Offset (ms)
Offset (ms)
1 1
0 0
−1 −1
−2 −2
−3 −3
−4 −4
0 5 10 15 20 0 5 10 15 20
Time (hr) Time (hr)
o Left figure shows raw time offsets measured for a typical path over a
24-hour period (mean error 724 µs, median error 192 µs)
o Right graph shows filtered time offsets over the same period (mean
error 192 µs, median error 112 µs).
o The mean error has been reduced by 11.5 dB; the median error by 18.3
dB. This is impressive performance.
2-Aug-04 7
Asymmetric path delays
o We like to think that the delays on the outbound and inbound network
paths are the same, or at least drawn from the same distribution.
o Such is not the case in several instances, one of which is shown in the
wedge scattergram on the next slide.
• The occasion arises with a slow PPP line while downloading a large file.
• The download direction utilization is essentially 100 percent, while the other
direction carries only ACKs and is only minimally utilized.
• The delay distribution on the download direction depends on the packet
length distribution, which is SRD.
• The delay distribution on the other direction depends on the network jitter,
which may or may not be LRD.
2-Aug-04 8
Huff&puff wedge scattergram
2-Aug-04 9
Raw roundtrip delay distribution function from survey
2-Aug-04 10
Self-similar distributions
2-Aug-04 11
Definition of self-similar distribution
o m→∞
A process is (exactly) self-similar with parameter H = 1 – β / 2 if, for all m = 1, 2,
…, var[X (m)] = σ2m – β and r(m)(k) = r(k) = 1 / 2 [(k + 1)2H – 2k2H + (k – 1)2H], k >
0, where r(m) represents the autocorrelation function of X (m).
2-Aug-04 12
Properties of self-similar distributions
2-Aug-04 13
Origins of self-similar processes
2-Aug-04 14
Simulation studies
m=1
k X1 X2 X3 X4 X5 X6 X7 X8 …
m=2
k (X1 + X2) / 2 (X3 + X4) / 2 (X5 + X6) / 2 (X7 + X8) / 2 …
2-Aug-04 15
Exponential distribution
2-Aug-04 16
Exponential distribution m = 1, 4, 16, 64 s
2-Aug-04 17
Exponential distribution variance-time plot
o Graph shows the variance from data averaged over specified intervals.
• One curve shows the data, the other shows SRD with H = 0.5.
• Both curves overlap almost everywhere, showing the distribution is SRD.
2-Aug-04 18
Random-walk distribution
2-Aug-04 19
Random-walk distribution m = 1, 16, 256 and 4096 s
2-Aug-04 20
Random-walk distribution variance-time plot
2-Aug-04 21
Filtered exponential distribution
2-Aug-04 22
Filtered exponential distribution m = 1, 16, 256 and 1024 s
2-Aug-04 23
Filtered exponential distribution variance-time plot
o Graph shows the variance from data averaged over specified intervals.
• The upper curve from data shows filtered exponential.
• The lower curve shows SRD with H = 0.5 for reference.
2-Aug-04 24
Experiment study – USNO data
2-Aug-04 25
USNO data wedge scattergram
2-Aug-04 27
USNO data delay variance-time plot
o Graph shows the variance from data averaged over specified intervals.
• The upper curve from data shows LRD with 0.5 < H < 1.
• The lower curve shows SRD with H = 0.5 for reference.
2-Aug-04 28
Data from Levine paper
2-Aug-04 29
Examples of self-similar traffic on a LAN
2-Aug-04 30
Variance-time plot
o This is a variance-time plot from the network traffic. The lower line is
for H = 0.5. Apparently, the network traffic has LRD 0.5 < H < 1.
2-Aug-04 31
R/S plot
o This is a S/R (poc) plot from the network traffic. This further confirms
the network traffic has LRD 0.5 < H < 1.
2-Aug-04 32
Periodogram (discrete Fourier transform) plot
2-Aug-04 33