available bandwidth measurement as simple as running wget d. antoniades, m. athanatos, a....
Post on 21-Dec-2015
213 views
TRANSCRIPT
![Page 1: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/1.jpg)
Available bandwidth measurement as simple as running wget
D. Antoniades, M. Athanatos, A. Papadogiannakis, P. MarkatosInstitute of Computer Science (ICS), Foundation for Research & Technology Hellas
(FORTH)
C. DovrolisCollege of Computing, Georgia Institute of Technology
Passive and Active Measurement Conference (PAM) 2006
Presented by Ryan
10 July 2006
![Page 2: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/2.jpg)
Outline
Introduction Background Measurement Methodology
Tool - abget Validation Measurement
![Page 3: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/3.jpg)
Introduction
End-to-end available bandwidth Routing and traffic engineering QoS management Overlay network
![Page 4: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/4.jpg)
Introduction
Existing tools and techniques e.g. pathload, IGI/PTR and Spruce Requiring access at both ends of the
measured path Based on UDP and ICMP protocols
![Page 5: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/5.jpg)
Introduction
New tool – abget Requiring access only at the receiving
host The sender can be any TCP-based server
Working with TCP packets Similar estimation methodology to
pathload
![Page 6: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/6.jpg)
Background
The term “available bandwidth” Several definitions
Link capacity Residual bandwidth Achievable bandwidth
![Page 7: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/7.jpg)
Background
Link capacity Maximum data rate a flow that can utilize
when there are no other traffic flows sharing the link
End-to-end capacity, C C = min{C1,C2,…CN}
Ci is the capacity of link i
![Page 8: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/8.jpg)
Background
Residual bandwidth Unutilized capacity of a path End-to-end available bandwidth, U
.
where is the unutilized capacity, Ci is the capacity and ui(t, t +τ) is the average link utilization (in normalized unit from 0 to 1) in the interval [t, t +τ) of the link i
Adopted in this paper (and pathload)
)],(1[),( ttuCttU iii
)},({min),( ...1 ttUttU iNi
![Page 9: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/9.jpg)
Background
Achievable bandwidth Throughput achievable by a TCP (or TCP-
friendly) flow in passing through a network path
End-to-end achievable bandwidth, A .
di(t,t+τ) – the amount of data received in the interval [t, t+τ) by the receiver from sender i
Adopted in our research work (many-to-one data flow analysis)
N
ii ttdttA
1
),(1
),(
![Page 10: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/10.jpg)
Background
pathload – the basic idea Self-Loading Periodic Streams (SLoPS)
A periodic stream consists of K packets sent to the path at a constant rate R
If R > A (available bandwidth), the one-way delay (OWD) of successive packets at the receiver show an increasing trend
M. Jain and C. Dovrolis, “End-to-End Available Bandwidth: Measurement Methodology, Dynamics, and Relation with TCP Throughput,” IEEE/ACM Transactions on Networking, 11(4):537-549, Aug. 2003.
![Page 11: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/11.jpg)
Background
Detection of an increasing OWD trend Partition measured (relative) OWDs = D1, D2,
…,DK into Г= groups of Г consecutive OWDs
Compute the median OWD of each group More robust to outliers and errors
Pairwise Comparison Test (PCT)
,
An increasing trend if SPCT > 0.55
K
kD̂
1
)ˆˆ(2
1
k
kk
PCT
DDIS
0
1)(XI
if X holds
otherwise
![Page 12: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/12.jpg)
Measurement Methodology
Iterative algorithm similar to SLoPS in pathload pathload – the sender transmits periodic
UDP packet streams at a certain rate abget – TCP-based server sends packets
based on TCP’s flow control and congestion control How to send packet streams at a certain
rate?
![Page 13: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/13.jpg)
Measurement Methodology
The basic idea A limited advertised window, “fake” ACKs Receiver – acknowledges only one MMS
with each ACK and advertises a window of only one MSS
Sender – is forced to send one MMS upon receiving each ACK
![Page 14: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/14.jpg)
Measurement Methodology
To achieve a certain rate R, the “fake” ACKs should be generated periodically with a period T = MSS/R Assumption: ACKs arrived at the sender
periodically
![Page 15: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/15.jpg)
Measurement Methodology
Validation
![Page 16: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/16.jpg)
Measurement Methodology
One-Way Delay (OWD) Estimate from the interarrivals of the received
packets s(i) – the time that the sender transmitted the ith packet r(i) – the time that the receiver got the ith packet o – the clock offset between the two hosts t(i) – the interarrival time between packets i and i-1 at the
receiver d(i) – the OWD of packet i T – the (assumed) constant interarrival time between
packets i and i-1 at the sender
![Page 17: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/17.jpg)
Measurement Methodology
OWD Estimation s(i) = s(i-1) + T r(i) = s(i) + d(i) + o t(i) = r(i) – r(i-1)
d(i) = r(i) – s(i) – o = d(i-1) + t(i) - T
![Page 18: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/18.jpg)
Tool – abget
abget, using an iterative algorithm User specifies
Probing range, [Rmin, Rmax] Estimation resolution, w Stream length parameter, K Number of streams per probing rate, N
Probing starts at rate Rmin, gradually increasing the rate in increments of w until Rmax
![Page 19: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/19.jpg)
Tool – abget
In each iteration Connect to the remote server (web server)
and initiates a download operation Start sending K “fake” ACKs (with a period
corresponds to the desired probing rate) Estimate the OWDs and compute the SPCT
(same as pathload) Repeat the previous process N times
![Page 20: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/20.jpg)
Tool – abget
If more than N/2 of the streams are increasing (non-increasing), the corresponding probing rate is higher (lower) than the available bandwidth
![Page 21: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/21.jpg)
Tool – abget
abget reports a variation range [low_bound, high_bound] Low_bound – max probing rate that was
estimated as lower than the available bandwidth
High_bound – min probing rate that was estimated as higher than the available bandwidth
![Page 22: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/22.jpg)
Validation
Parameters Setting N = 5 K = 50 w = 5Mbps Rmin = 0Mbps
Rmax = 100Mbps
Ti = 500ms
Measurement Duration ~ 50s
![Page 23: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/23.jpg)
Validation
In local testbed Cross Traffic
Constant-rate UDP traffic Realistic traffic trace
Web Server
Cross Traffic Source
Cross Traffic Sink
abget Client
Capacity ~ 97Mbps
![Page 24: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/24.jpg)
Validation
Constant rate UDP traffic Realistic traffic trace
![Page 25: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/25.jpg)
Validation
In the monitored network path
![Page 26: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/26.jpg)
Validation
From www.nytimes.com to UoC client From UoC server to Georgia Tech client
![Page 27: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/27.jpg)
Validation
Robustness to reverse path traffic Forward path – LD ~ 1500B
Reverse path – LA ~ 40B
The ratio LD/LA ~ 40 Few paths have such a high degree of
available bandwidth asymmetry?
![Page 28: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/28.jpg)
Measurement
Measurement in the Internet Client hosts
The University of Crete (UoC), Greece The Georgia Institute of Technology, USA
Web servers www.nero.com (in Germany) www.chez.com (in France)
Measurement is performed every 10 minutes during a 24-hour period
![Page 29: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/29.jpg)
Measurement
![Page 30: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/30.jpg)
Conclusion
Available bandwidth measurement tool – abget Single-end TCP Similar to Pathload
Validations and Measurements in different network paths
![Page 31: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/31.jpg)
![Page 32: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/32.jpg)
Duration and Overhead
Trade-offs between measurement duration, overhead and accuracy Parameters
K – stream length N – number of streams w – estimation resolution Ti – idle time between streams
[Rmin, Rmax] – probing range
![Page 33: Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),](https://reader030.vdocument.in/reader030/viewer/2022032801/56649d555503460f94a31ed9/html5/thumbnails/33.jpg)
Duration and Overhead
Measurement Duration
Measurement Overhead (in term of rate)
)(1minmaxi
avg
TR
MSSKN
w
RR
iavg TRMSSK
MSSK
/)(
2/)( minmax RRRavg
idle time between streams
No. of streams per each probing rateNo. of probing rate
K packets transmission time