Problems with Simulation of TCPIP Networks - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

Problems with Simulation of TCPIP Networks

Description:

theory to work out. how long the time. between congestion. periods is. ... Simulating TCP/IP communication systems with an arbitrary configuration of ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 22
Provided by: cubinlabE
Category:

less

Transcript and Presenter's Notes

Title: Problems with Simulation of TCPIP Networks


1
Problems with Simulation of TCP/IP Networks
  • Ron Addie,
  • Zhi Li,
  • University of Southern Queensland

2
Models of TCP/IP Traffic
  • Poisson arrivals of flows/bursts
  • Flows/bursts heavy tailed in size
  • Flow delivery process determined by the network.

3
Problems
  • Duration of simulation
  • How long should a simulation be?
  • Initialization of simulation
  • How long should the warm-up period be?
  • Can we use Importance Sampling/Splitting to solve
    these problems?

4
How Long?
  • Congestion lasts a long time (because of
    long-range dependence)
  • Therefore, the time between congestion periods is
    even longer (to keep the average congestion down).

5
Correction Idle Times are short.
  • The time to the next busy period in an M/Pareto
    queue is neg-exp distributed.
  • Many short busy periods, and some very long ones.
  • But, the time between long busy periods is very
    long.

6
Intervals Between CongestionAlternative Method
  • Since the average utilization must sum to ???Let
    ? be the av. length of a congestion interval and
    N the length of a non-congested interval. ThenN
    ??????????????) x ?????????
  • Where ? is the proportion of bytes in
    congestion intervals.

7
Simplified Case
  • Consider a single link.
  • All traffic streams will experience congestion in
    this link.
  • (In reality, only some streams are limited in
    this link).

E.g. 1 Mbit/s
8
How Long?
  • In the simplest instance (one link only,
    end-to-end), congestion will be like the busy
    period in a M/Pareto/1 queue.
  • So, congestion has a heavier tail than the queue
    distribution, which is heavy-tailed Veitch et
    al.
  • Tacacs formula for the Busy period can be used
    also to estimate the busy period distribution and
    its tail properties. This provides numerical LT,
    which can be inverted.

9
Takacs Formula for the Busy Period
  • B(s) P(s?(1-B(s))
  • This formula gives
  • Mean busy period ??????????
  • Tail shape ?
  • Tail weight ????????????????? roughly
  • Infinite variance

10
Busy Period Distribut-ion
These distributions were calculated by numerical
LT inversion
  • The busy period distn is similar to the flow
    distn, but heavier.

11
How Long is ? ?
  • ? 90 of all packets are in busy periods
    shorter than ?.
  • We need the length-weighted dist of busy periods.

12
How long is ? ?
13
Start in a Busy State?
  • Why not start the simulation loaded with
    pre-existing flows?
  • Problem there is no formula for the statistics
    of sampled flows.
  • Simulation is required to find out what these
    flows would typically look like!

14
Simulations also get slower
  • To make matters worse, when heavy tailed flow
    length's are simulated, congestion continues to
    build for a long time.
  • So the simulation get's slower and slower the
    longer it goes.

15
Measurements
  • You might be thinking that simulation must work,
    because its just like the real thing, and we do
    measurements of real networks!
  • Actually, measurements suffer from the same
    problem.
  • Naïve measurements (e.g. of congestion) will be
    very inaccurate.

16
Solutions
  • Importance Sampling
  • Half mathematical model / half simulation
  • Requires better initialization OR
  • Importance sampling which approaches a stationary
    state.

17
Importance Sampling Paradox
  • Importance sampling is faster by reaching
    interesting states more quickly.
  • So, surely, estimates of duration must all be
    biased?
  • Not necessarily such direct time estimates might
    just be inaccurate.

18
More Problems
  • Importance Sampling is not an easy solution
    because
  • We need to work out the optimal distortion for
    this model not obvious
  • The real system really does evolve slowly

19
Does it matter?
  • Not necessarily. We could just invent scenarios,
    or choose them from observed systems.
  • However, there is a risk.
  • We do need to understand what situations occur,
    and how frequently.

For some problems, it matters!
20
Ideal Solution
  • Pure simulation is best, so we can check the
    mathematics
  • How
  • Simulate low congestion periods very quickly (and
    inaccurately).
  • Simulate in parallel (this effectively shortens
    the idle periods).
  • Genetically select better simulations.

21
Conclusions
  • Simulating TCP/IP communication systems with an
    arbitrary configuration of traffic is currently
    the best we can do.
  • However, we should also conduct simulations based
    on stationary models of TCP/IP traffic.

Next step simulate the // simulations.
Write a Comment
User Comments (0)
About PowerShow.com