A New Technique for Link Utilization Estimation

Similar documents
Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

Dynamic resource sharing

Wireless Internet Exercises

Performance Evaluation of Queuing Systems

Performance Analysis of Priority Queueing Schemes in Internet Routers

Queueing Networks G. Rubino INRIA / IRISA, Rennes, France

Link Models for Circuit Switching

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

Window Flow Control Systems with Random Service

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

Solutions to COMP9334 Week 8 Sample Problems

Methodology for Computer Science Research Lecture 4: Mathematical Modeling

A Queueing System with Queue Length Dependent Service Times, with Applications to Cell Discarding in ATM Networks

WiFi MAC Models David Malone

Queues and Queueing Networks

An Optimal Index Policy for the Multi-Armed Bandit Problem with Re-Initializing Bandits

Markov Chains. X(t) is a Markov Process if, for arbitrary times t 1 < t 2 <... < t k < t k+1. If X(t) is discrete-valued. If X(t) is continuous-valued

Readings: Finish Section 5.2

Giuseppe Bianchi, Ilenia Tinnirello

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Continuous-Time Markov Chain

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers

ON SPATIAL GOSSIP ALGORITHMS FOR AVERAGE CONSENSUS. Michael G. Rabbat

communication networks

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

requests/sec. The total channel load is requests/sec. Using slot as the time unit, the total channel load is 50 ( ) = 1

M/G/FQ: STOCHASTIC ANALYSIS OF FAIR QUEUEING SYSTEMS

Using the Empirical Probability Integral Transformation to Construct a Nonparametric CUSUM Algorithm

Resource Allocation for Video Streaming in Wireless Environment

TCP over Cognitive Radio Channels

Chapter 3 Balance equations, birth-death processes, continuous Markov Chains

CHAPTER 4. Networks of queues. 1. Open networks Suppose that we have a network of queues as given in Figure 4.1. Arrivals

Introduction to queuing theory

Optimal Association of Stations and APs in an IEEE WLAN

Time Reversibility and Burke s Theorem

λ λ λ In-class problems

High speed access links. High speed access links. a(t) process (aggregate traffic into buffer)

Analysis of Scalable TCP in the presence of Markovian Losses

Modeling and Stability of PERT

COMP9334: Capacity Planning of Computer Systems and Networks

Introduction to Markov Chains, Queuing Theory, and Network Performance

Computer Networks More general queuing systems

Giuseppe Bianchi, Ilenia Tinnirello

Probability Models in Electrical and Computer Engineering Mathematical models as tools in analysis and design Deterministic models Probability models

Tuning the TCP Timeout Mechanism in Wireless Networks to Maximize Throughput via Stochastic Stopping Time Methods

Random Access Protocols ALOHA

Sensitivity Analysis for Discrete-Time Randomized Service Priority Queues

Capacity management for packet-switched networks with heterogeneous sources. Linda de Jonge. Master Thesis July 29, 2009.

A Stochastic Model for TCP with Stationary Random Losses

TCOM 501: Networking Theory & Fundamentals. Lecture 6 February 19, 2003 Prof. Yannis A. Korilis

A Mathematical Model of the Skype VoIP Congestion Control Algorithm

DIMENSIONING BANDWIDTH FOR ELASTIC TRAFFIC IN HIGH-SPEED DATA NETWORKS

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

Mathematical Analysis of IEEE Energy Efficiency

ON MAIN CHARACTERISTICS OF THE M/M/1/N QUEUE WITH SINGLE AND BATCH ARRIVALS AND THE QUEUE SIZE CONTROLLED BY AQM ALGORITHMS

queue KTH, Royal Institute of Technology, Department of Microelectronics and Information Technology

Integrity-Oriented Content Transmission in Highway Vehicular Ad Hoc Networks

A Simple Solution for the M/D/c Waiting Time Distribution

Fairness comparison of FAST TCP and TCP Vegas

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

