Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
Min-Plus Linear Systems Theory and Bandwidth Estimation Available Bandwidth • Available bandwidth is the unused capacity along a path i • Available bandwidth of a link: • Available bandwidth of a path: • Goal: Use end-to-end probing to estimate available bandwidth Edited slide from: V. Ribeiro, Rice. U, 2003 Probing a network with packet trains • A network probe consists of a sequence of packets (packet train) • The packet train is from a source to a sink • For each packet, a measurement is taken when the packet is sent by the source (arrival time), and when the packet arrives at the sink (departure time) source Network sink Edited slide from: V. Ribeiro, Rice. U, 2003 Rate Scanning Probing Method • Each packet trains is sent at a fixed rate r (in bits per second). This is done by: • All packets in the train have the same size • Packets of packet train are sent with same distance Packet train: D D D • If size of packets is L, transmission time of a packet is T, and distance between packets is D, the rate is: r = L/(T+D) • Rate Scanning: Source sends multiple packet trains, each with a different rate r (Classical) System Theory Linear Time Invariant (LTI) Systems Time invariant: Linear: System • If input is Dirac impulse, output is the system response • Output can be calculated from input and system response: “convolution” System Theory for Networks • Networks can be viewed as linear systems in a different algebra: • • Addition (+) Minimum (inf) • Multiplication (·) Addition (+) Min-Plus Algebra Network service is described by a service curve Min-Plus Linear Systems min-plus Time invariant: Linear: Network data • If input is burst function A(t) ,delay output is the service curve D(t) • Departures can be calculated backlog from arrivals and service curve: time t “min-plus convolution” Transforms • Classical LTI systems Frequency domain Time domain Fourier transform • Min-plus linear systems Rate domain Time domain Legendre transform Properties: (1) . If is convex: (2) If convex, then (3) Legendre transforms are always convex One more thing … • Many networks are not min-plus linear • i.e., for some t: • … but can be described by a lower service curve • such that for all t: • Having a lower service curve is often enough, since it provides a lower bound on the service !! Bandwidth estimation in the network calculus • View the network as a min-plus system that is either linear or nonlinear 1. Timestamp probes Ap(t) - Send probes Dp(t) - Receive probes data Bandwidth estimation scheme: Ap(t) delay Dp(t) backlog 2. Use probes to find a satisfies for all (A,D). 3. that is the estimate of the available bandwidth. time t Bandwidth estimation in the network calculus • View the network as a min-plus system that is either linear or nonlinear 1. Timestamp probes Ap(t) - Send probes Dp(t) - Receive probes data Bandwidth estimation scheme: Ap(t) delay Dp(t) backlog 2. Use probes to find a satisfies for all (A,D). 3. the goal is to select as large as possible. that time t Bandwidth estimation in a min-plus linear network • So: We get an exact solution when the probe consist of a burst (of infinite size and sent with an infinite rate) data • If network is min-plus linear, we get • If we set , then delay A(t) = d(t) D(t) = S(t) time t • However: • An infinite-sized instantaneous burst cannot be realized in practice (It also creates congestion in the network) Rate Scanning (1): Theory data • Backlog: • Max. backlog: • If , we can write this as: • Inverse transform: If S is convex we have A(t) delay D(t) backlog time t Rate Scanning (2): Algorithm Step 1: Transmit a packet train at rate compute , compute Step 2: If estimate of has improved, increase • This method is very close to Pathload ! and go to Step 1. Non-Linear Systems • When we exploit linear system we assume a min-plus • In non-linear networks, we can only find a lower service curve that satisfies • We view networks as system that are always linear when the network load is low, and that become non-linear when the network load exceeds a threshold. • Note: In rate scanning, by increasing the probing rate, we eventually exceed the threshold at which the network becomes non-linear • QUESTION: How to determine the critical rate at which network becomes non-linear Detecting Non-linearity Backlog convexity criterion • Suppose that we probe at constant rates • Legendre transform is always convex • In a linear system, the max. backlog is the Legendre transform of the service curve: • If we find that for some rate r we know that system is not linear EmuLab Measurements • Emulab is a network testbed at U. Utah • can allocate PCs and build a network • controlled rates and latencies Some Questions: • How well does our theory translate to real networks? • Does representing available bandwidth by a function (as opposed to a number) have advantages? • How robust are the methods to changes of the traffic distribution? Dumbbell Network • UDP packets with 1480 bytes (probes) and 800 bytes (cross) • Cross traffic: 25 Mbps Cross traffic 100 Mbps 10 ms 100 Mbps no delay 50 Mbps 10 ms Probe traffic 100 Mbps 10 ms 100 Mbps no delay Constant Bit Rate (CBR) Cross Traffic • Cross traffic is sent at a constant rate (=CBR) Rate Scanning • The “reference service curve” (red) shows the ideal results. The “service curve estimates” shows the results of the rate scanning method • Figure shows 100 repeated estimates of the service curve Rate Scanning: Different Cross Traffic • Exponential: random interarrivals, low variance • Pareto: random interarrivals, very high variance Exponential Pareto Dirac impulse • The Diract delta function, often referred to as the unit impulse function, can usually be informally thought of as a function δ(x) that has the value of infinity for x = 0, the value zero elsewhere. The integral from minus infinity to plus infinity is 1. From: Wikipedia