Georgia Institute of Technology

Slides:



Advertisements
Similar presentations
Balaji Prabhakar Active queue management and bandwidth partitioning algorithms Balaji Prabhakar Departments of EE and CS Stanford University
Advertisements

Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Helping TCP Work at Gbps Cheng Jin the FAST project at Caltech
Internet Measurement Conference 2003 Source-Level IP Packet Bursts: Causes and Effects Hao Jiang Constantinos Dovrolis (hjiang,
Edge-based Network Modeling and Inference
TCP Probe: A TCP with Built-in Path Capacity Estimation Anders Persson, Cesar Marcondes, Ling-Jyh Chen, Li Lao, M. Y. Sanadidi, Mario Gerla Computer Science.
Ningning HuCarnegie Mellon University1 Towards Tunable Measurement Techniques for Available Bandwidth Ningning Hu, Peter Steenkiste Carnegie Mellon University.
Available Bandwidth Estimation Manish Jain Networking and Telecom Group CoC, Georgia Tech.
pathChirp Efficient Available Bandwidth Estimation
Min-Plus Linear Systems Theory and Bandwidth Estimation Min-Plus Linear Systems Theory and Bandwidth Estimation TexPoint fonts used in EMF. Read the TexPoint.
RED-PD: RED with Preferential Dropping Ratul Mahajan Sally Floyd David Wetherall.
Bandwidth Estimation Workshop 2003 Evaluating pathrate and pathload with realistic cross-traffic Ravi Prasad Manish Jain Constantinos Dovrolis (ravi, jain,
A Measurement Study of Available Bandwidth Estimation Tools MIT - CSAIL with Jacob Strauss & Frans Kaashoek Dina Katabi.
Pathload A measurement tool for end-to-end available bandwidth Manish Jain, Univ-Delaware Constantinos Dovrolis, Univ-Delaware Sigcomm 02.
AdHoc Probe: Path Capacity Probing in Wireless Ad Hoc Networks Ling-Jyh Chen, Tony Sun, Guang Yang, M.Y. Sanadidi, Mario Gerla Computer Science Department,
What do packet dispersion techniques measure? Internet Systems and Technologies - Monitoring.
Path Optimization in Computer Networks Roman Ciloci.
End-to-End Available Bandwidth: Measurement Methodology, Dynamics, and Relation with TCP Throughput Manish Jain Constantinos Dovrolis SIGCOMM 2002 Presented.
End-to-end Asymmetric Link Capacity Estimation Ling-Jyh Chen, Tony Sun, Guang Yang, M.Y. Sanadidi, Mario Gerla Dept. of Computer Science, University of.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
CapProbe: A Simple and Accurate Capacity Estimation Technique Kapoor et al., SIGCOMM ‘04.
Bandwidth Measurement of Pakistan’s Internet Topology.
Congestion Control Tanenbaum 5.3, /12/2015Congestion Control (A Loss Based Technique: TCP)2 What? Why? Congestion occurs when –there is no reservation.
Internet Traffic Patterns Learning outcomes –Be aware of how information is transmitted on the Internet –Understand the concept of Internet traffic –Identify.
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
Available bandwidth measurement as simple as running wget D. Antoniades, M. Athanatos, A. Papadogiannakis, P. Markatos Institute of Computer Science (ICS),
Estimating Available Bandwidth with pathload and abget Professor Nelson Fonseca
WBest: a Bandwidth Estimation Tool for IEEE Wireless Networks Presented by Feng Li Mingzhe Li, Mark Claypool, and.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
AdHoc Probe: Path Capacity Probing in Wireless Ad Hoc Networks Ling-Jyh Chen, Tony Sun, Guang Yang, M.Y. Sanadidi, Mario Gerla Computer Science Department,
Bandwidth Measurements Jeng Lung WebTP Meeting 10/25/99.
Inline Path Characteristic Estimation to Improve TCP Performance in High Bandwidth-Delay Networks HIDEyuki Shimonishi Takayuki Hama Tutomu Murase Cesar.
CapProbe: An Efficient and Accurate Capacity Estimation Technique Rohit Kapoor**, Ling-Jyh Chen*, Li Lao*, M.Y. Sanadidi*, Mario Gerla* ** Qualcomm Corp.
Bandwidth Estimation: Metrics Mesurement Techniques and Tools By Ravi Prasad, Constantinos Dovrolis, Margaret Murray and Kc Claffy IEEE Network, Nov/Dec.
End-to-End Estimation of Available Bandwidth Variation Range Constantine Dovrolis Joint work with Manish Jain & Ravi Prasad College of Computing Georgia.
A Machine Learning-based Approach for Estimating Available Bandwidth Ling-Jyh Chen 1, Cheng-Fu Chou 2 and Bo-Chun Wang 2 1 Academia Sinica 2 National Taiwan.
Alok Shriram and Jasleen Kaur Presented by Moonyoung Chung Empirical Evaluation of Techniques for Measuring Available Bandwidth.
TCP Enhancement for Random Loss Jiang Wu Computer Science Lakehead University.
Estimating Link Capacity in High Speed Networks Ling-Jyh Chen 1, Tony Sun 2, Li Lao 2, Guang Yang 2, M.Y. Sanadidi 2, Mario Gerla 2 1 Institute of Information.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Estimating Bandwidth of Mobile Users Sept 2003 Rohit Kapoor CSD, UCLA.
1 Lecture 14 High-speed TCP connections Wraparound Keeping the pipeline full Estimating RTT Fairness of TCP congestion control Internet resource allocation.
Comparison of Public End-to-End Bandwidth Estimation tools on High-Speed Links Alok Shriram, Margaret Murray, Young Hyun, Nevil Brownlee, Andre Broido,
Comparison of Public End-to-End Bandwidth Estimation tools on High- Speed Links Alok Shriram, Margaret Murray, Young Hyun, Nevil Brownlee, Andre Broido,
11 Experimental and Analytical Evaluation of Available Bandwidth Estimation Tools Cesar D. Guerrero and Miguel A. Labrador Department of Computer Science.
CS551: End-to-End Packet Dynamics Paxon’99 Christos Papadopoulos (
TCP with Variance Control for Multihop IEEE Wireless Networks Jiwei Chen, Mario Gerla, Yeng-zhong Lee.
Multiplicative Wavelet Traffic Model and pathChirp: Efficient Available Bandwidth Estimation Vinay Ribeiro.
Bandwidth Estimation Workshop 2003 Evaluating pathrate and pathload with realistic cross-traffic Ravi Prasad Manish Jain Constantinos Dovrolis (ravi, jain,
Bandwidth estimation in computer networks: measurement techniques & applications Constantine Dovrolis College of Computing Georgia Institute of Technology.
SenProbe: Path Capacity Estimation in Wireless Sensor Networks Tony Sun, Ling-Jyh Chen, Guang Yang M. Y. Sanadidi, Mario Gerla.
1 Capacity Dimensioning Based on Traffic Measurement in the Internet Kazumine Osaka University Shingo Ata (Osaka City Univ.)
PathChirp Spatio-Temporal Available Bandwidth Estimation Vinay Ribeiro Rolf Riedi, Richard Baraniuk Rice University.
Spatio-Temporal Available Bandwidth Estimation Vinay Ribeiro Rolf Riedi, Richard Baraniuk Rice University.
We used ns-2 network simulator [5] to evaluate RED-DT and compare its performance to RED [1], FRED [2], LQD [3], and CHOKe [4]. All simulation scenarios.
End-to-end Bandwidth Estimation in the Wide Internet Daniele Croce PhD dissertation, April 16, 2010.
Grid Computing slide to be used anywhere Harness global resources to improve performance.
Internet Measurement and Analysis Vinay Ribeiro Shriram Sarvotham Rolf Riedi Richard Baraniuk Rice University.
PathChirp & STAB Measuring Available Bandwidth and Locating Bottlenecks in Packet Networks Vinay Ribeiro Rolf Riedi, Richard Baraniuk Rice University spin.rice.edu.
PathChirp Efficient Available Bandwidth Estimation Vinay Ribeiro Rice University Rolf Riedi Rich Baraniuk.
Access Link Capacity Monitoring with TFRC Probe Ling-Jyh Chen, Tony Sun, Dan Xu, M. Y. Sanadidi, Mario Gerla Computer Science Department, University of.
Bandwidth estimation: metrics, measurement techniques, and tools Presenter: Yuhang Wang.
Bandwidth Estimation of a Network Path ET-4285 Measuring & Simulating the internet Bandwidth Estimation of a Network Path Group 4: S. Ngabonziza Rugemintwaza.
Bandwidth Estimation: Metrics Measurement Techniques and Tools
Rohit Kapoor, Ling-Jyh Chen, M. Y. Sanadidi, Mario Gerla
CapProbe Ling-Jyh Chen, M. Y. Sanadidi, Mario Gerla
Tony Sun, Guang Yang, Ling-Jyh Chen, M. Y. Sanadidi, Mario Gerla
By Manish Jain and Constantinos Dovrolis 2003
pathChirp Efficient Available Bandwidth Estimation
pathChirp Efficient Available Bandwidth Estimation
Presentation transcript:

Georgia Institute of Technology Bandwidth estimation in computer networks: measurement techniques & applications Constantine Dovrolis College of Computing Georgia Institute of Technology

The Internet as a “black box” Several network properties are important for applications and transport protocols: Delay, loss rate, capacity, congestion, load, etc But routers and switches do not provide direct feedback to end-hosts (except ICMP, also of limited use) Mostly due to scalability, policy, and simplicity reasons

Can we guess what is in the black box? probe packets End-systems can infer network state through end-to-end (e2e) measurements Without any feedback from routers Objectives: accuracy, speed, non-intrusiveness

Bandwidth estimation in packet networks Bandwidth estimation (bwest) area: Inference of various throughput-related metrics with end-to-end network measurements Early works: Keshav’s packet pair method for congestion control (‘89) Bolot’s capacity measurements (’93) Carter-Crovella’s bprobe and cprobe tools (’96) Jacobson’s pathchar - per-hop capacity estimation (‘97) Melander’s TOPP method for avail-bw estimation (’00) In last 3-5 years: Several fundamentally new estimation techniques Many research papers at prestigious conferences More than a dozen of new measurement tools Several applications of bwest methods Significant commercial interest in bwest technology

Overview This talk is an overview of the most important developments in bwest area over the last 10 years A personal bias could not be avoided.. Overview Bandwidth-related metrics Capacity estimation Packet pairs and CapProbe technique Available bandwidth estimation Iterative probing: Pathload, Pathvar and PathChirp Comparison of tools Applications SOcket Buffer Auto-Sizing (SOBAS)

Network bandwidth metrics Ravi S.Prasad, Marg Murray, K.C. Claffy, Constantine Dovrolis, “Bandwidth Estimation: Metrics, Measurement Techniques, and Tools,” IEEE Network, November/December 2003.

Capacity definition Maximum possible end-to-end throughput at IP layer In the absence of any cross traffic Achievable with maximum-sized packets If Ci is capacity of link i, end-to-end capacity C defined as: Capacity determined by narrow link

Available bandwidth definition Per-hop average avail-bw: Ai = Ci (1-ui) ui: average utilization A.k.a. residual capacity End-to-end avg avail-bw A: Determined by tight link ISPs measure per-hop avail-bw passively (router counters, MRTG graphs)

The avail-bw as a random process Instantaneous utilization ui(t): either 0 or 1 Link utilization in (t, t+t) Averaging timescale: t Available bandwidth in (t, t+t) End-to-end available bandwidth in (t, t+t) Point: what is por hop avail-bw?

Available bandwidth distribution Avail-bw has significant variability Need to estimate second-order moments, or even better, the avail-bw distribution Variability depends on averaging timescale t Larger timescale, lower variance Distribution is Gaussian-like, if t >100-200 msec and with sufficient flow multiplexing

E2E Capacity estimation (a’): Packet pair technique Constantine Dovrolis, Parmesh Ramanathan, David Moore, “Packet Dispersion Techniques and Capacity Estimation,” In IEEE/ACM Transactions on Networking, Dec 2004.

Packet pair dispersion Packet Pair (P-P) technique Originally, due to Jacobson & Keshav Send two equal-sized packets back-to-back Packet size: L Packet trx time at link i: L/Ci P-P dispersion: time interval between last bit of two packets Without any cross traffic, the dispersion at receiver is determined by narrow link:

Cross traffic interference Cross traffic packets can affect P-P dispersion P-P expansion: capacity underestimation P-P compression: capacity overestimation Noise in P-P distribution depends on cross traffic load Example: Internet path with 1Mbps capacity

Multimodal packet pair distribution Typically, P-P distribution includes several local modes One of these modes (not always the strongest) is located at L/C Sub-Capacity Dispersion Range (SCDR) modes: P-P expansion due to common cross traffic packet sizes (e.g., 40B, 1500B) Post-Narrow Capacity Modes (PNCMs): P-P compression at links that follow narrow link

E2E Capacity estimation (b’): CapProbe Rohit Kapoor, Ling-Jyh Chen, Li Lao, Mario Gerla, M. Y. Sanadidi, "CapProbe: A Simple and Accurate Capacity Estimation Technique," ACM SIGCOMM 2004

Compression of p-p dispersion First packet queueing => compressed dispersion Capacity overestimation

Expansion of p-p dispersion Second packet queueing => expansion of dispersion Capacity underestimation

CapProbe Both expansion and compression are result queuing delays Key insight: packet pair that sees zero queueing delay would yield exact estimate measure RTT for each probing packet of packet pair estimate capacity from pair with minimum RTT-sum Capacity

Measurements - Internet, Internet2 CapProbe implemented using PING packets, sent in pairs To UCLA-2 UCLA-3 UA NTNU Time Capacity Cap Probe 0’03 5.5 0’01 96 0’02 98 0’07 97 5.6 0’04 79 0’17 83 0’22 Pathrate 6’10 0’16 5’19 86 0’29 6’14 5.4 5’20 88 0’25 6’5 5.7 5’18 133 Pathchar 21’12 4.0 22’49 18 3 hr 34 20’43 3.9 27’41 35 21.18 29’47 30

Avail-bw estimation (a’): Pathload Manish Jain, Constantine Dovrolis, “End-to-End Available Bandwidth: Measurement Methodology, Dynamics, and Relation with TCP Throughput,” IEEE/ACM Transactions on Networking, Aug 2003.

Probing methodology Sender transmits periodic packet stream of rate R K packets, packet size L, interarrival T = L/R Receiver measures One-Way Delay (OWD) for each packet D(k) = tarv(k) - tsnd(k) OWD variations: Δ(k) = D(k+1) – D(k) Independent of clock offset between sender/receiver With stationary & fluid-modeled cross traffic: If R > A, then Δ(k) > 0 for all k Else, Δ(k) = 0 for all k

Self-loading periodic streams Increasing OWDs means R>A Almost constant OWDs means R<A

Example of OWD variations 12-hop path from U-Delaware to U-Oregon K=100 packets, A=74Mbps, T=100μsec Rleft = 97Mbps, Rright=34Mbps Ri

Iterative probing and Pathload Avail-bw time series from NLANR trace Another misconception in iterative probing approach is that it converge to single value. To understand why it is a fallacy, lets recap the methodology. Iterative probing sends multiple streams at different rates and startig at different time. Outcome of each stream is whether the probing rate is greater or smaller than abw. This figure shows the time series of avbw from a pakcet trace. As we can see, iterative probing inherently results in a range. Then the correct result is to report two rate values between which avbw varied. Iterative probing in Pathload: Send multiple probing streams (duration τ) at various rates Each stream samples path at different time interval Outcome of each stream is either Ri > A or Ri < A Estimate upper and lower bound for avail-bw variation range

Avail-bw estimation (b’): percentile estimation Manish Jain, Constantine Dovrolis, “End-to-End Estimation of the Available Bandwidth Variation Range,” ACM SIGMETRICS 2005

Avail-bw distribution and percentiles Avail-bw random process, in timescale t: At(t) Assume stationarity Marginal distribution of At: Ft(R) = Prob [At ≤ R] Ap :pth percentile of At, such that p = Ft(Ap) Objective: Estimate variation range [AL, AH] for given averaging timescale t AL and AH are pL and pH percentiles of At Typically, pL =0.10 and pH =0.90

Percentile sampling E[ I(R,N) ] = Ft(R) * N Question : Which percentile of At corresponds to rate R? Given R and t, estimate Ft(R) Assume that Ft(R) is inversible Sender transmits periodic packet stream of rate R Length of stream = measurement timescale t Receiver classifies stream as Type-G if At ≤ R: I(R)= 1 with probability Ft(R) Type-L otherwise: I(R)= 0 with probability 1-Ft(R) Collect N samples of I(R) by sending N streams of rate R Number of type-G streams: I(R,N)= Σi Ii(R) E[ I(R,N) ] = Ft(R) * N Percentile rank of probing rate R: Ft(R) = E[I(R,N)] / N Use I(R,N)/N as estimator of Ft(R)

Non-parametric estimation Does not assume specific avail-bw distribution Iterative algorithm Stationarity requirement across iterations N-th iteration: probing rate Rn Use percentile sampling to estimate percentile rank of Rn To estimate the upper percentile AH with pH = Ft(AH): fn = I(Rn,N)/N If fn is between pH±r, report AH = Rn Otherwise, If fn > pH + r, set Rn+1 < Rn If fn < pH - r, set Rn+1 > Rn Similarly, estimate the lower percentile AL

Validation example Verification using real Internet traffic traces b=0.05 b=0.15 Non-parametric estimator tracks variation range within 10-20% Selection of b depends on traffic Traffic spikes/dips may not be detected if b is too small But larger b causes larger MSRE

Parametric estimation Assume Gaussian avail-bw distribution Justified assumption for large degree of traffic multiplexing And/or for long averaging timescale (>200msec) Gaussian distribution completely specified by Mean m and standard deviation st pth percentile of Gaussian distribution Ap = m + st f-1(p) Sender transmits N probing streams of rates R1 and R2 Receiver determines percentiles ranks corresponding to R1 and R2 m and st can be then estimated by solving R1 = m + st f-1(p1) R2 = m + st f-1(p2) Variation range is then calculated from: AH = m + st f-1(pH) AL = m + st f-1(pL)

Validation example Verification using real Internet traffic traces Evaluated with both Gaussian and non-Gaussian traffic Gaussian traffic non-Gaussian traffic Parametric algorithm is more accurate than non-parametric algorithm, when traffic is good match to Gaussian model in non-stationary conditions

Avail-bw estimation (c’): PathChirp Vinay Ribeiro, Rolf Riedi, Jiri Navratil, Rich Baraniuk, Les Cottrell, “PathChirp: Efficient Available Bandwidth Estimation,” PAM 2003

Chirp Packet Trains Exponentially decrease packet spacing within packet train Wide range of probing rates Efficient: few packets

Chirps vs. CBR Trains Multiple rates in each chirping train Allows one estimate per-chirp Potentially more efficient estimation

CBR Cross-Traffic Scenario Point of onset of increase in queuing delay gives available bandwidth

Comparison with Pathload 100Mbps links pathChirp uses 10 times fewer bytes for comparable accuracy Available bandwidth Efficiency Accuracy pathchirp pathload pathChirp 10-90% Avg.min-max 30Mbps 0.35MB 3.9MB 19-29Mbps 16-31Mbps 50Mbps 0.75MB 5.6MB 39-48Mbps 39-52Mbps 70Mbps 0.6MB 8.6MB 54-63Mbps 63-74Mbps

Experimental comparison of avail-bw estimation tools Alok Shriram, Marg Murray, Young Hyun, Nevil Brownlee, Andre Broido, k claffy, ”Comparison of Public End-to-End Bandwidth Estimation Tools on High-Speed Links,” PAM 2005

Testbed topology

Accuracy comparison - SmartBits Direction 1, Measured AB Direction 2, Measured AB Actual AB

Accuracy comparison - TCPreplay Actual Available Bandwidth Measured Available Bandwidth

What’s wrong with Spruce? Spruce was proposed as fast & accurate estimation method Strauss et al., IMC’03: example of direct probing With a single-link model: Sender sends periodic stream with input rate Ri Receiver measures output rate Ro Avail-bw A given by: Assumptions: Tight link capacity Ct is known Input rate Ri can be controlled by source But what would happen in a multi-hop path? Ri can be less than source rate (due to previous link with lower capacity) and, even worse, it can be unknown!

Measurement latency comparison Abing: 1.3 to 1.4 s Spruce: 10.9 to 11.2 s Pathload: 7.2 to 22.3 s Patchchirp: 5.4 s Iperf: 10.0 to 10.2 s

Probing traffic comparison CHANGE TO COLOR VERSION

Applications of bandwidth estimation

Applications of bandwidth estimation Large TCP transfers and congestion control Bandwidth-delay product estimation Socket buffer sizing Streaming multimedia Adjust encoding rate based on avail-bw Intelligent routing systems Overlay networks and multihoming Select best path based on capacity or avail-bw Content Distribution Networks (CDNs) Choose server based on least-loaded path SLA and QoS verification Monitor path load and allocated capacity End-to-end admission control Network “spectroscopy” Several more..

Application-1: Improved TCP Throughput with BwEst Ravi S. Prasad, Manish Jain, Constantine Dovrolis, “Socket Buffer Auto-Sizing for High-Performance Data Transfers,” Journal of Grid Computing, 2003

TCP performs poorly in fat-long paths Basic idea in TCP congestion control: Increase congestion window until packet loss occurs Then reduce window by a factor of two (multiplicative decrease) Consequences Increased loss-rate Avg. throughput less than available bandwidth Large delay-variation Example: 1Gbps path, 100msec RTT, 1500B pkts Single loss ≈ 4000 pkts window reduction Recovery from single loss ≈ 400 sec Need very small loss probability (ρ<2*10-8) to saturate path

TCP background Ws = min {Bs, Wc, Wr} Sender Receiver Socket Layer TCP Layer Socket-layer buffers Send buffer: Bs Receive buffer: Br Socket Buffer TCP windows Send: Ws <= Bs Congestion: Wc Receiver (advertised): Wr<= Br Wr Ws Ws = min {Bs, Wc, Wr} Ideally, TCP send window Ws should be set to connection’s bandwidth-delay product “Bandwidth”: connection’s fair share “Delay”: connection’s RTT Achieve efficiency, fairness, no congestion

Can we avoid congestive losses w/o changing TCP? Ws = min {Wc, Wr} But Wr<= S S: rcv socket buffer size We can limit S so that connection is limited by receive window: Ws = S Non-congested path: Throughput R(S) = S/T(S) R(S) increases with S until it reaches MFT MFT: Maximum Feasible Throughput (onset of congestion) Objective: set S close to MFT, to avoid any losses and stabilize TCP send window to a safe value Congested path: Path with losses before start of target transfer Limiting S can only reduce throughput

Socket buffer auto-sizing (SOBAS) Apply SOBAS only in non-congested paths Receiving application measures rcv-throughput Rrcv When receive throughput becomes constant: Connection has reached its maximum throughput Rmax If the send window becomes any larger, losses will occur Receiving application limits rcv socket buffer size S: S = RTT * Rmax With congestion unresponsive cross traffic: Rmax = A With congestion responsive cross traffic: Rmax = MFT SOBAS does not require any changes in TCP But estimation of RTT and congestion-status requires “ping-like” probing

Measurements at WAN path Non-SOBAS SOBAS Path: GaTech to LBL,CA SOBAS flow get higher average throughput than non-SOBAS flow because former avoids all congestion losses SOBAS does not significantly increase path’s RTT

To conclude..

Things I have not talked about Other estimation tools & techniques Abing, netest, pipechar, STAB, pathneck, IGI/PTR, … Per-hop capacity estimation (pathchar, clink, pchar) Other applications Bwest in new TCPs (e.g., TCP Westwood, TCP FAST) Bwest in wireless nets Bwest in overlay routing Bwest in multihoming Bwest in bottleneck detection Scalable bandwidth measurements in networks with many monitoring nodes Practical issues Interrupt coalescence Traffic shapers Non-FIFO queues

Conclusions We know how to do the following: Estimate e2e capacity & avail-bw Apply bwest in several applications We know that we cannot do the following: Estimate per-hop capacity with VPS techniques Avoid avail-bw estimation bias when traffic is bursty and/or path has multiple bottlenecks We do not yet know how to do the following: Scalable bandwidth measurements Integrate probing traffic in application data Many research questions are still open Help wanted!