The Transition Probability Function P ij (t)

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours.

Part I Stochastic variables and Markov chains

Detecting Stations Cheating on Backoff Rules in Networks Using Sequential Analysis

Statistics 253/317 Introduction to Probability Models. Winter Midterm Exam Monday, Feb 10, 2014

Information in Aloha Networks

A Simple Model for the Window Size Evolution of TCP Coupled with MAC and PHY Layers

Multimedia Communication Services Traffic Modeling and Streaming

Operations Research Letters. Instability of FIFO in a simple queueing system with arbitrarily low loads

KCV Kalyanarama Sesha Sayee and Anurag Kumar

CS276 Homework 1: ns-2

6 Solving Queueing Models

Congestion In Large Balanced Fair Links

Intro Refresher Reversibility Open networks Closed networks Multiclass networks Other networks. Queuing Networks. Florence Perronnin

Min Congestion Control for High- Speed Heterogeneous Networks. JetMax: Scalable Max-Min

CS 798: Homework Assignment 3 (Queueing Theory)

COMP9334 Capacity Planning for Computer Systems and Networks

Modeling Approximations for an IEEE WLAN under Poisson MAC-Level Arrivals

M/G/1 and M/G/1/K systems

A Direct Approach to Transient Queue-Size Distribution in a Finite-Buffer Queue with AQM

CONVERGENCE TO FRACTIONAL BROWNIAN MOTION AND LOSS PROBABILITY. Jin-Chun Kim and Hee-Choon Lee

Data analysis and stochastic modeling

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Dynamic Control of Parallel-Server Systems

Bounded Delay for Weighted Round Robin with Burst Crediting

Packet Loss Analysis of Load-Balancing Switch with ON/OFF Input Processes

Link Models for Packet Switching

IEOR 6711, HMWK 5, Professor Sigman

Statistics 150: Spring 2007

16:330:543 Communication Networks I Midterm Exam November 7, 2005

Exam of Discrete Event Systems

Waiting-Time Distribution of a Discrete-time Multiserver Queue with Correlated. Arrivals and Deterministic Service Times: D-MAP/D/k System

Chapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system.

Sandwich shop : a queuing net work with finite disposable resources queue and infinite resources queue

Jitter Analysis of an MMPP 2 Tagged Stream in the presence of an MMPP 2 Background Stream

Efficient Nonlinear Optimizations of Queuing Systems

Communications and Signal Processing Spring 2017 MSE Exam

57:022 Principles of Design II Final Exam Solutions - Spring 1997

Transcription:

