Methodologies for
Networking Research
2 October 2009
CS5229, Semester 1, 2009/10
1
Measurement"
J. Padhye, V. Firoiu, D. Towesley, and J. Kurose
"Modeling TCP Throughput: A Simple Model and its
Empirical Validation,”
2 October 2009
CS5229, Semester 1, 2009/10
2
“Reality Check”
Are our assumptions reasonable? Is our
mathematical model a good estimation of the
real world?
2 October 2009
CS5229, Semester 1, 2009/10
3
2 October 2009
CS5229, Semester 1, 2009/10
5
2 October 2009
CS5229, Semester 1, 2009/10
6
Experimentation"
e.g., V. Jacobson. “Congestion Control and
Avoidance"
2 October 2009
CS5229, Semester 1, 2009/10
7
Deal with implementation
issues
Sometimes unforeseen complexities (e.g. own
research experience in Unreliable TCP)
2 October 2009
CS5229, Semester 1, 2009/10
8
Understand the
Behavior of Systems
Some systems are too complex to understand
with “thought experiments” alone.
2 October 2009
CS5229, Semester 1, 2009/10
9
2 October 2009
CS5229, Semester 1, 2009/10
10
2 October 2009
CS5229, Semester 1, 2009/10
11
Analysis"
D. Chiu and R. Jain, "Analysis of the increase and
decrease algorithms for congestion avoidance in
computer networks,”"
J. Padhye, V. Firoiu, D. Towesley, and J. Kurose
"Modeling TCP Throughput: A Simple Model and its
Empirical Validation,”
2 October 2009
CS5229, Semester 1, 2009/10
12
Explore with Complete
Control
We can understand the basic forces that affect
the system. e.g. TCP throughput is inversely
propotional to √p
2 October 2009
CS5229, Semester 1, 2009/10
13
Simplify complex
systems
But, if too simplified, important behavior could
be missed (TCP throughput without timeout)
2 October 2009
CS5229, Semester 1, 2009/10
14
Simulation"
K. Fall and S. Floyd, "Simulation-based
comparison of Tahoe, Reno, and SACK TCP,""
S. Floyd, V. Jacobson, "Random Early Detection
Gateways for Congestion Avoidance,"
2 October 2009
CS5229, Semester 1, 2009/10
15
Check Correctness of
Analysis
If a simulation uses the same assumptions/model
as the analysis, this simply verifies the
correctness of the mathematical derivations.
2 October 2009
CS5229, Semester 1, 2009/10
16
Check Correctness of
Analysis
Simulation can relax some assumptions, use more
complex models, etc. to test the limits of analysis.
(Real measurement/experiments still needed to
check the usefulness of analysis results)
2 October 2009
CS5229, Semester 1, 2009/10
17
Explore Complex
Systems
Some systems are too difficult/impossible to
analyzed (e.g. Internet)
2 October 2009
CS5229, Semester 1, 2009/10
18
2.!
Internet is huge
2 October 2009
CS5229, Semester 1, 2009/10
28
570,937,778
Number of Hosts as of July 2008
http://www.isc.org/index.pl?/ops/ds/host-count-history.php
2 October 2009
CS5229, Semester 1, 2009/10
29
681,064,561
Number of Hosts as of July 2009
https://www.isc.org/solutions/survey/history
2 October 2009
CS5229, Semester 1, 2009/10
30
3.!
Internet is changing
2 October 2009
CS5229, Semester 1, 2009/10
31
http://www.isc.org/ds/
2 October 2009
CS5229, Semester 1, 2009/10
32
2 October 2009
CS5229, Semester 1, 2009/10
33
http://www.dtc.umn.edu/mints/
Why is Internet hard to
simulate?"
1. Heterogeneous "
2. Huge "
3. Changing
2 October 2009
CS5229, Semester 1, 2009/10
35
What Internet topology
should you use in your
simulation?
How are end hosts connected? What are the
properties of the links?
2 October 2009
CS5229, Semester 1, 2009/10
38
Topology changes constantly"
Companies keep info secrets"
Routes may change"
Routes may be asymmetric
2 October 2009
CS5229, Semester 1, 2009/10
39
You will need to simulate over
a wide range of connectivity
and link properties
2 October 2009
CS5229, Semester 1, 2009/10
40
Which TCP version to
use?
2 October 2009
CS5229, Semester 1, 2009/10
43
Using “fingerprinting”,
831 different TCP
implementations and
versions are identified.
2 October 2009
CS5229, Semester 1, 2009/10
44
Which to use? "
Which to ignore?
2 October 2009
CS5229, Semester 1, 2009/10
45
What applications to run? "
What type of traffic to generate?"
Telnet? FTP? Web? BitTorrent?
Skype?
2 October 2009
CS5229, Semester 1, 2009/10
46
How congested should
the network be?
2 October 2009
CS5229, Semester 1, 2009/10
47
How congested should
the network be?
2 October 2009
CS5229, Semester 1, 2009/10
48
Example from Sally Floyd:
RED vs DropTail
2 October 2009
CS5229, Semester 1, 2009/10
49
2 October 2009
CS5229, Semester 1, 2009/10
50
2 October 2009
CS5229, Semester 1, 2009/10
51
Example from Sally Floyd:
TFRC for VoIP
2 October 2009
CS5229, Semester 1, 2009/10
52
2 October 2009
CS5229, Semester 1, 2009/10
53
2 October 2009
CS5229, Semester 1, 2009/10
54
We can focus our
simulation on dominant
technology/application
today..
2 October 2009
CS5229, Semester 1, 2009/10
55
TCP: NewReno SACKS"
OS: Windows Linux"
Applications: Web, FTP
2 October 2009
CS5229, Semester 1, 2009/10
56
What about tomorrow?
2 October 2009
CS5229, Semester 1, 2009/10
57
5. Heavy Tail
Distributions
2 October 2009
CS5229, Semester 1, 2009/10
73
Self-Similarity in World Wide Web Traffic: Evidence and Possible
Causes, by Mark E. Crovella and Azer Bestavros
2 October 2009
CS5229, Semester 1, 2009/10
74
1. Looking for
Invariants
2 October 2009
CS5229, Semester 1, 2009/10
75
2. Explore Parameter
Space
2 October 2009
CS5229, Semester 1, 2009/10
76
Change one parameter,"
fix the rest
2 October 2009
CS5229, Semester 1, 2009/10
77
Explore a wide range of values
2 October 2009
CS5229, Semester 1, 2009/10
78
3. Use Traces
2 October 2009
CS5229, Semester 1, 2009/10
79
e.g. collects traces of web
sessions, video files, VoIP traffic
2 October 2009
CS5229, Semester 1, 2009/10
80
Use it to simulate the traffic
source
2 October 2009
CS5229, Semester 1, 2009/10
81
But must be careful about traffic
shaping and user/application
adaptation.
2 October 2009
CS5229, Semester 1, 2009/10
82
e.g. traces collected during non-
congested time should not be use to
simulate congested networks.
2 October 2009
CS5229, Semester 1, 2009/10
83
4. publish simulator script for
others to verify
2 October 2009
CS5229, Semester 1, 2009/10
84
Conclusion
2 October 2009
CS5229, Semester 1, 2009/10
85
Simulation is useful but needs to
do it properly
2 October 2009
CS5229, Semester 1, 2009/10
86
Be careful about your simulation
model: you want it to be as simple
as possible, but not simpler.
2 October 2009
CS5229, Semester 1, 2009/10
87
Be careful about your conclusion:
“A is 13.5% better than B” is
probably useless.
2 October 2009
CS5229, Semester 1, 2009/10
88
“A is 13.5% better than B under
these environment”"
is better but not general
2 October 2009
CS5229, Semester 1, 2009/10
89
Not really for quantitative results,
but more for
2 October 2009
CS5229, Semester 1, 2009/10
90
understanding the dynamics,"
illustrate a point,"
explore unexpected behavior.
2 October 2009
CS5229, Semester 1, 2009/10
91
0 comments
Post a comment