Multi-Hop Probing Asymptotics in Available Bandwidth Estimation: Stochastic Analysis Xiliang Liu City University of New York
[email protected]
Kaliappa Ravindran City College of New York
[email protected]
Abstract
tiated the effort of developing an analytical foundation for bandwidth measurement techniques. Such a foundation is important in that it helps achieve a clear understanding of both the validity and the inadequacy of current techniques and provides a guideline to improve them. However, the analysis in [9] is restricted to single-hop paths. There is still a void to fill in understanding packet-train bandwidth estimation over a multi-hop network path. Recall that the available bandwidth of a network hop is its residual capacity after transmitting cross-traffic within a certain time interval. This metric varies over time as well as a wide range of observation time intervals. However, in this paper, we explicitly target the measurement of a longterm average available bandwidth, which is a stable metric independent of observation time instances and observation time intervals [9]. Consider an N -hop network path P = (L1 , L2 , . . . , LN ), where the capacity of link Li is denoted by Ci and the long-term average of the cross-traffic arrival rate at Li is given by λi , which is assumed to be less than Ci . The hop available bandwidth of Li is Ai = Ci − λi . The path available bandwidth AP is given by
This paper analyzes the asymptotic behavior of packet-train probing over a multi-hop network path P carrying arbitrarily routed bursty cross-traffic flows. We examine the statistical mean of the packet-train output dispersions and its relationship to the input dispersion. We call this relationship the response curve of path P. We show that the real response curve Z is tightly lower-bounded by its multi-hop fluid counterpart F , obtained when every cross-traffic flow on P is hypothetically replaced with a constant-rate fluid flow of the same average intensity and routing pattern. The real curve Z asymptotically approaches its fluid counterpart F as probing packet size or packet train length increases. Most existing measurement techniques are based upon the single-hop fluid curve S associated with the bottleneck link in P. We note that the curve S coincides with F in a certain large-dispersion input range, but falls below F in the remaining small-dispersion input ranges. As an implication of these findings, we show that bursty crosstraffic in multi-hop paths causes negative bias (asymptotic underestimation) to most existing techniques. This bias can be mitigated by reducing the deviation of Z from S using large packet size or long packet-trains. However, the bias is not completely removable for the techniques that use the portion of S that falls below F .
1
Dmitri Loguinov Texas A&M University
[email protected]
AP = min (Ci − λi ). 1≤i≤N
(1)
The hop Lb , which carries the minimum available bandwidth, is called the tight link or the bottleneck link1 . That is, b = arg min (Ci − λi ). (2)
Introduction
1≤i≤N
End-to-end estimation of the spare capacity along a network path using packet-train probing has recently become an important Internet measurement research area. Several measurement techniques such as TOPP [14], Pathload [6], IGI/PTR [5], Pathchirp [16], and Spruce [17] have been developed. Most of the current proposals use a single-hop path with constant-rate fluid cross-traffic to justify their methods. The behavior and performance of these techniques in a multi-hop path with general bursty cross-traffic is limited to experimental evaluations. Recent work [9] ini-
The main idea of packet-train bandwidth estimation is to infer AP from the relationship between the inter-packet dispersions of the output packet-trains and those of the input packet-trains. Due to the complexity of this relationship in arbitrary network paths with bursty cross-traffic flows, previous work simplifies the analysis using a single-hop path with fluid2 cross-traffic, while making the following two assumptions without formal justification: first, crosstraffic burstiness only causes measurement variability that can be smoothed out by averaging multiple probing sam1
totic underestimation of AP for most of the existing techniques. This deviation term and its resulting measurement bias are “elastic” in the sense that they can be reduced to a negligible level using packet-trains of sufficient length3 . For the second deviation term F − S, we note that both S and F are piece-wise linear curves. The first two linear segments in F associated with large input dispersions coincide with S (i.e., F − S = 0). The rest of the linear segments in F associated with small input dispersions appear above S (i.e., F − S > 0). The amount of deviation and the additional negative measurement bias it causes are dependent on the routing patterns of cross-traffic flows, and are maximized when every flow traverses only one hop along the path (which is often called one-hop persistent crosstraffic routing [4]). Furthermore, the curve deviation F − S is “non-elastic” and stays constant with respect to probing packet size and packet-train length at any given input rate. Therefore, the measurement bias it causes cannot be overcome by adjusting the input packet-train parameters. Among current measurement techniques, pathload and PTR operate in the input probing range where F coincides with S, and consequently are only subject to the measurement bias caused by the first deviation term Z − F. Spruce may use the probing range where F − S > 0. Hence it is subject to both elastic and non-elastic negative measurement biases. The amount of bias can be substantially more than the actual available bandwidth in certain common scenarios, leading to negative results by the measurement algorithm and a final estimate of zero by the tool. The rest of the paper is organized as follows. Section 2 derives the multi-hop response curve F assuming arbitrarily routed fluid cross-traffic flows and examines the deviation term F − S. In Section 3 and 4, we derive the real response curve Z of a multi-hop path and show its relationship to its fluid counterpart F . We provide practical evidence for our theoretical results using testbed experiments and real Internet measurements in Section 5. We examine the impact of these results on existing techniques in Section 6 and summarize related work in Section 7. Finally, we briefly discuss future work and conclude in Section 8. Due to limited space, most of the proofs in this paper are omitted, and we refer interested readers to [10] for more technical details.
ples and second, non-bottleneck links have negligible impact on the proposed techniques. The validity of the first assumption is partially addressed in [9], where the authors use a single-hop path with bursty cross-traffic to derive the statistical mean of the packettrain output dispersions as a function of the input probing dispersion, referred to as the single-hop response curve. Their analysis shows that besides measurement variability, cross-traffic burstiness can also cause measurement bias to the techniques that are based on fluid analysis. This measurement bias cannot be reduced even when an infinite number of probing samples are used, but can be mitigated using long packet-trains and/or large probing packet size. This paper addresses further the two assumptions that current techniques are based on. To this end, we extend the asymptotic analysis in [9] to arbitrary network paths and uncover the nature of the measurement bias caused by bursty cross-traffic flows in a multi-hop network path. This problem is significantly different from previous single-hop analysis due to the following reasons. First, unlike singlehop measurements, where the input packet-trains have deterministic and equal inter-packet separation formed by the probing source, the input packet-trains at any hop (except the first one) along a multi-link path are output from the previous hop and have random structure. Second and more importantly, the multi-hop probing asymptotics are strongly related to the routing pattern of cross-traffic flows. This issue never arises in a single-hop path and it has received little attention in prior investigation. However, as we show in this paper, it is one of the most significant factors that affect the accuracy of bandwidth measurement in multi-hop paths. To characterize packet-train bandwidth estimation in its most general settings, we derive the probing response curve Z of a multi-hop path P assuming arbitrarily routed bursty cross-traffic flows. We compare Z with its multi-hop fluid counterpart F , which is a response curve obtained when every cross-traffic flow in P is hypothetically replaced with a fluid flow of the same average intensity and routing pattern. We show, under an ergodic stationarity assumption for each cross-traffic flow, that the real curve Z is tightly lower bounded by its fluid counterpart F and that the curve Z asymptotically approaches its fluid bound F in the entire input range as probing packet size or packet-train length increases. Most of the existing techniques are based on the singlehop fluid response curve S associated with the bottleneck link in P. Therefore, any deviation of the real curve Z from the single-hop curve S can potentially cause measurement bias in bandwidth estimation. Note that the deviation Z −S can be decomposed as Z − S = (Z − F) + (F − S).
2 Multi-Hop Fluid Analysis It is important to first thoroughly understand the response curve F of a network path carrying fluid cross-traffic flows, since as we show later, the fluid curve F is an approachable bound of the real response curve Z. Initial investigation of the fluid curves is due to Melandar et al. [13] and Dovrolis et al. [3]. However, prior work only considers two special cross-traffic routing cases (one-hop persistent routing and path persistent routing). In this section, we formulate
(3)
The first term Z − F is always positive and causes asymp2
link Lk and traverse the downstream link Li , is denoted as Γk,i = ek ⊙ ri , where k ≤ i. The cross-traffic intensity at link Li is denoted by λi . We assume λi < Ci for 1 ≤ i ≤ N . Since none of the links in P is congested, the arrival rate of flow j at any link it traverses is xj . Consequently, we have
and solve the problem for arbitrary cross-traffic routing patterns, based on which, we discuss several important properties of the fluid response curves that allow us to obtain the path available bandwidth information.
2.1 Formulating A Multi-Hop Path
λi = xri < Ci ,
We first introduce necessary notations to formulate a multihop path and the cross-traffic flows that traverse along the path. An N -hop network path P = (L1 , L2 , . . . , LN ) is a sequence of N interconnected First-Come First-Served (FCFS) store-and-forward hops. For each forwarding hop Li in P, we denote its link capacity by Ci , and assume that it has infinite buffer space and a work-conserving queuing discipline. Suppose that there are M fluid cross-traffic flows traversing path P. The rate of flow j is denoted by xj and the flow rate vector is given by x = (x1 , x2 , . . . , xM ). We impose two routing constraints on cross-traffic flows to simplify the discussion. The first constraint requires every flow to have a different routing pattern. In the case of otherwise, the flows with the same routing pattern should be aggregated into one single flow. The second routing constraint requires every flow to have only one link where it enters the path and also have only one (downstream) link where it exits from the path. In the case of otherwise, the flow is decomposed into several separate flows that meet this routing constraint.
1 ≤ i ≤ N.
(4)
We further define the path configuration of P as the following 2 × N matrix C1 C2 . . . CN H= . (5) λ1 λ2 . . . λN The hop available bandwidth of Li is given by Ai = Ci − λi . We assume that every hop has different available bandwidth, and consequently that the tight link is unique. Sometimes, we also need to refer to the second minimum hop available bandwidth and the associated link, which we denote as Ab2 = Cb2 − λb2 and Lb2 , respectively. That is b2 = arg
min
(Ci − λi ),
1≤i≤N,i6=b
(6)
where b is the index of the tight hop.
2.2 Fluid Response Curves We now consider a packet-train of input dispersion (i.e., inter-packet spacing) gI and packet size s that is used to probe path P. We are interested in computing the output dispersion of the packet train and examining its relation to gI . Such a relation is called the gap response curve of path P. It is easy to verify that under fluid conditions, the response curve does not depend on the packet-train length n. Hence, we only consider the case of packet-pair probing. We denote the output dispersion at link Li as γi (gI , s) or γi for short, and again for notational convenience we let γ0 = gI . Note that γN (gI , s) corresponds to the notation F we have used previously. Based on our formulations, the gap response curve of path P has a recursive representation given below.
Definition 1 A flow aggregation is a set of flows, represented by a “selection vector” p = (p1 , p2 , . . . , pM )T , where pj = 1 if flow j belongs to the aggregation and pj = 0 if otherwise. We use fj to represent the selection vector of the aggregation that contains flow j alone. There are several operations between flow aggregations. First, the common flows to aggregations p and q form another aggregation, whose selection vector is given by p⊙q, where the operator ⊙ represents “element-wise multiplication.” Second, the aggregation that contains the flows in p but not in q is given by p − p ⊙ q. Finally, note that the traffic intensity of aggregation p can be computed from the inner product xp. We now define several types of flow aggregation frequently used in this paper. First, the traversing flow aggregation at link Li , denoted by its selection vector ri , includes all fluid flows that pass through Li . The M × N matrix R = (r1 , r2 , . . . , rN ) becomes the routing matrix of path P. For convenience, we define an auxiliary selection vector r0 = 0. The second type of flow aggregation, denoted by ei , includes all flows entering the path at link Li , which can be expressed as ei = ri − ri ⊙ ri−1 given the second routing constraint stated previously. The third type of flow aggregation, which includes flows that enter the path at
Theorem 1 When a packet-pair with input dispersion gI and packet size s is used to probe an N -hop fluid path with routing matrix R and flow rate vector x, the output dispersion at link Li can be recursively expressed as g I i=0 γi = , (7) s + Ωi max γi−1 , i>0 Ci where Ωi is 4
Ωi =
i h i X γk−1 xΓk,i .
k=1
3
(8)
Proof: Assumes that the first probing packet arrives at link Li at time instance a1 . It gets immediate transmission service and departs at a1 +s/Ci . The second packet arrives at a1 +γi−1 . The server of Li needs to transmit s+Ωi amount of data before it can serve the second packet. If this is done before time instance a1 + γi−1 , the second packet also gets immediate service and γi = γi−1 . Otherwise, the sever undergoes a busy period between the departure of the two packets, meaning that γi = (s + Ωi )/Ci . Therefore, we have s + Ωi . (9) γi = max γi−1 , Ci
These facts are irrespective of the routing matrix. It helps to find the expression for the turning point α2 , so that we can identify the exact range for the second linear segment. However, unlike α1 , the turning point α2 is dependent on the routing matrix. In fact, all other turning points are dependent on the routing matrix and can not be computed based on the path configuration matrix alone. Therefore, we only provide a bound for α2 . Property 3 For any routing matrix, the term s/α2 is no less than Ab2 , which is the second minimum hop available bandwidth of path P.
This completes the proof of the theorem. As a quick sanity check, we verify the compatibility between Theorem 1 and the special one-hop persistent routing case, where every flow that enters the path at link Li will exit the path at link Li+1 . For this routing pattern, we have ( 0 i 6= k Γk,i = . (10) ri i = k
The slopes and intercepts for all but the first two linear segments are related to the routing matrix. We skip the derivation of their expressions, but instead provide both a lower bound and an upper bound for the entire response curve. Property 4 For a given path configuration matrix, the gap response curve associated with any routing matrix is lower bounded by the single-hop gap response curve of the tight link s gI > g I AP (13) S(gI , s) = s + gI λb s . 0 < gI < Cb AP
Therefore, equation (8) can be simplified as Ωi = γi−1 xri = γi−1 λi ,
(11)
which agrees with previous results [3], [13].
2.3 Properties of Fluid Response Curves
It is upper bounded by the gap response curve associated with one-hop persistent routing.
Theorem 1 leads to several important properties of the fluid response curve F , which we discuss next. These properties tell us how bandwidth information can be extracted from the curve F , and also show the deviation of F , as one should be aware of, from the single-hop fluid curve S of the tight link.
We now make several observations regarding the deviation of γN (gI , s) (i.e., F ) from S(gI , s). Combing (12) and (13), we see that γN (gI , s) − S(gI , s) = 0 when gI ≥ α2 . That is, the first two linear segments on F coincide with S. When gI < α2 , Property 4 implies that the deviation γN (gI , s) − S(gI , s) is positive. The exact value depends on cross-traffic routing and it is maximized in one-hop persistent routing for any given path configuration matrix. Also note that there are three pieces of path information that we can extract from the gap response curve F without knowing the routing matrix. By locating the first turning point α1 , we can compute the path available bandwidth. From the second linear segment, we can obtain the tight link capacity and cross-traffic intensity (and consequently, the bottleneck link utilization) information. Other parts of the response curve F are less readily usable due to their dependence on cross-traffic routing.
Property 1 The output dispersion γN (gI , s) is a continuous piece-wise linear function of the input dispersion gI in the input dispersion range (0, ∞). Let 0 = αK+1 < αK < . . . < α1 < α0 = ∞ be the input dispersion turning points that split the gap response curve to K + 1 linear segments5 . Our next result discusses the turning points and linear segments that are of major importance in bandwidth estimation. Property 2 The first turning point α1 corresponds to the path available bandwidth in the sense that AP = s/α1 . The first linear segment in the input dispersion range (α1 = s/AP , ∞) has slope 1 and intercept 0. The second linear segment in the input dispersion range (α2 , α1 ) has slope λb /Cb and intercept s/Cb , where b is the index of the tight link: gI α1 ≤ gI ≤ ∞ γN (gI , s) = gI λb + s . (12) α2 ≤ gI ≤ α1 Cb
2.4 Rate Response Curves To extract bandwidth information from the output dispersion γN , it is often more helpful to look at the rate response curve, i.e., the functional relation between the output rate rO = s/γN and the input rate rI = s/gI . However, since 4
this relation is not linear, we adopt a transformed version first proposed by Melander et al. [14], which depicts the relation between the ratio rI /rO and rI . Denoting this rate response curve by F˜ (rI ), we have (14)
α2
α1
8 6
s/α3
one-hop persistent path persistent single-hop curve
2.5 2
4
1.5
2
1
0
0.5 0
This transformed version of the rate response curve is also piece-wise linear. It is easy to see that the first turning point in the rate curve is s/α1 = Ap and that the rate curve in the input rate range (0, s/α2 ) can be expressed as 1 rI ≤ AP . (15) F˜ (rI ) = λb + rI s ≥ rI ≥ AP Cb α2
s/α1s/α2
3
one-hop persistent path persistent lower bound
rI/rO
output dispersion γN (ms)
rI γN (gI , s) F˜ (rI ) = = . rO gI
α3
10
2 4 6 8 input dispersion gI (ms)
(a) gap response curve
10
0
2
4 6 input rate rI (ms)
8
10
(b) rate response curve
Figure 1: An example of multi-hop response curves.
we adopted, the rate curve for one-hop persistent routing still remains as an upper bound for the rate curves associated with the other routing patterns. From Fig. 1(b), we also see that, similar to the gap curves, the two multi-hop ˜ I ) (i.e., the rate response curves and their lower bound S(r transformed rate version of S(gI , s)) share the same first and second linear segments.
Finally, it is also important to notice that the rate response curve F˜ (rI ) does not depend on the probing packet size s. This is because, for any given input rate rI , both γN (gI , s) and gI are proportional to s. Consequently, the ratio between these two terms remains a constant for any s.
2.5 Examples 2.6 Discussion
We use a simple example to illustrate the properties of the fluid response curves. Suppose that we have a 3-hop path with equal capacity Ci = 10mb/s, i = 1, 2, 3. We consider two routing matrices and flow rate settings that lead to the same link load at each hop. In the first setting, the flow rate vector x = (4, 7, 8) and the routing pattern is one-hop persistent, i.e., R = diag(1, 1, 1). In the second setting, the flow rate vector x = (4, 3, 1) and the routing pattern is path persistent. That is, 1 1 1 R = 0 1 1 . (16) 0 0 1
We conclude this section by discussing several major challenges in extending the response curve analysis to a multihop path carrying bursty cross-traffic flows. First, notice that with bursty cross-traffic, even when the input dispersion and packet-train parameters remain constant, the output dispersion becomes random, rather than deterministic as in fluid cross-traffic. The gap response curve Z, defined as the functional relation between the statistical mean of the output dispersion and the input dispersion, is much more difficult to penetrate than the fluid curve F . Second, unlike in the fluid case, where both packet-train length n and probing packet size s have no impact on the rate response curve F˜ (rI ), the response curves in bursty cross-traffic are strongly related to these two packet-train parameters. Finally, a full characterization of a fluid flow only requires one parameter – its arrival rate, while a full characterization of a bursty flow requires several stochastic processes. In what follows, we address these problems and extend our analysis to multi-hop paths with bursty cross-traffic.
Both of the settings result in the same path configuration matrix 10 10 10 H= . (17) 4 7 8
The probing packet size s is 1500 bytes. The fluid gap response curves for the two routing patterns are plotted in Fig. 1(a). In this example, both curves have 4 linear segments separated by turning points α1 = 6ms, α2 = 4ms, and α3 = 2ms. Note that part of the curve for pathpersistent routing appears below the one for one-hop persistent routing. The lower bound S identified in Property 4 is also plotted in the figure. This lower bound is the gap response curve of the single-hop path comprising only the tight link L3 . The rate response curves for the two examples are given in Fig. 1(b), where the three turning points are 2mb/s, 3mb/s, and 6mb/s respectively. Due to the transformation
3 Basics of Non-Fluid Analysis In this section, we present a stochastic formulation of the multi-hop bandwidth measurement problem and derive a recursive expression for the output dispersion random variable. This expression is a fundamental result that the asymptotic analysis in Section 4 is based upon. 5
{Vi (p, t)} {Yi,δ (p, t)} {Wi (p, t)} {Di,δ (p, t)} {Ui (p, t)} {Bi,δ (p, t)}
3.1 Formulating Bursty Flows We keep most of the notations the same as in the previous section, although some of the terms are extended to have a different meaning, which we explain shortly. Since crosstraffic flows now become bursty flows of data packets, we adopt the definitions of several random processes (Definition 1-6) in [9] to characterize them. However, these definitions need to be refined to be specific to a given router and flow aggregation. In what follows, we only give the definitions of two random processes and skip the others. The notations for all six random processes are given in Table 3.1.
Cumulative arrival process at Li w.r.t. p Cross-traffic intensity process at Li w.r.t. p Hop workload process at Li w.r.t. p Workload-difference process at Li w.r.t. p Hop utilization process at Li w.r.t. p Available bandwidth process at Li w.r.t. p
Table 1: Random process notations Assumption 2 For any two flows j and l that enter the path at link Li , the two processes {Vi (fj , t)} and {Vi (fl , t)} are independent. Specifically, for any two time instances t1 and t2 , the two random variables Vi (fj , t1 ) and Vi (fl , t2 ) are independent.
Definition 2 The cumulative traffic arrival process of flow aggregation p at link Li , denoted as {Vi (p, t), 0 ≤ t < ∞} is a random process counting the total amount of data (in bits) received by hop Li from flow aggregation p up to time instance t.
As a consequence of the two assumptions we made, the ergodic stationary property also holds for any flow aggregations at their entering link. Corollary 1 For any flow aggregation p that enters the path at link Li , i.e., p ⊙ ei = p, the process {Vi (p, t)} has ergodic stationary increments. Consequently, the traffic intensity random variable Yi,δ (p) converges to xp in the mean-square sense 2 lim E Yi,δ (p) − xp = 0. (19)
Definition 3 Hop workload process of Li with respect to flow aggregation p, denoted as {Wi (p, t), 0 ≤ t < ∞} indicates the sum at time instance t of service times of all packets in the queue and the remaining service time of the packet in service, assuming that flow aggregation p is the only traffic passing through link Li .
δ→∞
Due to Szczotka [18], [19], the workload process {Wi (p, t)} will “inherit” the ergodic stationarity property from the traffic arrival process {Vi (p, t)}. This property is further carried over to the δ-interval workload-difference process {Di,δ (p, t)} and the available bandwidth process {Bi,δ (p, t)}. This distributional stationarity allows us to focus on the corresponding random variables Wi (p), Di,δ (p), and Bi,δ (p). It is easy to get, from their definitions, that the statistical means of Di,δ (p) and Bi,δ (p) are 0 and Ci − xp, respectively6. Further, the ergodicity property leads to the following result.
We next make several modeling assumptions on crosstraffic flows. First, we assume that all flows have stationary arrivals. Assumption 1 For any cross-traffic flow j that enters the path from link Li , the cumulative traffic arrival process {Vi (fj , t)} has ergodic stationary increments. That is, for any δ > 0, the δ-interval traffic intensity process {Yi,δ (fj , t)} is a mean-square ergodic process with timeinvariant distribution and ensemble mean xj . We explain this assumption in more details. First, the stationary increment assumption implies that the increment process of {Vi (fj , t)} for any given time interval δ, namely {Vi (fj , t + δ) − Vi (fj , t) = δYi,δ (fj , t)}, has a time-invariant distribution. This further implies that the δ-interval traffic intensity process {Yi,δ (fj , t)} is identically distributed, whose marginal distribution at any time instance t can be described by the same random variable Yi,δ (fj ). Second, the mean-square ergodicity implies that, as the observation interval δ increases, the random variable Yi,δ (fj ) converges to xj in the mean-square sense. In other words, the variance of Yi,δ (fj ) decays to 0 as δ → ∞, i.e., 2 lim E Yi,δ (fj ) − xj = 0. (18)
Lemma 1 For any flow aggregation p that enter the path at link Li , the random variable Bi,δ (p) converges in the mean-square sense to Ci − xp as δ → ∞, i.e., 2 lim E Bi,δ (p) − (Ci − xp) = 0. (20) δ→∞
On the other hand, notice that unlike {Yi,δ (p, t)} and {Bi,δ (p, t)}, the workload-difference process {Di,δ (p, t)} is not a moving average process by nature. Consequently, the mean-square ergodicity of {Di,δ (p, t)} does not cause the variance of Di,δ (p) to decay with respect to the increase of δ. Instead, we have the following lemma. Lemma 2 The variance of the random variable Di,δ (p) converges to 2V ar[Wi (p)] as δ increases: 2 lim E Di,δ (p) − 0 = 2V ar [Wi (p)] . (21)
δ→∞
Our next assumption states the independent relationship between different flows that enter path P at the same link.
δ→∞
6
and n constant. This relationship, previously denoted by Z, is called the gap response curve of path P. Notice that the ergodic stationarity of cross-traffic arrival, as we assumed previously, can reduce our response curve analysis to the investigation of a single random variable. This is because each packet-train comes to see a multi-hop system of the same stochastic nature and the output dispersion process {GN (m), 1 ≤ m < ∞} is an identically distributed random sequence, which can be described by the output dispersion random variable GN . The samplepath time average of the output dispersion process coincides with the mean of the random variable GN 7 . Therefore, in the rest of the paper, we focus on the statistics of GN and drop the index m. In our later analysis, we compare the gap response curve of P with that of the fluid counterpart of P and prove that the former is lower-bounded by the latter.
To obtain our later results, not only do we need to know the asymptotic variance of Yi,δ (p), Di,δ (p) and Bi,δ (p) when δ approaches infinity, but also we often rely on their variance being uniformly bounded (for any δ) by some constant. This condition can be easily justified from a practical standpoint. First note that cross-traffic arrival rate is bounded by the capacities of incoming links at a given router. Suppose that the sum of all incoming link capacities at hop Li is C+ , then Yi,δ (p) is distributed in a finite interval [0, C+ ] and its variance is uniformly bounded by 2 the constant C+ for any observation interval δ. Similarly, the variance of Bi,δ (p) is uniformly bounded by the constant Ci2 . The variance of Di,δ (p) is uniformly bounded by the constant 4V ar[Wi (p)] for any δ, which directly follows from the definition of Di,δ (p). Finally, we remind that some of the notations introduced in Section 2.1 now are used with a different meaning. The rate of the bursty cross-traffic flow j, denoted by xj , is the probabilistic mean of the traffic intensity random variable Yi,δ (fj ), which is also the long-term average arrival rate of flow j at any link it traverses. The term λi = xri becomes the long-term average arrival rate of the aggregated crosstraffic at link Li . The term Ai = Ci − λi is the longterm average hop available bandwidth at link Li . Again recall that we explicitly target the measurement of longterm averages of available bandwidth and/or cross-traffic intensity, instead of the corresponding metrics in a certain time interval.
Definition 4 Suppose that path P has a routing matrix R and a flow rate vector x and that path P˜ has a routing ˜ and a flow rate vector x ˜ . P˜ is called the fluid matrix R counterpart of P if 1) all cross-traffic flows traversing P˜ are constant-rate fluid; 2) the two paths P˜ and P have the same configuration matrix; and 3) there exists a row˜ and T x = x ˜. exchange matrix T , such that T R = R From this definition, we see that for every flow j in P, there is a corresponding fluid flow j ′ in the fluid counterpart of P such that flow j ′ have the same average intensity and routing pattern as those of flow j. Note that the third condition in Definition 4 is made to allow the two flows have different indices, i.e., to allow j 6= j ′ . A second focus of this paper is to study the impact of packet-train parameters s and n on the response curves. That is, for any given input rate rI and other parameters fixed, we examine the convergence properties of the output dispersion random variable GN (s/rI , s, n) as s or n tends to infinity.
3.2 Formulating Packet Train Probing We now consider an infinite series of packet-trains with input inter-packet dispersion gI , packet size s, and packettrain length n. This series is driven to path P by a point process Λ(t) = max{m ≥ 0 : Tm ≤ t} with sufficient large inter-probing separation. Let d1 (m, i) and dn (m, i) be the departure time instances from link Li of the first and last probing packets in the mth packet-train. We define the sampling interval of the packet-train as the total spacing ∆ = dn (m, i) − d1 (m, i), and the output dispersion as the average spacing G = ∆/(n − 1) of the packet-train. Both ∆ and G are random variables, whose statistics might depend on several factors such as the input dispersion gI , the packet-train parameters s and n, the packet-train index m in the probing series, and the hop Li that the output dispersion G is associated with. Therefore, a full version of G is written as Gi (gI , s, n, m). However, for notation brevity, we often omit the parameters that have little relevance to the topic under discussion. We now formally state the questions we address in this paper. Note that a realization of the stochastic process {GN (gI , s, n, m), 1 ≤ m < ∞} is just a packet-train probing experiment. We examine the sample-path time-average of this process and its relationship to gI when keeping s
3.3 Recursive Expression of GN We keep input packet-train parameters gI , s, and n constant and next obtain a basic expression for the output dispersion random variable GN . Lemma 3 Letting G0 = gI , the random variable Gi has the following recursive expression Gi
=
i X Yk,∆k−1 (Γk,i )Gk−1 s I˜i + + Ci Ci n−1 k=1
=
Gi−1 +
Di,∆i−1 (ei ) Ri + , n−1 n−1
(22)
where the term Ri is a random variable representing the extra queuing delay8 (besides the queuing delay caused by 7
the workload process {Wi (ei , t)}) experienced at Li by the last probing packet in the train. The term I˜i is another random variable indicating the hop idle time of Li during the sampling interval of the packet train.
Proof: We apply mathematical induction to i. When i = 0, E[G0 ] = γ0 = gI . Assuming that (25) holds for 0 ≤ i < N , we next prove that it also holds for i = N . Recalling (24), we have PN xΓk,N E[Gk−1 ] + s E[GN ] ≥ max E[GN −1 ], k=1 CN PN xΓk,N γk−1 + s = γN , ≥ max γN −1 , k=1 CN
This result is very similar to Lemma 5 in [9]. However, due to the random input packet-train structure at Li , all but the term s/Ci in (22) become random variables. Some terms, such as Di,∆i−1 (ei ) and Yk,∆k−1 (Γk,i ), even have two dimensions of randomness. To understand the behavior of probing response curves, we need to investigate the statistical properties of each term in (22).
where the second inequality is due to the induction hypothesis, and the last equality is because of Theorem 1. Theorem 2 shows that in the entire input gap range, the piece-wise linear fluid gap response curve F discussed in Section 2 is a lower bound of the real gap curve Z. The deviation between the real curve Z and its fluid lower bound F , which is denoted by βN (gI , s, n) or βN for short, can be recursively expressed in the following, where we let β0 = 0: E[Ri ] βi−1 + γi = γi−1 n−1 βi = . E[I˜i ] 1 Pi xΓ β + γ > γ k,i k−1 i i−1 Ci k=1 n−1 (26) In what follows, we study the asymptotics of the curve deviation βN when input packet-train parameters s or n becomes large and show that the fluid lower bound F is in fact a tight bound of the real response curve Z.
4 Response Curves in Bursty Cross-Traffic In this section, we first show that the gap response curve Z = E[GN (gI , s, n)] of a multi-hop path P is lower bounded by its fluid counterpart F = γN (gI , s). We then investigate the impact of packet-train parameters on Z.
4.1 Relation Between Z and F Our next lemma shows that passing through a link can only increase the dispersion random variable in mean. Lemma 4 For 1 ≤ i ≤ N , the output dispersion random variable Gi has a mean no less than that of Gi−1 . That is, E[Gi ] ≥ E[Gi−1 ]. Using the first part of (22), our next lemma shows that for any link Li , the output dispersion random variable Gi is lower bounded in mean by a linear combination of the output dispersion random variables Gk , where k < i.
4.2 Impact of Packet Train Parameters We now demonstrate that for any input probing rate rI , the curve deviation βN (s/rI , s, n) vanishes as probing packet size s approaches infinity. We prove this result under the condition of one-hop persistent cross-traffic routing. We also justify this conclusion informally for arbitrary crosstraffic routing and point out the major difficulty in obtaining a rigorous proof. First, we make an additional assumption as follows.
Lemma 5 For 1 ≤ i ≤ N , the output dispersion random variable Gi satisfies the following inequality ! i 1 X E[Gi ] ≥ xΓk,i E[Gk−1 ] + s . (23) Ci k=1
Assumption 3 Denoting by Pi,δ (x) the distribution function of the δ-interval available bandwidth process {Bi,δ (ei , t)}, we assume that for all 1 ≤ i ≤ N , the following holds 1 r < Ci − xei Pi,δ (r) = o δ 2 . (27) 1 r > C − xe Pi,δ (r) = 1 − o i i δ2
From Lemma 4 and Lemma 5, we get E[Gi ] ≥ max E[Gi−1 ],
Pi
k=1
xΓk,i E[Gk−1 ] + s Ci
!
.
(24)
This leads to the following theorem. Theorem 2 For any input dispersion gI , packet-train parameters s and n, the output dispersion random variable GN of path P is lower bounded in mean by the output dispersion γN (gI , s) of the fluid counterpart of P: E[GN (gI , s, n)] ≥ γN (gI , s).
Recall that the mean-square ergodicity assumption we made earlier implies that as the observation interval δ gets large, the random variable Bi,δ (ei ) converges in distribution to Ci − xei . Assumption 3 further ensures that this convergence is fast in the sense of (27). Even though this
(25) 8
wether it enters the path from Li or some upstream link of Li ) exhibits ergodic stationary arrival at Li . Under this assumption, which we call “stationary departure approximation,” it becomes easy to extend Theorem 4 to cover arbitrary cross-traffic routing patterns. We skip the details of this step and next apply the stationary departure approximation to examine the impact of packet-train length n on the response curve Z.
condition appears cryptic at first, it is valid in a broad range of cross-traffic environments. The next theorem shows the validity of this assumption under the condition of regenerative9 link utilization. Theorem 3 When hop utilization process {Ui (ei , t)} is regenerative, condition (27) holds. Note that regenerative queue is very common both in practice and in stochastic modeling literature. In fact, all the four traffic types used in [9] lead to regenerative hop workload and consequently lead to regenerative link utilization. We also conjecture that (27) holds under a much milder condition, but we leave its identification as future work. Our next theorem states formally the convergence property of the output dispersion random variable GN (s/rI , s, n) when s increases.
Theorem 5 Under the first two assumptions and the “stationary departure approximation”, for any N -hop path P with arbitrary cross-traffic routing, for any input dispersion gI ∈ (0, ∞) and any probing packet size s, the random variable GN converges to its fluid lower bound γN in the mean-square sense as n → ∞, h i 2 lim E (GN (gI , s, n) − γN (gI , s)) = 0. (30) n→∞
Let us make several comments on the conditions of this result. First note that Assumption 3 is not necessary in this theorem. Also notice that in a single-hop path (i.e., N = 1), the theorem can be proved without the stationary departure approximation. However, in the multi-hop cases, the approximation is needed even when cross-traffic routing is one-hop persistent. The reason is that when n is large, the probing packet-train is also viewed as a flow, whose arrival characteristics at all but the first hop are addressed by the stationary departure approximation. Theorem 5 shows that when the packet-train length n increases while keeping s constant, not only E[GN ] converges to its fluid bound γN , but also the variance of GN decays to 0. This means that we can expect almost the same output dispersion in different probings.
Theorem 4 Given one-hop persistent cross-traffic routing and the three assumptions made in the paper, for any input rate rI , the output dispersion random variable GN of path P converges in mean to its fluid lower bound γN : s s , s, n − γN ,s = 0. (28) lim E GN s→∞ rI rI The asymptotic variance of GN when s increases is upper bounded by some constant KN : " 2 # s s lim E GN , s, n − γN ,s ≤ KN . s→∞ rI rI (29) Note that the bounded variance, as stated in (29), is an inseparable part of the whole theorem. This is because Theorem 4 is proved using mathematical induction, where the mean convergence of GN to γN can be obtained only when the mean of GN −1 converges to γN −1 and when the variance of GN −1 remains bounded, as probing packet size s → ∞. We further point out that by assuming one-hop persistent cross-traffic routing, we have avoided analyzing the departure processes of cross-traffic flows. When a traversing flow of link Li enters the path from some upstream link of Li , the arrival process of the flow at Li is its departure process at Li−1 . Unfortunately, in the queueing theory literature, there is no exact result for departure processes in FCFS queueing models if one goes beyond the assumption of Poisson arrivals. Motivated by the intractability of this problem, researchers have focused their attentions on approximations [12], [15]. To accommodate arbitrary cross-traffic routing patterns, we also need an approximation assumption which says that any cross-traffic flow that traverses link Li (regardless of
4.3 Discussion Among the assumptions in this paper, some are critical in leading to our results while others are only meant to simplify discussion. We point out that the distributional stationarity assumption on cross-traffic arrivals can be greatly relaxed without harming our major results. However, this comes at the expense of much more intricate derivations. This is because when cross-traffic arrivals are allowed to be only second-order stationary or even non-stationary, the output dispersion process {GN (m)} will no longer be identically distributed. Consequently, the analysis of probing response curves cannot be reduced to the investigation of a single output dispersion random variable. Moreover, we also have to rely on an ASTA assumption on packettrain probing [9] to derive the results in this paper, which we have avoided in the present setting. Also note that the inter-flow independence assumption is made to maintain the distributional stationarity of crosstraffic arrivals at a flow aggregation level. It only helps us 9
s/α1
avoid unnecessary mathematical rigor and is insignificant in supporting our major conclusions. On the other hand, the mean-square ergodicity plays a central role in the (omitted) proofs for Theorem 4 and Theorem 5. A cross-traffic flow with mean-square ergodicity, when observed in a large timescale, has an almost constant arrival rate. This “asymptotically fluid like” property, is very common among the vast majority of traffic models in stochastic literature, and can be decoupled from any type of traffic stationarity. Consequently, our results have a broad applicability in practice. Next, we provide experimental evidence for our theoretical results using testbed experiments and real Internet measurement data.
s/α2
s/α3
s/α1
2.4
2 1.8
n=2 n=9 n=33 n=65 m-fluid s-fluid
2.2 rI/(s/E[GN])
rI/(s/E[GN])
2.2
s/α2
s/α3
2.4
1.6
2 1.8 1.6
1.4
1.4
1.2
1.2
1
n=2 n=9 n=33 n=65 m-fluid s-fluid
1 10 20 30 40 50 60 70 80 90 100 Probing Input Rate rI (mb/s)
(a) one-hop persistent routing
10 20 30 40 50 60 70 80 90 100 Probing Input Rate rI (mb/s)
(b) path-persistent routing
Figure 2: Measured response curves using different packet train-length in the Emulab testbed. for each input rate is evenly separated during the whole testing period. This experiment not only allows us to measure the response curve for n = 65, but also for any packet-train length k such that 2 ≤ k < n = 65, by simply taking the dispersions of the first k packets in each train. Fig. 2(a) ˜ I , s, n) for k = 2, 9, 33 shows the rate response curve Z(r and 65 respectively. For comparison purposes, we also plot in the figure the multi-hop fluid curve F˜ (rI ), computed ˜ I ) of from Theorem 1, and the single-hop fluid curve S(r ˜ the tight link L3 . The rate response curves Z(rI , s, n) is defined as follows
5 Experimental Verification In this section, we measure the response curves in both testbed and real Internet environments. The results not only provide experimental evidence to our theory, but also give quantitative ideas of the curve deviation given in (26). To obtain the statistical mean of the probing output dispersions, we rely on direct measurements using a number of probing samples. Even though this approach can hardly produce a smooth response curve, the bright side is that it allows us to observe the output dispersion variance, reflected by the degree of smoothness of the measured response curve.
˜ I , s, n) = Z(r
rI . s/E[GN (s/rI , s, n)]
(32)
First note that the multi-hop fluid rate curve comprises four linear segments separated by turning points 36mb/s, 56mb/s, and 76mb/s. The last two linear segments have very close slopes and they are not easily distinguishable from each other in the figure. We also clearly see that the rate curve asymptotically approaches its fluid lower bound as packet-train length n increases. The curves for n = 33 and n = 65 almost coincide with the fluid bound. Also note that the smoothness of the measurement curve reflects the variance of the output dispersion random variables. As the packet train length increases, the measured curve becomes smoother, indicating the fact that the variance of the output dispersions is decaying. These observations are all in agreement with those stated in Theorem 5. Unlike single-hop response curves, which have no deviation from the fluid bound when the input rate rI is greater than the link capacity, multi-hop response curves usually deviate from its fluid counterpart in the entire input range. As we see from Fig. 2(a), even when the input rate is larger than 96mb/s, the measured curves still appear above F˜ . Also observe that the single-hop fluid curve S˜ of the tight link L3 coincides with the multi-hop fluid curve F˜ within the input rate range (0, 56) but falls below F˜ in the input rate range (56, ∞). Finally, we explain why we choose the link capacities to
5.1 Testbed Experiments In our first experiment, we measure in the Emulab testbed [1] the response curves of a three-hop path with the following configuration matrix (all in mb/s) and one-hop persistent cross-traffic routing 96 96 96 H= . (31) 20 40 60 We generate cross-traffic using three NLANR [2] traces. All inter-packet delays in each trace are scaled by a common factor so that the average rate during the trace duration becomes the desired value. The trace durations after scaling are 1-2 minutes. We measure the average output dispersions at 100 input rates, from 1mb/s to 100mb/s with 1mb/s increasing step. For each input rate, we use 500 packettrains with packet size 1500 bytes. The packet train length n is 65. The inter-probing delay is controlled by a random variable with sufficiently large mean. The whole experiment lasts for about 73 minutes. All three traffic traces are replayed at random starting points once the previous round is finished. By recycling the same traces in this fashion, we make the cross-traffic last until the experiment ends without creating periodicity. Also note that the packet-trains are injected with their input rates so arranged that the 500 trains 10
2.2
n=2 n=3 n=5 n=9 n=17 n=33 s-fluid
2
rI/(s/E[GN])
1.8 1.6 1.4 1.2
2.4 2.2 2 rI/(s/E[GN])
be 96mb/s instead of the fast ethernet capacity 100mb/s. In fact, we did set the link capacity to be 100mb/s. However, we noticed that the measured curves can not get arbitrarily close to their fluid bound F˜ computed based on the fast ethernet capacity. Using pathload to examine the true capacity of each Emulab link, we found that their IP layer capacities are in fact 96mb/s, not the same as their nominal value 100mb/s. In our second experiment, we change the cross-traffic routing to path-persistent while keeping the path configuration matrix the same as given by (31). Therefore, the flow rate vector now becomes (20, 20, 20). We repeat the same packet-train probing experiment and the results are plotted in Fig. 2(b). The multi-hop fluid rate curve F˜ still coincides with S˜ in the input rate range (0, 56). When input rate is larger than 56mb/s, the curve ˜ However, the amount of F˜ positively deviates from S. deviation is smaller than that in one-hop persistent routing. The measured curve approaches the fluid lower bound F˜ with decaying variance as packet-train length increases. For n = 33 and n = 65, the measured curves become ˜ hardly distinguishable from F. We have conducted experiments using paths with more hops, with more complicated cross-traffic routing patterns, and with various path configurations. Furthermore, we examined the impact of probing packet size using ns2 simulations, where the packet size can be set to any large values. Results obtained (not shown for brevity) all support our theory very well.
n=9 n=17 n=33 n=65 n=129
1.8 1.6 1.4 1.2
1
1 20
40 60 80 100 120 140 Probing Input Rate rI (mb/s)
(a) lulea → CMU
20
40 60 80 100 120 140 Probing Input Rate rI (mb/s)
(b) pwh → NYU
Figure 3: Measured response curves of two Internet paths in RON testbed . curve approaches a piece-wise linear bound as packet-train length increases. At the same time, response curves measured using long trains are smoother than those measured using short trains, indicating the decaying variance of output dispersions. In this experiment, the curve measured using probing trains of 33-packet length exhibits sufficient smoothness and clear piece-wise linearity. We have observed two linear segments from the figure. A further investigation shows that the fluid bound of this 19-hop path only has two linear segments. Based on (15), we apply linear regression on the second linear segment to compute the capacity Cb and the crosstraffic intensity λb of the tight link and get Cb = 96mb/s and λb = 2mb/s. Using these results, we retroactively plot the single-hop fluid bounds and observe that it almost overlaps with the measured curve using packet-trains of 33packet length. Notice that the bottleneck link is under very light utilization during our 24-minute measurement period. We can also infer based on our measurement that the available bandwidth of the path is constrained mainly by the capacity of the bottleneck link and that the probing packettrains have undergone significant interaction with crosstraffic at non-bottleneck links. Otherwise, according to Theorem 3 in [9], the response curves measured using short train lengths would not have appeared above the single-hop fluid bound when the input rate is larger than the tight link capacity 96mb/s. We believe that the tight link of the path is one of the last-mile lightly utilized fast-ethernet links and that the backbone links are transmitting significant amount of cross-traffic even though they still have available bandwidth much more than the fast-ethernet capacity. Also notice that similar to our testbed experiments, fast-ethernet links only have 96mb/s IP-layer capacity. We repeat the same experiment on another path from the RON node pwh in Sunnyvale California to the NYU RON node. This path has 13 hops and a fast-ethernet minimum capacity. Due to substantial cross-traffic burstiness along the path, we use packet-trains of 129-packet length in our probing experiment. The other parameters such as the input rates and the number of trains used for each rate are
5.2 Real Internet Measurements We conducted packet-train probing experiments on several Internet paths in the RON testbed to verify our analysis in real networks. Since neither the path configuration nor the cross-traffic routing information is available for these Internet paths, we are unable to provide the fluid bounds. Therefore, we verify our theory by observing the convergence of the measured curves to a piece-wise linear curve as packettrain length increases. In the first experiment, we measure the rate response curve of the path from the RON node lulea in Sweden to the RON node at CMU. The path has 19 hops and a fastethernet minimum capacity, as we find out using traceroute and pathrate. We probe the path at 29 different input rates, from 10mb/s to 150mb/s with a 5mb/s increasing step. For each input rate, we use 200 packet-trains of 33 packets each to estimate the output probing rate s/E[GN ]. The whole experiment takes about 24 minutes. Again, the 200 packet-trains for each of the 29 input rates are so arranged that they are approximately evenly separated during the 24minute testing period. The measured rate response curves associated with packet-train length 2, 3, 5, 9, 17, and 33 are plotted in Fig. 3(a), where we see that the response 11
the same as in the previous experiment. The whole measurement duration is about 20 minutes. The measured response curves are plotted in Fig. 3(b). As we see, the results exhibit more measurement variability compared to the lulea→CMU path. However, as packet-train length increases, the variability is gradually smoothed out and the response curve converges to a piece-wise linear bound. We again apply linear regression on the response curve with packet-train length 129 to obtain the tight link information. We get Cb = 80mb/s and λb = 3mb/s, which does not agree with the minimum capacity reported by pathrate. We believe that pathrate reported the correct information. Our underestimation is most probably due to the fact that there are links along the path with very similar available bandwidth. Consequently, the second linear segment become too short to detect. The linear segment we are acting upon is likely to be a latter one. This experiment confirms our analysis, at the same time shows some of the potential difficulties in exacting tight link information from the response curves.
rI /rO Elastic Deviation
Z˜ F˜
Non-elastic Deviation
S˜ Elastic Deviation
rI AP
Cb
s/α2
Cb′
Figure 4: Illustration of two types of curve deviations. It is shown in [9] that the spruce estimator is unbiased in single-hop paths regardless of the packet-train parameters s and n. This means that the statistical mean of (33) is equal to AP for any s > 0 and any n ≥ 2. In a multi-hop path P, a necessary condition to maintain the unbiasedness property of the spruce estimator is ˜ b , s, n) = λb + Cb = S(C ˜ b ). Z(C Cb
6 Implications We now discuss the implications of our results on existing measurement proposals. Except for pathChirp, all other techniques such as TOPP, pathload, PTR, and Spruce are related to our analysis.
(34)
This means that at the input rate point Cb , the real rate response of path P must be equal to the single-hop fluid rate response at the tight link of P. This condition is usually not satisfied. Instead, due to Theorem 2 and Property 4, we have
6.1 TOPP
˜ b , s, n) ≥ F˜ (Cb ) ≥ S(C ˜ b ). Z(C
TOPP is based on multi-hop fluid rate response curve F˜ with one-hop persistent cross-traffic routing. TOPP uses ˜ and packet-pairs to measure the real rate response curve Z, assumes that the measured curve will be the same as F˜ when a large number of packet-pairs are used. However, our analysis shows that the real curve Z˜ is different from F˜ , especially when packet-trains of short length are used (e.g., packet-pairs). Note that there is not much path information in Z˜ that is readily extractable unless it is sufficiently close to its fluid counterpart F˜ . Hence, to put TOPP to work in practice, one must use long packet-trains instead of packetpairs.
(35)
This implies that (33) is a negatively biased estimator of AP . The amount of bias is given by ˜ b , s, n) − F(C ˜ b ) + Cb F˜ (Cb ) − S(C ˜ b ) . (36) Cb Z(C
The first additive term in (36) is the measurement bias caused by the curve deviation of Z˜ from F˜ at input rate Cb , which vanishes as n → ∞ due to Theorem 5. Hence we call it elastic bias. The second additive term is the portion of measurement bias caused by the curve deviation of F˜ from S˜ at input rate Cb , which remains constant with respect to the packet-train parameters s and n. Therefore it is non-elastic. We illustrate the two types of curve deviations in Fig. 4. Note that when Cb < s/α2 , non-elastic bias is 0. Further recall that s/α2 ≥ Ab2 as stated in Property 3. Hence, a sufficient condition for zero non-elastic bias is Cb ≤ Ab2 . Conceptually, elastic deviation stems from cross-traffic burstiness and non-elastic deviation is a consequence of multi-hop effects. In Table 2, we give the amount measurement bias caused by the two types of curve deviations in both the Emulab testbed experiments and the real Internet probing measurement on the path from lulea to CMU. Note that in the
6.2 Spruce Using the notations in this paper, we can write spruce’s available bandwidth estimator as follows GN (s/Cb , s, n) − s/Cb Cb 1 − , (33) s/Cb where the probing packet size s is set to 1500bytes, the packet-train length n = 2, and the bottleneck link capacity Cb is assumed known. 12
experiment Emulab-1 Emulab-2 lulea-cmu
elastic bias 0.56 × 96 0.28 × 96 0.25 × 96
non-elastic bias 0.315 × 96 0.125 × 96 0
total bias 74.4 38.8 24
increasing trend within a packet-train, which is different ˜ I , s, n) is from examining whether the rate response Z(r greater than one [7]. However, since there is a strong sta˜ I , s, n) tistical correlation between a high rate response Z(r and the one-way-delay increasing tend within packettrains, our analysis can explain the behavior of pathload to a certain extent. Recall that, as reported in [6], pathload underestimates available bandwidth when there are multiple tight links along the path. Our results demonstrate ˜ I , s, n) from F˜ in the input rate that the deviation of Z(r range (0, AP ) gives rise to a potential underestimation in pathload. The underestimation is maximized and becomes clearly noticeable when non-bottleneck links have the same available bandwidth as AP , given that the other factors are kept the same. Even through multiple tight links cause one-way-delay increasing trend for packet-trains with input rate less than AP , this is not an indication that the network can not sustain such an input rate. Rather, the increasing trend is a transient phenomenon resulting from probing intrusion residual, and it disappears when the input packet-train is sufficiently long. Hence, it is our new observation that by further increasing the packet-train length, the underestimation in pathload can be mitigated.
Table 2: Spruce bias in Emulab and Internet experiment (in mb/s). testbed experiment using a 3-hop path with one-hop persistent routing, spruce suffers about 74mb/s measurement bias, which is twice as much as the actual path available bandwidth 36mb/s. In the second Emulab experiment using path-persistent cross-traffic, the measurement bias is reduced to 38.8mb/s, which however is still more than the actual available bandwidth. In both cases, spruce estimator converges to negative values. We used spruce to estimate the two paths and it did in fact give 0mb/s results in both cases. For the Internet path from lulea to CMU, spruce suffers 24mb/s negative bias and produces a measurement result less than 70mb/s, while the real value is around 94mb/s. We also use pathload to measure the three paths and observe that it produces pretty accurate results. The way to reduce elastic-bias is to use long packettrains instead of packet-pairs. In the lulea→CMU experiment, using packet-trains of 33-packet, spruce can almost completely overcome the 24mb/s bias and produce an accurate result. However, there are two problems of using long packet-trains. First, there is not a deterministic train length that guarantees negligible measurement bias on any network path. Second, when router buffer space is limited and packet-train length are too large, the later probing packets in each train may experience frequent loss, making it impossible to accurately measure F˜ (Cb ). After all, spruce uses input rate Cb , which can be too high for the bottleneck router to accommodate long packet-trains. On the other hand, note that non-elastic bias is an inherit problem for spruce. There is no way to overcome it by adjusting packet-train parameters.
7 Related Work Besides the measurement techniques we discussed earlier, Melander et al. [13] first discussed the rate response curve of a multi-hop network path carrying fluid cross-traffic with one-hop persistent routing pattern. Dovrolis et al. [3], [4] considered the impact of cross-traffic routing on the output dispersion rate of a packet-train. It was also pointed out that the output rate of a back-to-back input packet-train (input rate rI = C1 , the capacity of the first hop L1 ) converges to a point they call “asymptotic dispersion rate (ADR)” as packet-train length increases. The authors provided an informal justification as to why ADR can be computed using fluid cross-traffic. They demonstrated the computation of ADR for several special path conditions. Note that using the notations in this paper, ADR can be expressed as
6.3 PTR and pathload PTR searches the first turning point in the response curve ˜ I , s, n) and takes the input rate at the turning point as Z(r the path available bandwidth AP . This method can produce accurate result when the real response curve Z˜ is close to F˜ , which requires packet-train length n to be sufficiently large. Otherwise, PTR is also negatively biased and underestimates AP . The minimum packet-train length needed is dependent on the path conditions. The current version of PTR use packet train length n = 60, which is probably insufficient for the Internet path from pwh to CMU experimented in this paper. Pathload is in spirit similar to PTR. However, it searches the available bandwidth region by detecting one-way-delay
lim
n→∞
s s = . GN (s/C1 , s, n) γN (s/C1 , s)
(37)
Our work not only formally explains previous findings, but also generalizes them to such an extent that allows any input rate and any path conditions. Kang et al. [8] analyzed the gap response of a singlehop path with bursty cross-traffic using packet-pairs. The paper had a focus on large input probing rate. Liu et al. extended the single-hop analysis for packet-pairs [11] and packet-trains [9] to arbitrary input rates and discussed the impact of packet-train parameters. 13
8 Conclusion
[10] X. Liu, K. Ravindran, and D. Loguinov, “Multi-Hop Probing Asymptotics in Available Bandwidth Estimation: Stochastic Analysis,” Technical report, CUNY, Available at http://www.cs.gc.cuny.edu/tr/TR-2005010.pdf, August 2005.
This paper provides a stochastic characterization of packettrain bandwidth estimation in a multi-hop path with arbitrarily routed cross-traffic flows. Our main contributions include derivation of the multi-hop fluid response curve as well as the real response curve and investigation of the convergence properties of the real response curve with respect to packet-train parameters. The insights provided in this paper not only help understand and improve existing techniques, but may also lead to a new technique that measures tight link capacity. There are a few unaddressed issues in our theoretical framework. In our future work, we will identify how various factors, such as path configuration and cross-traffic routing, affect the amount of deviation between Z and F . We are also interested in investigating new approaches that help detect and eliminate the measurement bias caused by bursty cross-traffic in multi-hop paths.
[11] X. Liu, K. Ravindran, and D. Loguinov, “What Signals Do Packet-pair Dispersions Carry?,” IEEE INFOCOM, March 2005. [12] W. Matragi, K. Sohraby, and C. Bisdikian, “Jitter Calculus in ATM Networks: Multiple Nodes,” IEEE/ACM Transctions on Networking, 5(1):122–133, 1997. [13] B. Melander, M. Bjorkman, and P. Gunningberg, “A New End-to-End Probing and Analysis Method for Estimating Bandwidth Bottlenecks,” IEEE Globecom Global Internet Symposium, November 2000. [14] B. Melander, M. Bjorkman, and P. Gunningberg, “Regression-Based Available Bandwidth Measurements,” SPECTS, July 2002. [15] Y. Ohba, M. Murata, and H. Miyahara, “Analysis of Interdeparture Processes for Bursty Traffic in ATM Networks,” IEEE Journal on Selected Areas in Communications, 9, 1991. [16] V. Ribeiro, R. Riedi, R. Baraniuk, J. Navratil, and L. Cottrell, “pathChirp: Efficient Available Bandwidth Estimation for Network Paths,” Passive and Active Measurement Workshop, 2003.
Acknowledgements Dmitri Loguinov was supported by NSF grants CCR0306246, ANI-0312461, CNS-0434940.
[17] J. Strauss, D. Katabi, and F. Kaashoek, “A measurement study of available bandwidth estimation tools,” ACM IMC, 2003. [18] W. Szczotka, “Stationary representation of queues. I.,” Advance in Applied Probability, 18:815–848, 1986. [19] W. Szczotka, “Stationary representation of queues. II.,” Advance in Applied Probability, 18:849–859, 1986. [20] R. Wolff. Stochastic modeling and the theory of queues. Prentice hall, 1989.
References [1] Emulab. http://www.emulab.net. [2] National Laboratory for Applied Network Research. http://www.nlanr.net. [3] C. Dovrolis, P. Ramanathan, and D. Moore, “What Do Packet Dispersion Techniques Measure?,” IEEE INFOCOM, April 2001. [4] C. Dovrolis, P. Ramanathan, and D. Moore, “Packet Dispersion Techniques and a Capacity Estimation Methodology,” IEEE/ACM Transaction on Networking, March 2004.
Notes 1 In general, the tight link can be different from the link with the minimum capacity, which we refer to as the narrow link of P. 2 We use the term “fluid” and “constant-rate fluid” interchangeably. 3 The analysis assumes infinite buffer space at each router. 4 The term Ω represents the volume of fluid cross-traffic buffered bei tween the packet-pair in the outgoing queue of link Li . For an analogical understanding, we can view the packet-pair as a bus, the cross-traffic as passengers, and the routers as bus stations. Then, Ωi is the amount of cross-traffic picked up by the packet-pair at link Li as well as all the upstream links of Li . This cross-traffic will traverse over link Li due to the flows’ routing decision. 5 Note that the turning points in F is indexed according to the decreasing order of their values. The reason will be clear shortly when we discuss the rate response curve. 6 Note that the hop available bandwidth of link L that is of measurei ment interest, given by Ai = Ci − xri can be less than Ci − xp. 7 Note that the output dispersion process can be correlated. However, this does not affect the sample-path time average of the process. 8 See section 3.2 in [9] for more discussions about this term in a singlehop context, where Ri is referred to as intrusion residual. 9 Refer to [20, pages 89] for the definition of regenerative processes.
[5] N. Hu and P. Steenkiste, “Evaluation and Characterization of Available Bandwidth Probing Techniques,” IEEE JSAC Special Issue in Internet and WWW Measurement, Mapping, and Modeling, 3rd Quarter 2003. [6] M. Jain and C. Dovrolis, “End-to-end available bandwidth: measurement methodology, dynamics, and relation with TCP throughput,” ACM SIGCOMM, August 2002. [7] M. Jain and C. Dovrolis, “Ten Fallacies and Pitfalls in Endto-End Available Bandwidth Estimation,” ACM IMC, October 2004. [8] S. Kang, X. Liu, M. Dai, and D. Loguinov, “Packet-pair Bandwidth Estimation: Stochastic Analysis of a Single Congested Node,” IEEE ICNP, October 2004. [9] X. Liu, K. Ravindran, B. Liu, and D. Loguinov, “SingleHop Probing Asymptotics in Available Bandwidth Estimation: Sample-Path Analysis,” ACM IMC, October 2004.
14