It is evident from seminal studies that Internet protocol (IP) traffic of both Ethernet traffic and wide area network (WAN) traffic exhibits self-similarity  -  . Markov modulated Poisson process (MMPP) is employed to emulate the self-similar traffic over the different time scales  -  . Naturally, high demand in Internet traffic leads to congestion problems. Congestion problems can be dealt with some space priority mechanisms. Buffer Access Control (BAC) mechanism is one of the space priority mechanisms. There are several strategies to implement this mechanism and one of such strategies is partial buffer sharing (PBS) mechanism. In this scheme  -  , there is a limit (or threshold) in the buffer, and the part of buffer on or below the limit is shared by all arriving packets. When the buffer occupancy is above the limit, the arriving low priority packets will be dropped, and only high priority packets will be allowed. High priority packets will be lost only when buffer is full. If the limit is relatively low, then more low priority packets will be lost. If the limit is relatively high, then more high priority packets will be lost. The limit setting induces two time periods, namely, critical and non-critical periods. The critical period is the time period during which buffer occupancy of the queueing system is on or above limit level and the non-critical period is the time period during which buffer occupancy is below the limit level. This way, there is a trade-off relation between limit setting and packet loss. Hence, optimum level of limit is very important in dimensioning the network nodes such as switches or routers. Priority queue models are briefly discussed below. In paper  , the queueing analysis of infinite buffer priority system with MMPP input is investigated with an assumption that the delay sensitive cells and non-delay sensitive cells arrive at two separate queues. This scheme is not realistic as the buffers consist of limited number of fiber delay lines (FDLs) with fixed granularity. The loss behaviour of finite buffer space priority queues with discrete batch Markovian arrival process (D-BMAP) has been analyzed  which is not the case, since the router under consideration is handling self-similar traffic which is modelled by continuous-time Markov process.
Another issue of Internet traffic is to provide Quality of Service (QoS). Internet router with wavelength division multiplexing (WDM) technology is promising one to guarantee QoS. In WDM router, there are N input fiber lines, N output fiber lines, and each fiber line has C wavelength channels and a wavelength converter pool of size s, dedicated to each output fiber line. Hence, each output port of the router is to be modelled as multi-server queueing system    . In general, there are two types of networks: synchronous (slotted) and asynchronous (unslotted)  . In the case of first one, all the packets are of constant size     . In asynchronous networks, all the packets have variable lengths     . Since IP packets are, in general, variable in length, the router is required to possess the ability to router the variable length packets. Therefore, performance analysis of the router by means of MMPP/D/1/C queueing system wherein service time (packet length) is deterministic may not be appropriate  . Router with variable length packet traffic is modelled as MMPP/M/1/C queueing system wherein service time is exponential distribution  -  . In the papers     , the router is modelled as either single-server or multi-server priority based queueing system. However, the service times (packet lengths) distribution is assumed to be deterministic or exponential. It is appropriate that service time (packet length) follow more general distribution, namely, Erlang-k than the said distribution. There are many applications in a Broadband integrated services digital network (B-ISDN) communication services are to provide differentiated services (DiffServ) and QoS. To the best of our knowledge, priority based WDM router with self- similar traffic input is not yet modelled by MMPP/Ek/s/C queueing system with PBS mechanism.
The rest of the paper is organized as follows. In section 2, WDM asynchronous router―multi-server queueing model MMPP/Ek/s/C employing PBS mechanism with Erlang-k service times is discussed. Computational complexity is briefed in section 3. In section 4, numerical results are presented graphically. Finally, conclusion is given in section 5.
2. WDM Asynchronous Router―Multi-Server Queueing Model MMPP/Ek/s/C Employing Partial Buffer Sharing (PBS) Mechanism with Erlang-k Service Times
We consider the WDM asynchronous router with each output fiber line consisting of C wavelength channels and a wavelength converter pool of size s. Buffer depth then is. Such a router with self-similar traffic input can be modelled as MMPP/Ek/s/C queueing system. The operation and multi-server queueing model of the router employing PBS mechanism is shown in Figure 1. For the simplicity, two priority traffics are considered. The threshold is set at the level, where b is a positive integer. The low priority packets can only access first buffer spaces and the high priority packets are for the whole buffer space. The threshold setting induces two time periods, namely, non-critical period and critical period   . Non-critical period is the time period during which buffer occupancy is below the threshold level and critical period is the time period during which buffer occupancy is on or above threshold. Each priority traffic is self-similar and is modelled by MMPP process  . Assume that high priority (class 1) packets and low priority (class 2) packets arrive at the system according to MMPPs of the states and, respectively, and are governed by the matrices and, respectively. Let the service time is generally and identically distributed with distribution function. Let be the matrices whose element is the probability that given departure of class p at time 0, there is at least one packet left in the system and the
Figure 1. Operation and multi-server queueing model of a specific output port of the router employing partial buffer sharing mechanism with two different priority traffic input and Erlang-k service times.
process is in state i, the next departure of class p occurs no later than time t with the process in state j, during the service time there are m packets. We consider the Markov chain at the departure epochs of the queueing system on the state space where denotes the buffer occupancy and denotes the phase of superposed MMPP. For convenience, a queueing system is said to be at level d, if buffer occupancy is equal to d (excluding the ones in service). We ignore the time spent in a state and consider only the number of packets arrived during the sojourn time. Therefore, pertinent system is embedded Markov chain and has the following irreducible transition probability matrix P (with the dimension):
In Equations (2) and (3), the elements of row and column outside the matrices and are state spaces of the Markov chain and the elements of first () rows are identical. and are the matrices of high priority and low priority packets, respectively. The overall input traffic is the superposition of high priority and low priority packets, which is also an MMPP with
Sojourn time is ignores the matrices of counting functions become independent of time t. The matrices satisfies the following equation  -  ,
If the service time distribution is Erlang with k phases in series of service and mean service time, where is the mean service rate. We have dropped the superscript “p” for convenience as the procedure holds good for both high priority and low priority packets. The matrices of counting function’s can be computed following the procedure  -  . Then Equation (4) reduces to
where I is the unit matrix of appropriate dimension. For in Equation (5), we have
For, let be the coefficient of in, nth term of the series on right hand side of Equation (5). Then we have
, , , ,
, if, and
Now, multiply on both sides of above equation by, we obtain
In above equation, equating the coefficients of like powers of z, we obtain,
Equating the coefficients of in the Equation (5), we get
The fundamental arrival rate of class p packets is, where is the steady state probability vector of. Then traffic intensity is . Let, where , for, when is the conditional probability that there are v packets in the system given that embedded Markov chain is in the state. Therefore, we have, where e is the column vector consisting of all 1  -  . Then, in the steady state, high priority packet loss probability and low priority packet loss probability, respectively, are derived as follows   . Let denote the number of high priority packets lost due to the fact that buffer is full. Then the expected value of is and is obtained by considering the last column of the block transition probability matrix P as that column consists of matrices containing conditional probabilities that the buffer is full. Then high priority packet loss probability is given by
where is the number of packet arrivals during the mean service time. Let denote the number of low priority packets lost due to the fact that buffer occupancy exceeds the threshold. Then expected value of is and is obtained by considering the last columns of the block transition probability matrix P as these columns consists of matrices containing conditional probabilities that the buffer occupancy is greater than or equal to threshold. The low priority packet loss probability is given by
In the paper  , the alternate methods to compute and are proposed, but the input process is assumed to be discrete batch Markovian arrival process (D-BMAP) and the pertinent queueing system is of single-server. On the same lines we have extended it to multi-server queueing system with continuous input process. In view of threshold setting we decompose the state space U into two subsets:
This partition of U makes the transition probability matrix P decomposed as follows:
The sub-matrices, , , and are the left upper part, right upper part, left lower part, and right lower part of the matrix P with dimensions of , , and, respectively. These sub-matrices govern the transitions from into itself, from into, from into and from into itself, respectively. Next, we derive the mean length of non-critical and critical periods that occur alternately. For non-critical period, the transition probability matrix (TPM) of the absorbing Markov chain that has transient states and absorbing state is given by
Similarly, in the case of critical period, the TPM of the absorbing Markov chain that has transient states and absorbing states is given by
where is the last columns of the matrix. This is followed from the fact that for a critical period it suffices to attain the buffer level rather than all other below levels which is the starting point of non-critical period of each cycle except the first one. The absorbing probability vectors and of the Markovian chain and described in the paper  are given by,
where be the sub-matrix of which consists of the last rows in. That is, absorbing probability vectors and are steady state probability vectors of and, respectively. The absorbing probability vectors are given by and, respectively, where V is the stochastic matrix in Equation (15) in which the last column is replaced by the column vector and W is the stochastic matrix in Equation (16) in which the last column is replaced by the column vector. Then the average length of non-critical and critical periods are and, respectively, given by
The average total number of high priority packets lost during a critical period is,
The average total number of low priority packets lost during a critical period is,
where and are the high priority packet loss during a critical period and and are the low priority packet loss during a critical period, and are given below, for,
The high priority packet loss probability and low priority packet loss probability are
3. Computational Complexity
In this section, first we compute the computational complexity of the long-term performance measures, namely, high priority packet loss probability and low priority packet loss probability through the Equations (8)-(9). Next, we compute the short-term performance measures, namely, the mean length of non-critical periods and critical periods, and the long-term performance measures, namely, high priority packet loss probability and low priority packet loss probability through the Equations (15)-(26) and analyze their computational complexity  .
In order to find the computational complexity of long-term and through the Equations ((8)-(9)), the transition probability matrix P in Equation (1) is not of the canonical type, using the Schur-Banachiewicz inversion formula, to compute the steady-state probability vector y of P (with dimension ) and we have. Let , where is the matrix P in which the last column is replaced by the column vector. Let the permutation matrix M with dimension,
where 0 and I are the zero and the identity matrices of dimension. Now, multiplying M to, we have
, (say). (28)
The sub-matrices E, F, G, and H are of the dimensions , , , and , respectively. Then the steady state probability vector y is the last row of the matrix,
By the Schur-Banachiewicz inversion formula, where is the Schur complement of E in with dimension. But E is not a Toeplitz matrix and can be further decomposed as
where and are upper-triangular and Toeplitz matrices of dimensions and, respectively. Thus
The sub-matrices and are also upper-triangular and Toeplitz matrices and the existence of and is due to the existence of the inverses of, and. The complexity to obtain is of the order due to the matrix multiplication, and the complexity to obtain the Schur complement X and the matrix R in (29) is of the order. Thus the overall complexity to compute and by Equations ((8)-(9)) is of the order. Note that as, becomes , a complexity equal to the inversion of by a direct Gaussian elimination.
Now, we place the algorithmic steps needed for computing the performance measures, , , and and analyze their computational complexity  .
Step 1. Compute (the last () rows of) and.
Step 2. Compute and by using and respectively, where V is the stochastic matrix in Equation (15) in which the last column is replaced by the column vector and W is the stochastic matrix in Equation (16) in which the last column is replaced by the column vector.
Step 3. Compute and.
Step 4. Compute, , and .
Step 5. Compute and by using Equations ((17) and (18)), respectively.
Step 6. Compute and by Equations ((25) and (26)), respectively.
The computational complexity of the steps 5-6 in the above algorithm is of the order due to the products of several pairs of row and column vectors. The computational complexity of the steps 3-4 is of the order due to the size of the matrix. The computational complexity of the 2nd step is of the order due to the inversion of the matrix, and is also of the order due to the multiplication of the two matrices and and the multiplication of the two matrices and.
We next show that the computational complexity of the first step is of the order by subject to the existence of the inverses of, and. Both and are not in canonical type. Therefore, we will apply the Schur-Banachiewicz inversion formula for block matrices to obtain inverses. Now, multiplying M to, we have
, (say). (32)
The sub-matrices, , , and are of the dimensions , , , and, respectively. The inverse of is and is the last rows of and we have
where is the Schur complement of the matrix in, with dimension. Since is upper-triangular Toeplitz block matrix, the inverse is also upper-triangular Toeplitz block matrix. Thus the computation complexity of obtaining in (33) is of the order due to the computation of the inverse of and the multiplication of the matrices and. Similarly, we have
, (say). (34)
The sub-matrices, , , and are of the dimensions, , , and, respectively. We have
where is the Schur complement of the matrix in, with dimension. Since is upper-triangular Toeplitz block matrix, the inverse is also upper-triangular Toeplitz block matrix. The computation complexity of obtaining the inverse of in (35) is of the order due to the multiplication of the matrices and. In conclusion, the overall complexity of the algorithm is above for the computation of the performance measures, , , and is of the order.
4. Numerical Results
Using the Equations (15)-(26), the steady state packet loss probabilities and mean length of non-critical and critical periods are computed  . The generalized variance based Markovian fitting method proposed in  is employed to emulate the self-similar traffic for both priority packet traffics. The mean arrival rate () and variance () of the self-similar traffic is set to be 1 and 0.6, respectively  , the interested time-scale range to emulate self-similarity is over   . In the papers   it is shown that in order to emulate self-similar traffic well, the minimum number of states of the resultant MMPPs must be. That is, both and must be. So each class is here characterized by matrices. Such a high dimensional MMPP for both high priority and low priority traffic results in computational complexity. In order to reduce the computational complexity, we use approximate model  , which is based on the papers   . The resultant 16-state MMPP of low priority packets is approximated by a 2-state Markovian arrival process (MAP). By applying this approximated model, the computational complexity is reduced by times  . The number of servers (s) is set to be 3, the number of phases in series of each server (k) is set to be 5, and the system capacity (C) is set to be 20, buffer depth of the router then is 17. We consider two different self-similar traffic corresponding to the Hurst parameter values and, and the results are presented in Figures 2-8. Figure 2, depict the high priority packet loss probability decrease and the low priority packet loss probability increase as threshold (b) increases. In order to find out the optimal level of the threshold, we illustrate a plot of the high priority packet loss probability against the low priority packet loss probability ones at various b in Figure 3. We could find out that the optimal level of the threshold is the one located nearest to the left lower corner
Figure 2. Packet loss probabilities against threshold when C = 20, s = 3, k = 5, rho = 0.85, H = 0.7 and H = 0.8.
Figure 3. High priority packet loss probability vs low priority packet loss probability when C = 20, s = 3, k = 5, rho = 0.85, H = 0.7 and H = 0.8.
Figure 4. Packet loss probabilities against traffic intensity when b = 7, C = 20, s = 3, k = 5, H = 0.7 and H = 0.8.
Figure 5. Packet loss probabilities against buffer capacity when d = 7, s = 3, k = 5, rho = 0.85, H = 0.7 and H = 0.8.
of the plot, which is around. Figure 4 & Figure 5 depict the variation of packet loss probability against traffic intensity (rho) and buffer capacity, respectively. It is clear that packet loss probability increase as traffic intensity increases (Figure 4). We observe that of high priority and low priority packet loss probabilities both decrease as buffer capacity increases (Figure 5). From Figure 6, we observe that the mean lengths of non-critical periods (ELNC) and critical periods (ELC) are decreases as threshold increases. Figure 7 & Figure 8 depict the variation of mean lengths at the optimum level of threshold against traffic intensity and buffer capacity, respectively. Figure 7 illustrates the mean lengths of non-critical periods decrease and critical periods increase
Figure 6. Mean lengths of non-critical and critical periods against threshold when C = 20, s = 3, k = 5, rho = 0.85, H = 0.7 and H = 0.8.
Figure 7. Mean lengths of non-critical and critical periods against traffic intensity when b = 7, C = 20, s = 3, k = 5, H = 0.7 and H = 0.8.
Figure 8. Mean lengths of non-critical and critical periods against buffer capacity when b = 7, rho = 0.85, s = 3, k = 5, H = 0.7 and H = 0.8.
as traffic intensity increases. Figure 8 depict the mean lengths of non-critical and critical periods both increase as buffer capacity increases.
In this paper, we have investigated the performance of asynchronous router employing PBS mechanism to provide differentiated services under Markovian modelled self-similar traffic input. To reduce the computational complexity, the original high dimensional MMPP of the low priority packets is approximated by 2-state MAP. The long-term performance measures, namely, the steady state high priority and low priority packet loss probabilities, and the short-term performance measures, namely, average length of non-critical and critical periods, are computed and presented graphically. With this analysis, we can locate the optimal limit (threshold) position of buffer to obtain the greatest performance.
 Paxson, V. and Floyd, S. (1995) Wide Area Traffic: The Failure of Poisson Modeling. IEEE/ ACM Transactions on Networking, 3, 226-244.
 Leland, W.E., Taqqu, M.S., Willinger, W. and Wilson, D.V. (1994) On the Self-Similar Nature of Ethernet Traffic (Extended Version). IEEE/ACM Transactions on Networking, 2, 1- 15.
 Crovella, M.E. and Bestavros, A. (1997) Self-Similarity in World Wide Web Traffic: Evidence and Possible Causes. IEEE/ACM Transactions on Networking, 5, 835-846.
 Andersen, A.T. and Nielsen, B.F. (1998) A Markovian Approach for Modeling Packet Traffic with Long-Range Dependence. IEEE Journal on Selected Areas in Communications, 16, 719-732.
 Yoshihara, T., Kasahara, S. and Takahashi, Y. (2001) Practical Time-Scale Fitting of Self- Similar Traffic with Markov Modulated Poisson Process. Telecommunications Systems, 17, 185-211.
 Shao, S.K., Perati, M.R., Tsai, M.G., Tsao, H.W. and Wu, J. (2005) Generalized Variance- Based Markovian Fitting for Self-Similar Traffic Modeling. IEICE Transactions on Communications, E88-B, 4659-4663.
 Wang, Y.C., Lin, C.W. and Lu, C.C. (2000) Loss Behaviour in Space Priority Queue with Batch Markovian Arrival Process-Discrete Time Case. Performance Evaluation, 41, 269- 293.
 Reddy, P.M., Kumar, L.P.R., Reddy, D.M. and Kumar, K.S. (2011) Performance Analysis of Internet Router Employing Partial Buffer Sharing Mechanism under Markovian Modeled Self-Similar Variable Length Packet Input Traffic. International Journal of Pure and Applied Mathematics, 67, 407-421.
 Perati, M.R., Shao, S.K., Chang, C.H. and Wu, J. (2007) An Efficient Approximate Markovian Model for Optical Packet Switches Employing Partial Buffer Sharing Mechanism under Self-Similar Traffic Input. Proceedings of IEEE HPSR 2007, Brooklyn, 30 May-1 June 2007, 1-7.
 Riberio, M.R.N. and O’Mahony, M.J. (2000) Improvements on Performance of Photonic Packet Switching Nodes by Priority Assignment and Buffer Sharing. Proceedings of IEEE ICC 2000, 18-22 June 2000, 1738-1742.
 Ravi, K.G. and Malla, R.P. (2014) Investigation of Priority Based Optical Packet Switch under Self-Similar Variable Length Input Traffic Using Matrix Queueing Theory. Springer Proceedings in Mathematics & Statistics, Fractals Wavelets and their Applications, Switzerland, 1 September 2014, 445-456.
 Venkataramani, B., Bose, S.K. and Srivathsan, K.R. (1997) Queueing Analysis of a Non- Preemptive MMPP/D/1 Priority System. Computer Communications, 20, 999-1018.
 Chen, C.Y., Chang, C.H., Perati, M.R., Shao, S.K. and Wu, J. (2007) Performance Analysis of WDM Optical Packet Switches Employing Wavelength Conversion under Markovian Modeled Self-Similar Traffic Input. Proceedings of IEEE HPSR 2007, Brooklyn, 30 May-1 June 2007, 1-6.
 Sampath, K.K., Malla, R.P. and Adilakshmi, T. (2012) Performance Study of WDM OPS Employing Tunable Converter Sharing under Self-Similar Variable Length Packet Traffic. Proceedings of 18th IEEE ICON 2012, Singapore, 12-14 December 2012, 114-119.
 Callegati, F. (2001) Approximation Modeling of Optical Buffers for Variable Length Packets. Photonic Network Communications, 3, 383-390.
 Kasahara, S. (2001) Internet Traffic Modeling: Markovian Approach to Self-Similar Traffic and Prediction of Loss Probability for Finite Queues. IEICE Transactions on Communications Special Issue on Internet Technology, E84-B, 2134-2141.
 Reddy, P.M., Kumar, L.P.R., Kumar, K.S. and Shao, S.K. (2008) Analytical Model for the Switch Handling Self-Similar Traffic with Variable Packet Length. Proceedings of 16th IEEE ICON 2008, New Delhi, 12-14 December 2008, 1-5.
 Kumar, L.P.R., Kumar, K.S., Reddy, D.M. and Reddy, P.M. (2011) Analytical Model for Loss and Delay Behaviour of the Switch under Self-Similar Variable Length Packet Input Traffic. IAENG International Journal of Computer Science, 38, 103-112.
 Kumar L.P.R., Kumar, K.S., Reddy, D.M. and Reddy, P.M. (2010) Analytical Model for Performance Study of the Switch under Self-Similar Variable Length Packet Traffic. Proceedings of WCECS 2010, San Francisco, 20-22 October 2010, 243-247.
 Blondia, C. (1989) The N/G/1 Finite Capacity Queue. Communications in Statistics: Stochastic Models, 5, 273-294.
 Lucantoni, D.M., Hellstern, K.S.M. and Neuts, M.F. (1990) A Single-Server Queue with Server Vacations and a Class of Non-Renewal Arrival Processes. Advances in Applied Probability, 22, 676-705.
 Latouche, G. and Ramaswamy, V. (1999) Introduction to Matrix Analytic Methods in Stochastic Modeling. SIAM Press, Philadelphia.
 Altiok, T. (1985) On the Phase-Type Approximations of General Distributions. IIE Transactions, 17, 110-116.
 Diamond, J.E. and Alfa, A.S. (2000) On Approximating Higher Order MAPs with MAPs of Order Two. Queueing Systems, 34, 269-288.