A New Technique for Link Utilization Estimation in Packet Data Networks using SNMP Variables S. Amarnath and Anurag Kumar* Dept. of Electrical Communication Engineering Indian Institute of Science, Bangalore - 560 012, INDIA (email: anurag@ece.iisc.ernet.in) Abstract On-line estimation of performance measures, such as the utilization of a digital communication link, is useful in the monitoring and management of packet data networks. In this paper, we define a notion of link utilization when the packet arrival process at the link is nonstationary. We develop a scheme for accurate monitoring of the link utilization, using the easily available SNMP variables. Simulation results and on-line measurement results on a link carrying live traffic in a wide area data network are provided. 1 Introduction Most network management systems for packet switched data networks are based on information provided by SNMP (Simple Network Management Protocol) [4], a popular protocol for gathering traffic measurements from network elements (routers, bridges, hosts, etc.,) and exercising elementary control actions. SNMP provides raw information in the form of simple counters or status variables. In our research, our aim has been to turn the raw data provided by SNMP into useful information about the data network (see [3]). In this paper we report the results of our efforts to develop algorithms for estimating the utilization of a digital communication link in a wide area packet switching data network. We use some of the SNMP variables to estimate the link utilization when the traffic carried by the link is nonstationary. We first point out the problem with the usual sliding window based measurement; then we propose, analyse and evaluate an adaptive window based technique. 2 Definition of Link Utilization The packets arriving at a link for transmission can be viewed as customers arriving to a queue. At any time, the link (i.e., the server of this queue) is either busy or idle. The link occupancy thus forms a (0, l} valued process; a sample path is shown in Figure 1. Let us denote the queue length process by {X(U),U 2 0); i.e., X(u) is the queue length at time U. The server occupancy process is given by {I{x(~)>o),u 2 0}, where 11,) is the indicator of the set {.}. The long run *This work was supported by the Department of Electronics (Govt. of India), through its Education and Research Network (ERNET) Project. t 1... u- Figure 1: Server occupancy. average occupancy (or utilization) p of the link is given by, This long run utilization is useful only if the queue operates in a stationary environment. In practice, the rate of the arrival process is time varyin for example, the server utilization could be as high as 90 v o for some time, while a bandwidth hogging application like file transfer is on, and go down to a low value after it finishes. Clearly, the long run utilization gives the wrong picture in this case. This motivates us to seek a definition of utilization for a link with a time-varying packet arrival rate. Such a notion of utilization would be useful in adaptive traffic control algorithms. To establish such a definition, we assume that the arrival process has a finite number of states, in each of which it has a well defined long-run average rate. A MMPP (Markov Modulated Poisson Process) [l] is an example of such a process, in which arrivals occur as a Poisson process whose rate is governed by a finite state, continuous time Markov chain. Definition: We define the utilization p(t) at time t as the dong run average utilization of the server if the arrival process were to stay in the state it is in at time t. In this paper, we are interested in obtaining a good estimate b(t) of p(t). We wish to obtain this estimate using easily available information, like SNMP variables. Note that more detailed information (such as packet arrival epochs and packet lengths) is usually not available. 3 Link Model Throughout this paper, for the purpose of analyzing the estimation schemes we develop, we assume the arrival process to be a two state MMPP, whose modulating Markov chain has the transition rate diagram shown in Figure 2. When the arrival process is in state i E (0, l}, the packet arrival process is Poisson with rate Xi, with XO < XI. If we denote the 0-7803-4198-8/97/$10.00 0 1997 IEEE 212

0, I Figure 2: Arrival process for the simulation model. fraction of time spent in state 1 by 4, then 4 = e. When the arrival process is in state i E (0, l}, we denote the link utilization by pi. We assume that the packet transmission times are exponentially distributed with mean i. Clearly, pi = 2. The "Poisson and exponential" assumptions are only to facilitate some analysis, and are not necessary for the development of the estimation schemes. Observe that in our model, p(t) = pi where i E (0,l) depending on the state of the Markov chain at time t. In the following sections, we develop schemes for estimating p(t). To be able to analyze the performance of these schemes, we define a performance metric called the mean error. If we let E denote the mean error, we define, 1 ft. I E = lim - E[Ijj(u) -p(u)i]du t+m t Jo where b(t) is the estimate at time t, and p(t) is the actual utilization of the link at time t. 4 Sliding Window Scheme With a fixed size window of W, seconds, we can estimate p(t) at time t as the average occupancy of the link in the previous W, seconds. Throughout this paper, we let pw(t) denote the estimate 10'00 20'00 30'00 40'00 50'00 60'00 70'00 80'00 90'00 loi!oo window size (normalized to l/r) Figure 3: Mean error vs. sliding window size, with 101 = 5000 x i, po = and p1 = 0.7, for different values of 4. 8 6 4 )I 0 : 2 aj 8 I 0.08 0.06 0.04 0.02 1 100 200 300 400 500 600 700 800 900 1000 window size (normalized to 1/11) Figure 4: Mean error vs. window size, with & = 500 x 1, P po = and p1 = 0.7, for different values of 4. Hence the sliding window estimate is Fws (t). Choosing small values for W, would lead to noisy measurements. From Figure 1, we can see that choosing a very small value for W, would give us mostly '1's and '0's. Choosing large values for W, would result in averaging over long periods. Most of the time, W, would straddle periods in which the arrival process is in different states and hence measure a wrong value of utilization. A natural question to ask is whether there is an optimal value of W, that minimizes the measurement error. To answer this question, we simulate an MMPPIMIl queue. In the simulation the window slides in small discrete steps, yielding /?ws (ti), i 2 1. An estimate of the mean error is given by, *, i=l where, N is the number of time steps, b(ti) is the estimate at ti, and p(ti) E {po,pi},po < p1, depending on the state of the system at that ti. We simulate our model for different values of q5 and 61. We choose the value of & to be 5000 x i and 500 x f, where is the mean packet transmission time. We let po = and p1 = 0.7. Figure 3 shows the mean error vs. sliding window size for & = 5000 x and different values of 4. The window sizes are normalized with respect to the mean service time of packets on the link. As we had expected, for a fixed value of q5 the mean error is large for a small window size. The mean error reduces with increasing window size, reaches a minimum and starts increasing on further increasing the window size. This is because, when the window size is large, most of the time the window would straddle periods in which the arrival process is in different states. We see, from Figure 3, that choosing a value of about 700 x for W, would give us a good performance for the entire range of 4, Figure 4 shows the mean error vs. sliding window size for I = 500 x i and different values of 4 with po = and p1 = 01 0.7. From this figure we see that choosing a value between 100 x $ and 150 x $ for W, would yield good performance for the entire range of q5. Thus we see that it is not possible to find a value for W, that would do uniformly well for all values of L. In the next section we propose and develop an adaptive that overcomes this problem. 213

