Title: Parameter Estimation and Performance Analysis of Several Network Applications
1Parameter Estimation and Performance Analysis of
Several Network Applications
- Sara Alouf
- Ph.D. defense - November 8, 2002
Advisor Philippe Nain
2Thesis topics
- Adaptive unicast applications
- Background network does not offer guarantee
- Objective estimate network internal state
- Large audience multicast applications
- Background need for membership estimates
- Objective efficiently track membership
- Mobile code applications
- Background existence of several mechanisms for
objects communication - Objective determine fastest among two of them
3Thesis topics
- Adaptive unicast applications
- Background network does not offer guarantee
- Objective estimate network internal state
- Challenges
- efficient congestion control, good QoS
- Two distinct approaches
- adding intelligence to network
- adding intelligence to applications
- acquire some knowledge on network
- change application policy accordingly
4Adaptive unicast applications
Poisson probes ?
Application
Sink
data packets
- Methodology
- source probes network
- having feedback from destination, source measures
some performance metrics (e.g. loss probability,
end-to-end delay, conditional loss probability,
etc.)
- given model for connection, metrics are expressed
in terms of network internal state - given performance metrics, source infers network
internal state
5Adaptive unicast applications
- Main contributions
- Detailed analysis of the MM/M/1/K queue
(expressions for 5 metrics of interest, including
loss-related conditional probabilities) - New analysis of the MM/D/1/K queue (explicit
information on stationary distribution
expressions for 3 metrics of interest) - Identification of best way of inferring network
internal characteristics - use loss rate and network response time
- given by MM/M/1/K queue model
6Thesis topics
- Adaptive unicast applications
- Background network does not offer guarantee
- Objective estimate network internal state
- Large audience multicast applications
- Background need for membership estimates
- Objective efficiently track membership
- Mobile code applications
- Background existence of several mechanisms for
objects communication - Objective determine fastest among two of them
7Large audience multicast applications
- Motivation - Objective
- Kalman filter
- Wiener filter
- Least square estimation
- Extension
8Large audience multicast applications
- Motivation - Objective
- Kalman filter
- Wiener filter
- Least square estimation
- Extension
9Motivation
- Interesting multicast applications (distance
learning, video-conferences, events, radios,
televisions (?), live sports(?), etc.) - Membership is required for
- feedback suppression (RTP, SRM)
- tuning amount of FEC packets for reliability
- pricing
- stopping transmission when no more receivers
- and especially for radios and future TVs, to
- adapt transmission content, advertise, ...
10Previous work
- Need for unbiased estimator that efficiently
uses previous estimates
11Methodology
- Source
- periodically requests from receivers to send ACK
with probability p every S seconds - Receivers
- each S seconds, send ACK to source with prob. p
- Source
- stores Yn number of ACKs received at time nS
- Objective use noisy observation Yn to
estimate membership Nn N(nS)
12Naive estimation
- Drawbacks
- very noisy (s.l.l.n. lim N ? ? Y/N p)
- no profit from correlation (no use of previous
estimate)
13Naive estimation p 0.01
14Naive estimation p 0.50
15EWMA estimation
- Advantages
- use of previous estimate
- no a priori information needed
- Drawbacks
- what value for a ?
- estimator does not depend on ACK interval S
16EWMA estimation
17- Objective
- Use optimal filtering techniques to find estimator
18Notation
- Ti join time of participant i
- TiDi leave time of participant i
- N(t) number of participants at time t
- Occupation process in the G/G/? queue
- not much is known about it
19Large audience multicast applications
- Motivation - Objective
- Kalman filter
- Wiener filter
- Least square estimation
- Extension
20M/M/? model - heavy traffic case
21Optimal estimation - Kalman filter
- Ornstein-Ühlenbeck process in discrete time
wn are white noise with variance Q r(1-g2)
22Optimal estimation - Kalman filter
- Number of ACKs at step n Yn
- Define normalized measurement
ZT(nS)
VT(n)
vn are white noise with variance R rp(1-p)
23Optimal estimation - Kalman filter
- Stationary version
- Optimal filter ? minimal mean-square error
System dynamics ?n1 ? ?n wn Measurement
mn p?n vn wn and vn white
noise variances Q and R
actualization
prediction
24Optimal estimation - Kalman filter
25To summarize
Kalman filter
26Simulations
- Objective validate model
- Assumptions made in theory
- Poisson arrivals
- Exponential on-times
- Heavy-traffic regime
- Simulations
- 2 regimes investigated light load/heavy-load
- 2 distributions Exponential/Pareto
- ? 8 different scenarios simulated
27(No Transcript)
28Validation with real traces
- Objective further validate model
- Robustness to real distributions?
- Independence-related assumptions are violated
Distribution of traces investigated
29Membership in real traces vs. time
30- Objective
- Find optimal estimator under more general
assumptions
31Large audience multicast applications
- Motivation - Objective
- Kalman filter
- Wiener filter
- Least square estimation
- Extension
32M/G/? model
33Optimal estimation - Wiener filter
Optimal linear filter ? minimal mean-square error
34Optimal estimation - Wiener filter
Introduce
We have
35Application to M/M/? model
36Application to M/M/? model
Non-centered processes
37Kalman filter vs. Wiener filter
- Estimators are the same!
- But
- Kalman filter ? M/M/? queue, heavy traffic
- Wiener filter ? M/M/? queue
- we relaxed one assumption
38Large audience multicast applications
- Motivation - Objective
- Kalman filter
- Wiener filter
- Least square estimation
- Extension
39Optimal first-order linear filter
40Optimal first-order linear filter
41Validation with real traces
42Distribution of inter-arrivals and on-times
- Almeroth Ammar
- inter-arrivals are exponentially distributed
- on-time distribution
- Short sessions (1-2 days) ? exponential
- Long sessions ? Zipf
43(No Transcript)
44(No Transcript)
45(No Transcript)
46(No Transcript)
47Mean Variance of the error
theoretical
empirical
48And the winner is
- Advantages
- optimal for M/M/? queue
- efficient over real traces
- only two parameters required
- Drawbacks
- a priori knowledge needed
49Large audience multicast applications
- Motivation - Objective
- Kalman filter
- Wiener filter
- Least square estimation
- Extension
50Extension
51(No Transcript)
52Large audience multicast applications
- Main contributions
- Proposition of several unbiased estimators that
efficiently track membership - Validation through simulated and real traces
- Identification of best estimator among those
proposed - Proposition of estimators for a priori parameters
53Thesis topics
- Adaptive unicast applications
- Background network does not offer guarantee
- Objective estimate network internal state
- Large audience multicast applications
- Background need for membership estimates
- Objective efficiently track membership
- Mobile code applications
- Background existence of several mechanisms for
objects communication - Objective determine fastest among two of them
54Mobile code applications
- Code mobility paradigm
- Forwarders mechanism
- Centralized mechanism
- Simulations experiments
- Contributions
55Code mobility paradigm
- Definition
- components of application might change host
(migrate) during execution - Utility
- load balancing
- data mining (data available on different hosts)
- e-commerce (find the cheapest airline fare)
- Issue
- ensure communications with mobile objects
56Code mobility paradigm
- Two widely used solutions
- distributed approach (use forwarders)
- centralized approach (use server)
- Objective identify best approach in terms
of response time
57Forwarders mechanism description
S Source O mobile Object F
Forwarder reference
58Forwarders mechanism description
S Source O mobile Object F
Forwarder reference
Migrating
Migrating
59Forwarders mechanism description
S Source O mobile Object F
Forwarder reference
Update
O
60Forwarders mechanism description
S Source O mobile Object F
Forwarder reference
F
O
Subsequent messages use new reference
61Centralized mechanism description
S Source O mobile Object reference
62Centralized mechanism description
S Source O mobile Object reference
63Centralized mechanism description
S Source O mobile Object reference
64Centralized mechanism description
S Source O mobile Object reference
65Centralized mechanism the server
- may need to send Reply after processing request
from Source
?
?
66Mobile code applications
- Forwarders mechanism
- infinite state-space Markov chain
- expression for expected response time TF
- expression for expected number of forwarders
- Centralized mechanism
- finite state-space Markov chain
- expression for expected response time TS
- Models validated through simulations and
experiments (LAN MAN)
67Forwarder LAN (100 Mb/s)
Mean response time (ms) vs. communication rate
? migration rate
? 10
? 5
? 1
1 2 3 4 5 6 7 8
9 10 11
68Server LAN (100Mb/s)
Mean response time (ms) vs. communication rate
? 10
? 5
? 1
1 2 3 4 5 6 7 8
9 10 11
69Forwarder MAN (7Mb/s)
Mean response time (ms) vs. communication rate
? 10
? 5
? 1
1 2 3 4 5 6 7 8
9 10 11
70Server MAN (7Mb/s)
Mean response time (ms) vs. communication rate
? 10
? 5
? 1
1 2 3 4 5 6 7
8 9 10 11
71- Overall performance is fair
- models can safely be
- used for performance evaluation
72Mobile code applications
- Main contributions
- Proposition of Markovian models for two
communication mechanisms - Validation through simulations and experiments
(LAN MAN) - Theoretical comparison
- prediction of fastest mechanism in general
73Conclusion
- General methodology
- Propose mathematical models for system at hand
- Derive metrics of interest or estimators under
models assumptions - Validate models via simulations and/or
experiments - Simple tools applicable over wide range of
applications
74Conclusion
- Optimal filtering techniques
- estimation of RTT in TCP protocol
- estimation of average queue size in RED routers
-
- Performance analysis tools
- very useful in design of mobile code applications
(high cost of implementation) - protocol evaluation
75Thank you!