- About this Journal
- Abstracting and Indexing
- Aims and Scope
- Annual Issues
- Article Processing Charges
- Articles in Press
- Author Guidelines
- Bibliographic Information
- Citations to this Journal
- Contact Information
- Editorial Board
- Editorial Workflow
- Free eTOC Alerts
- Publication Ethics
- Submit a Manuscript
- Subscription Information
- Table of Contents
The Scientific World Journal
Volume 2013 (2013), Article ID 918565, 8 pages
Extending Stochastic Network Calculus to Loss Analysis
National Laboratory for Optoelectronics, Huazhong University of Science and Technology, Wuhan 430074, China
Received 11 August 2013; Accepted 16 September 2013
Academic Editors: X. Fan and Y. Shi
Copyright © 2013 Chao Luo et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Loss is an important parameter of Quality of Service (QoS). Though stochastic network calculus is a very useful tool for performance evaluation of computer networks, existing studies on stochastic service guarantees mainly focused on the delay and backlog. Some efforts have been made to analyse loss by deterministic network calculus, but there are few results to extend stochastic network calculus for loss analysis. In this paper, we introduce a new parameter named loss factor into stochastic network calculus and then derive the loss bound through the existing arrival curve and service curve via this parameter. We then prove that our result is suitable for the networks with multiple input flows. Simulations show the impact of buffer size, arrival traffic, and service on the loss factor.
Loss is one of the key indicators of QoS. Traditional methods for loss analysis aim at estimating the work load loss ratio based on the approximations of buffer overflow probability [1–4]. However, there are two main drawbacks in these methods. First, it is difficult to calculate the buffer overflow probability for some input processes. Second, the relation between loss ratio and buffer overflow probability is often hardly quantifiable .
Network calculus is a theoretical framework for analysing performance guarantees in computer networks . The deterministic network calculus, firstly proposed by Cruz [6, 7], can be used to obtain the delay bound and backlog bound in the worst case . Some efforts have been made to apply deterministic network calculus to get the loss probability or loss bound. In , a new composable service model with loss is proposed, but it can only be used for a specific scheduling algorithm mentioned in the paper, which limits the scope of its application. A loss bound is derived with envelop and moment generating function in . The indirect method for packet loss approximation mentioned in  is also based on deterministic arrival curve and deterministic service curve. However, the deterministic network calculus usually results in overly pessimistic performance bounds that are rarely attained which leads to low utilization of network resources. This defect limits the range of its application. Consequently, loss analysis based on deterministic network calculus is not suitable for many applications.
As a probabilistic extension of the deterministic network calculus, stochastic network calculus has been studied by some researchers [12, 13]. Stochastic network calculus uses some stochastic arrival curves and some stochastic service curves to characterize the arrival process and the service process, which can provide stochastic QoS guarantees . This feature makes stochastic network calculus suitable for many applications to which deterministic network calculus can-not be applied. Hence, it is very significative to find a way to analyse loss by using stochastic network calculus.
In this paper, we do not assume that the network is lossless but consider a network with finite buffer size which is not large enough to avoid loss occurring. Accounting for the nature of stochastic arrival curve and stochastic service curve, it is very difficult to calculate the amount of packets that have been dropped by directly using stochastic network calculus. To fill this vacancy, we propose a novel method to calculate the loss bound by using stochastic network calculus. We introduce a new parameter, named loss factor, into stochastic network calculus. Via this new parameter, we establish a loss analysis model based on traffic-amount-centric stochastic arrival curve and stochastic strict service curve.
The rest of this paper is organized as follows. The notations and the theoretical background of stochastic network calculus are introduced in Section 2. In Section 3, we present and prove our loss analysis model. In Section 4, we show that our analysis model can be also applied to the scenario with multiple input flows. We explore the relationships between the loss factor and the buffer size, the loss factor and the arrival, and the loss factor and the service by simulation in Section 5. In Section 6, we make a brief conclusion.
In this section, we introduce the notations and some concepts of stochastic network calculus which will be used in this paper.
We use , , , , and denoting the arrival process, the service process, the departure process, the backlog at time , and the loss process in time interval , respectively. We also denote , , , and . Conventionally, we assume that , , , , and have zero value at .
We denote the set of nonnegative wide-sense increasing function by , where for each function , there holds
We denote the set of nonnegative wide-sense decreasing function by , where for each function , there holds
2.2. Stochastic Network Calculus
Min-plus algebra has been wildly used in network calculus. For given functions and , the min-plus convolution operator and the min-plus de-convolution are defined by
The following properties of will be used in the latter paper . Let :(i)(closure of ) ;(ii)(associativity of ) ;(iii)(commutativity of ) .
Many kinds of stochastic arrival curves and stochastic service curves are proposed in stochastic network calculus. We use the traffic-amount-centric stochastic arrival curve and the stochastic strict service curve in our loss analysis model, and their definitions are as follows.
Definition 1 (t.a.c. stochastic arrival curve ). A flow is said to have a traffic-amount-centric (t.a.c.) stochastic arrival curve with bounding function , denoted by ; if for all and all , there holds
Definition 2 (stochastic strict service curve ). A system is said to be a stochastic strict server providing stochastic strict service curve with bounding function , denoted by , if during any period , the amount of service provided by the system satisfies for any .
2.3. Related Work
As far as we know, there are very few results on loss analysis in the context of stochastic network calculus. In [15, 16], the authors proposed a new stochastic network calculus for loss analysis. However, there are two main limitations in their results. First, the arrival curve and the service curve they proposed are not suitable for the arrival traffic and the service that have high burstiness. Second, the upper bound of the loss ratio can be derived only under the condition that the system has a certain buffer size which is determined by the arrival curve and the service curve. That means if the buffer of a system is not equal to , the bound of the loss ratio can-not be obtained.
Existing results on loss, including the one mentioned in the previous paragraph, are obtained approximately from the backlog analysis. However, this approximation in general gives loose bounds . Assume that the buffer size is and the approximate upper bound of the loss probability is . The main problem in the approximation is that the buffer size is assumed to be infinite in stochastic network calculus; that is to say the system is lossless. But in the real system, the backlog can never exceed , because the exceeded packets are dropped. This is the reason why the bounds are loose. It is hence of great importance to study the loss directly, not by the approximation of the backlog.
3. Loss Bound Based on Stochastic Network Calculus
Unlike delay and backlog, it is not easy to directly use some stochastic arrival curves and some stochastic service curves to denote loss within existing framework of stochastic network calculus. In this section, we firstly give the definition of loss period and then present the loss bound based on stochastic network calculus.
Definition 3 (loss period). In a network system, a duration is called a loss period if it begins when the buffer is full and the arrival rate is larger than the service rate, and it ends once the arrival rate is smaller than the service rate.
If is a loss period, then the amount of loss during is . Then the loss bound can be expressed as In a period of time, the occurrences of loss periods are difficult to confirm. Hence, the result provided by Lemma 4  below is indispensable to our following analysis.
Lemma 4. For any random variables and , and , if and , where , then
The result provided by Lemma 4 can be easily extended to () variables.
In essence, the size of the buffer of a system definitely has impact on the loss. In the current theoretic framework of stochastic network calculus; however, the buffer size is usually assumed to be infinite and the impact of the buffer size can-not be embodied. Hence, we introduce a new parameter called loss factor into stochastic network calculus.
Definition 5 (loss factor). In stochastic network calculus, loss factor is a parameter which indicates the combined impact of arrival, service, and buffer size on loss.
Theorem 6. Consider that a flow arrives into a network system with finite buffer. If the flow has a t.a.c. stochastic arrival curve denoted by and the system provides a stochastic strict service curve denoted by , then there exists a , where for all and , such that
Proof. During time , we assume that there are loss periods , . Let and , where .
The amount of loss is the sum of the differences between the arrival and the service in the loss periods. For all , we have and the total loss during is where .
Then the loss bound can be expressed as According to the properties of and Lemma 4, we can get the following inequality from (11): For a nonnegative wide-sense decreasing function , there exists a that makes , where . Hence, (12) can be simplified as where .
In the long term, the arrival traffic will not exceed the service provided by the network system (or the system will collapse). Hence, for stability, we assume for all .
Since there exists a making It is obvious that we can find a , where which makes since is a nonnegative wide-sense decreasing function. Then the theorem is proved.
Note that is determined by the arrival traffic, the service provided by the network system, and the buffer size together. If can be denoted by a function , then (8) can be rewritten as When the buffer size approaches to infinity or the service provided by the network is larger than or equal to the arrival traffic for all , should be small enough making tend to zero.
There is one thing should be noticed that our analysis is based on t.a.c. stochastic arrival curve and stochastic strict service curve. However, there are many kinds of traffic that can-not be characterized by t.a.c. stochastic arrival curve but can be modeled by v.b.c. stochastic service curve or m.b.c. stochastic arrival curve. In some cases, only stochastic strict service curve or weak stochastic network calculus can be obtained . The forms of these arrival curves and these service curves are presented in Tables 1 and 2, and their detailed definitions can be referred to in . Our loss analysis model can-not be directly applied under these scenarios. Fortunately, this problem can be solved by using the model transform in stochastic network calculus. By the model transform, we can readily obtain the t.a.c. stochastic arrival curve and the stochastic strict service curve if we deduce any other types of stochastic arrival curves and stochastic service curves. The details of the model transform are presented in .
4. Loss Bounds for Multiple Input Flows
Compared to deterministic network calculus, statistical multiplexing gain is a great advantage of stochastic network calculus. Hence, in this section, we consider a network scenario with multiple input flows as shown in Figure 2. We will prove that our analysis model mentioned in the previous section can be also applied to this scenario. The superposition property given by Theorem 7 is necessary for our latter analysis.
Theorem 7 (superposition). Consider flows with arrival processes , , respectively. Let denote the aggregate arrival process, or . If , , then where and .
The loss bounds for the aggregate flow and every single flow are given by Theorem 8.
Theorem 8. Consider a network system with finite buffer that is fed with flows with arrival processes , , respectively. Let denote the aggregated arrival process. If the system provides a stochastic strict service curve and , , then if for all , the loss bounds for the aggregated flow and for each single flow are where , , and and are some constants in .
Proof. According to Theorem 7, the aggregate process has a t.a.c. arrival curve with bounding function . Then we can readily get (20) by Theorem 6.
Let denote the service provided to flow by the network system during ; then,
So the network system provides to the flow a stochastic strict service curve denoted by , where and . Then the loss bound for flow can be obtained from Theorem 6
5. Loss Factor
In this section, we will explore how the input traffic, the service provided by the server, and the buffer size affect the value of loss factor by simulation.
5.1. Simulation Model
The simulations were implemented in SimEvents which provides a discrete-event simulation engine and component library for Simulink. We consider the same network system as depicted in Figure 1. The corresponding simulation model should be as Figure 3 shows.
However, when the buffer block is full, the IN port of this block is unavailable and the previous block stops generating entities. That means there will be no more packets arriving at the server while the queue of the server is full, which conflicts with the cause of packet loss we assumed above. Hence, we design a revised model to accommodate to our loss analysis model.
In Figure 4, we use the schedule timeout block, the FIFO queue block, and the cancel timeout block to simulate the loss process. The schedule timeout block schedules a timeout event for each arriving entity. When the buffer block is full, the new arriving entities will be queuing in the FIFO Queue block. We set the timeout interval of the schedule timeout block for a small value. Then once there are entities in the FIFO queue block, they will be dropped in a very short time.
5.2. Arrival Curve and Service Curve
We assume that all packets have the same length and an entity in the simulation model denotes a packet. We assume that the server adopts FIFO and the service time for one packet is . We assume the arrival traffic follows a Poisson process with the parameter .
For a Poisson process , we have Then the traffic arrival curve can be expressed as The factorial and the sum make it hard to calculate the bounding function. We use an approximation result provided in  which gives a much simpler bounding function
Since the service time of each packet is assumed to be a fixed value, we can readily get the service curve where .
According to Theorem 6, the loss bound is obtained as where .
5.3. Simulation Results
In this part, we will try to find out the correlations between the loss factor, buffer size, the arrival traffic and the service. Then three different sets of parameters for simulations are adopted as shown in Table 3.
The value of the loss factor can-not be directly obtained by the simulation. Because the simulation result can only provide the amount of loss packets and the result provided by (28) is the CCDF of the loss. Then we design a method to obtain an approximate value of the loss factor. For a certain parameter family, we do the simulation for 100 times and get 100 corresponding values of the amount loss packets. Let denote the fiftieth largest number of these 100 values. Then we get 10 such kind of for every set of experiments as shown in Table 4. For every , we use the following equation to derive an approximate value of the loss factor :
The data in Table 4 is reasonable that the amount of loss increases with the arrival rate and decreases with the buffer size and the service rate. Overall, if the arrival curve and the service curve are fixed, the smaller the loss factor , the tighter the loss bound . From (29), it is obvious that the loss factor increases with , as is a decreasing function. Hence, when the buffer size increases, the amount of loss decreases; then the loss factor decreases. When the arrival rate increases, decreases; then the loss factor decreases. The relationship between the loss factor and the service rate can be analysed in the same way, and Figures 5(a), 5(b), and 5(c) show the corresponding curves. We can find functions to fit the curves, that means if two of the arrival, the service, and the buffer size are certain, we can adjust the other one to get a proper value of loss factor to make the loss bound at a desired level.
Stochastic network calculus is a very useful tool for performance analysis. However, there is a defect in stochastic network calculus that it is not easy to be used for loss analysis. In this paper, a new parameter named loss factor is proposed into stochastic network calculus. And then the loss bound based on t.a.c. stochastic arrival curve and stochastic strict service curve is derived via loss factor. We also proved that our result is valid when there are multiple flows arriving into the network.
We only analyzed the correlation between the loss factor and buffer size, the correlation between the loss factor and the arrival traffic, and the correlation between loss factor and the service, respectively, in this paper. Finding a way to denote the loss factor by the arrival cure, the service cure, and the buffer size combined remains as a challenge.
This work was supported in part by the National Natural Science Foundation of China (no. 60972016), the Funds of Distinguished Young Scientists (no. 2009CDA150), and China-Finish Cooperation Project (no. 2010DFB10570).
- J. Bíró, “Loss ratio approximations in buffered systems with regulated inputs,” in Proceedings of the 1st International Conference on Performance Evaluation Methodolgies and Tools (Valuetools ’06), ACM, New York, NY, USA, 2006.
- H. S. Kim and N. B. Shroff, “Loss probability calculations and asymptotic analysis for finite buffer multiplexers,” IEEE/ACM Transactions on Networking, vol. 9, no. 6, pp. 755–768, 2001.
- A. Gyorgy and T. Borsos, “Estimates on the packet loss ratio via queue tail probabilities,” in Proceedings of IEEE Global Telecommunicatins Conference (GLOBECOM '01), vol. 4, pp. 2407–2411, San Antonio, Tex, USA, November 2001.
- A. Afsharinejad and A. T. Haghighat, “A tight upper bound approximation of loss ratio in high-speed networks based on self-similar traffic,” in Proceedings of the 14th Asia-Pacific Conference on Communications (APCC '08), pp. 1–5, October 2008.
- J.-Y. Le Boudec and P. Thiran, Network Calculus: A Theory of Deterministic Queuing Systems for the Internet, Springer, Berlin, Germany, 2001.
- R. L. Cruz, “A calculus for network delay—I: network elements in isolation,” IEEE Transactions on Information Theory, vol. 37, no. 1, pp. 114–131, 1991.
- R. L. Cruz, “A calculus for network delay—II: network analysis,” IEEE Transactions on Information Theory, vol. 37, no. 1, pp. 132–141, 1991.
- J.-Y. Le Boudec, “Application of network calculus to guaranteed service networks,” IEEE Transactions on Information Theory, vol. 44, no. 3, pp. 1087–1096, 1998.
- S. Ayyorgun and R. L. Cruz, “A composable service model with loss and a scheduling algorithm,” in Proceedings of the 23rd Annual Joint Conference of the IEEE Computer and Communications Societies (INFOCOM '04), vol. 3, pp. 1950–1961, Hong Kong, March 2004.
- Y. Deng and C. Lin, “An extended stochastic loss bound with moment generating function,” in Proceedings of the International Conference on Communications and Mobile Computing (CMC '10), vol. 1, pp. 498–502, Shenzhen, China, April 2010.
- A. Gulyas and J. Biro, “Direct and indirect methods for packet loss approximation in buffered systems,” in Proceedings of the Next Generation Internet Networks (NGI '05), pp. 67–74, Rome, Italy, April 2005.
- Y. Jiang, “A basic stochastic network calculus,” in Proceedings of the ACM Conference on Applications, Technologies, Architectures, and Protocols for Computer Communications (SIGCOMM '06), vol. 36, pp. 123–134, ACM, New York, NY, USA, October 2006.
- C. Li, A. Burchard, and J. Liebeherr, “A network calculus with effective bandwidth,” IEEE/ACM Transactions on Networking, vol. 15, no. 6, pp. 1442–1453, 2007.
- Y. Jiang and Y. Liu, Stochastic Network Calculus, Springer, Berlin, Germany, 2008.
- A. Gulyas and J. Bíro, “A stochastic extension of network calculus for workload loss examinations,” IEEE Communications Letters, vol. 10, no. 5, pp. 399–401, 2006.
- A. Gulyás, J. Bíró, and F. Németh, “New stochastic network calculus for loss analysis,” in Proceedings of the 4th International ICST Conference on Performance Evaluation Methodologies and Tools (Valuetools ’09), vol. 38, pp. 1–10, ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering), Brussels, Belgium, 2009.
- Y. Jiang, “Stochastic network calculus for performance analysis of Internet networks—an overview and outlook,” in Proceedings of the International Conference on Computing, Networking and Communications (ICNC '12), pp. 638–644, Maui, Hawaii, USA, February 2012.
- K. Wu, Y. Jiang, and J. Li, “On the model transform in stochastic network calculus,” in Proceedings of the 18th International Workshop on Quality of Service (IWQoS '10), pp. 1–9, Beijing, China, June 2010.
- Y. Yuan, K. Wu, W. Jia, and Y. Jiang, “Performance of acyclic stochastic networks with network coding,” IEEE Transactions on Parallel and Distributed Systems, vol. 22, no. 7, pp. 1238–1245, 2011.