8.1 0.4 0.5 0.6 0.7 0.8 0.9 I 4 4 Figure 5: Mean error vs. 9, with & = 5000 x $, po = and p1 = 0.9, for different values of wd. 5 Adaptive Window Scheme When the entire measurement window lies within the same state, we get a more accurate measurement for a larger window, and hence the window can be allowed to grow. Thus, instead of using a fixed size window for measurement, we use a window that varies in size adaptively. We define a minimum size for the measurement window, and start with a window of this minimum size. With time, we let the measurement window grow as long as we guess that the traffic is in the same state. When we sense that the traffic has moved to another state, we shrink this window to the minimum size and start all over again. We call this variable size window an ( adaptive window, and represent it by W,. To be able to adaptively vary the measurement window, we should be able to detect the epochs when the traffic moves from one state to another so that we can shrink W, and let it grow again. In the adaptive window scheme, to be able to detect the change in state, we use a second time window which we call the detection window, which we denote by wd. wd is a fixed size window and is basically a sliding window as described in the previous section. At any time t, we will represent the average occupancy over window W, as j3we (t) and the average occupancy over window wd as pw,(t). We use a detection mechanism which declares a change when the measurements over the two windows differ significantly, i.e., we declare a change when, lpwa ( ) - bwd (t>l > 7 Where q is a threshold. It remains to choose appropriate values for wd and Q. We study the performance of this adaptive window scheme by using simulations. We also study the performance of the detection scheme and obtain good values of wd and q. 5.1 Choosing Wd We simulate the MMPP/M/l queue to study the adaptive window scheme. Here we assume po = and p1 = 0.9. We make measurements at discrete time intervals (every 5 x $) and obtain the mean measurement error as the average of these measurement errors. We use the expression given in Section 4.1 (with p(ti) = $wa (ti)) to obtain an estimate for the mean error. Figure 6: Mean error vs, 9, with & = 500 x b, po = and p1 = 0.9, for different values of wd;(?j = 5). Figure 5 shows the values for mean error plotted against different values of 4, with & = 5000 x 1, po = and!j p1 = 0.9. The different curves correspond to different values of wd. We have assumed a value of 5 for the threshold q for the simulation. Window sizes are normalized with respect to mean service time. From Figure 5, we observe that for small values of wd the errors are high. As we increase the value of wd the errors reduce. After a certain point, further increasing wd results in increasing the errors. This behavior is expected. For small values of wd, probability of false alarm, i.e., the probability of declaring a change in state when there is actually no change, is high. False alarms result in shrinking the adaptive window unnecessarily. This leads to larger errors. For large values of wd, the detection delay, i.e., the time taken to detect the change after it occurs is high. This causes more errors because we make errors in our occupancy measurement before we detect the change. Figure 6 shows the values for mean error plotted against different values of 9 with = 500~ $, po = and p1 = 0.9. We see that the behavior is the same as before. From Figures 5 and 6, we infer that a detection window wd of size about 75 x $ will work well for both cases. 5.2 Choosing 7 We analyze the performance of our detection mechanism using a simulation model. The model is a single server queue. At time 0 arrivals start with a rate XO. After a random time T, the state of the arrival process changes and the arrivals occur at a rate XI. We assume the arrivals to be Poisson, and the service times to be exponentially distributed with parameter p. We use the detection window wd and try to detect the change in state. We study the performance measures: probability of false alarm and detection delay. The window wd The change time T is a mul- slides in discrete steps of 5 x i. tiple of this time step, and is assumed to be distributed geometrically. Let S be the random variable denoting the time until a change is declared, i.e., S = inf {t : Ibwd(t) - pol > q} where po = $. The following performance measures are defined. The probability of false alarm, Pj, is the probability of declaring a change in state when there is actually no change. 214

::y 0.88 ci_ 0.4 1 1 0 0.4 0.5 0.6 0.7 0.8 probability of false alarm (Pr) 011 0 2 0 3 0 4 0:5 I probabiliiy of kalse alarm ipq) o 7 Figure 7: Probability of detection pd vs. probability of false alarm Pj, for a transition from po = to p1 = 0.9, with mean time to change 50 x i, for different values of Wd. 11 is decreasing to the right along each curve. Thus, Pj = P(S < T) After the detection window moves into the changed state, it will eventually detect the change. We would like to detect the change at least before the detection window moves fully into the changed state. Thus detection is defined as the event of the change being detected before the detection window fully moves into the changed state. The probability of detection, Pd, is given by, Pd = P(T 5 s 5 T+ Wd) When a change is detected, we would like to obtain the average time it takes to detect a change after it occurs. The mean detection delay, 6, is defined as the expected delay in detection given that the change is detected. It follows that, 6 = E[S- TIT 5 s 5 T+ Wd] The conditioning S 2 T is necessary, otherwise a large probability of false alarm can also lead to a small mean detection delay. We choose a value for wd, simulate the model for different values of q, and obtain the values of Pf, Pd and 6 corresponding to the different values of q. Figure 7 shows Pd vs. Pj curves for the case when po = and p1 = 0.9 with mean time before transition being 50 x units. The dif- ferent curves correspond to different detection window sizes, and each point along a curve corresponds to a different 11. Figure 8 shows the mean detection delay 6 vs. probability of false alarm Pj, for different values of Wd. Table 1 shows the numerical values for Wd = 75 x k. We observe from Table 1 that for threshold q = 5, the false alarm probability is 0.001, the probability of detection is 0.9772 and the mean detection delay is about 35 x i. We have also obtained pd vs. Pi curves, and mean detection delay 6 YS. probability of false alarm Pj curves, for the case when po = 0.9 and p1 =, with the other parameters remaining the same as before. Owing to lack of space we do not show these curves here. We have observed from these results that, for po = 0.9 and p1 =, Wd = 7sL and P Figure 8: Mean detection delay 6 vs. probability of false alarm Pf, for a transition from PO = to p1 = 0.9, with mean time to change 50 x i, for different values of wd. 9 is decreasing to the right along each curve. - 3 0.05 5 0.4 0.5 Pr 0.5325 0.0933 0.0062 0.0010 0.0001 0.0000 0.0000 pd 1.0000 0.9964 0.9876 0.9772 0.9629 0.9177 0.8029 b 12.2365 21.0220 30.7330 35.4215 4375 48.6295 55.9060 Table 1: Values for Pj, Pd and 6 (in terms of the number of mean service times) obtained using the simulation model when po = and p1 = 0.9 with Wd = 75 x $ for different values of 11. = 5 correspond to a false alarm probability of 0.053, detection probability 0.9784, and a mean detection delay of about 32 x i. From the above simulation results, we conclude that the detection window size Wd = 75 x and threshold 17 = 5 yield a good performance for the detection scheme. We also found that the values chosen are good when the mean time before change is assumed to be 500 x $ and 5000 x $. 6 Experimental Comparison of the Schemes The quantity pw(t) can be estimated using SNMP variables. Define (&)~(t) to be the occupancy estimate on the link between nodes i and j, in the direction i + j. If we denote by Njj(t), the number of bytes transmitted on the link i 4 j in the interval [O,t], we have, (Fij>w(t) = Nij(t) - Nij(t - W) wxc where C is the capacity of the link in byteslsec. 215

b 8 $i p i:;, O.a i,,j 111 0 100 200 300 a00 500 600 700 800 c*me 0.I 00 100 Figure 9: Link utilization as a function of time measured using the sliding window scheme with W, = 25 seconds, W, = 5 seconds, and using the adaptive window scheme with Wd = 5 seconds and threshold 17 = 5. Figure 10: Link utilization as a function of time measured using the sliding window scheme with W, = 25 seconds, W, = 5 seconds, and using the adaptive window scheme with wd = 5 seconds and threshold q = 5. We monitor the utilization on a 64Kbps link connecting the ERNET node at Indian Institute of Science, Bangalore, to the ERNET node in the Air India building in Bombay. Figure 9 shows one set of results. Three file transfers of sizes 1.7Mbytes, 981ibytes, and 0.5Mbytes approximately were carried out one after the other. The first file transfer started at around 125 seconds (after the start of the experiment) and finished at 365 seconds. The second one started at 395 seconds and finished at 405 seconds. The third one started at 565 seconds and finished at 640 seconds. The top part of the figure shows the utilization measured using the sliding window scheme with W, = 25 seconds. We observe that we are not able to follow the changes in traffic closely. We see that the second file transfer goes almost undetected. The middle part of the figure shows the utilization monitored using a sliding window of size W, = 5 seconds. Though we are able to detect the changes quickly, the measurement is quite noisy and we often make errors ranging from 10% to 20%. These errors will cause the performance measure (i.e., the mean error that we have defined) of this simple detection scheme to be quite poor. We then show the utilization measured using the adaptive window scheme with a detection window size wd = 5 seconds and threshold 7 = 5. We observe that we are able to track the changes closely and measure the link utilization accurately. Similar curves are presented in Figure 10. Three file transfers were carried out in succession. We see that the adaptive window scheme is the most effective; the dips in throughput during a file transfer are probably due to TCP dropping its window and going through a slow restart following a packet loss [a] 7 Conclusion We have defined a notion of link utilization for a digital transmission link carrying time varying packet traffic. We have demonstrated the inadequacy of the simple sliding window scheme for estimating this utilization, and have developed an adaptive window scheme. The performance of this new scheme has been optimized on a simulation model, and we have shown that the scheme works well on live network traffic. References [l] H. Bruneel and B. G. Kim, Discrete-Time Models for Communication Systems Including ATM, Kluwer Academic Press, 1993. [a] Van Jacobson, Congestion Avoidance and Control, Proc. ACM SIGCOMM 88, Aug. 1988. [3] Marshall T. Rose, Challenges in Network Management,IEEE Network, Nov. 1993. [4] Marshall T. Rose, The Simple Book. ERNET (Education and Research NETwork) is India s academic and research computer network. 216