- Research
- Open access
- Published:

# Performance analysis of spectrum sharing mechanisms in cognitive radio networks

*EURASIP Journal on Wireless Communications and Networking*
**volume 2011**, Article number: 129 (2011)

## Abstract

In this article, a non-preemptive (NP) mechanism is proposed to improve the quality-of-service (QoS) of secondary users (SUs) in joint leasing and sensing-based cognitive radio networks (CRNs). In this spectrum-sharing mechanism, a primary user (PU) could not forcibly terminate a SU with ongoing transmission. Both the typical preemptive and the proposed NP mechanisms are modeled by multi-dimensional Markov chains with three state variables. A decomposition-approximated method is used to derive the closed-form solutions of the steady-state probabilities in the Markov chains. The analytical results are verified by numerical results. System parameters that affect performance metrics are also investigated in these two mechanisms. The simulation results show that in the proposed mechanism the performance metrics of SUs such as force-termination probability and mean system delay are improved significantly, with an acceptable loss of PUs' QoS in terms of mean waiting time and blocking probability. A QoS tradeoff can be achieved between the primary and the secondary systems. For QoS improvement of SUs, the proposed NP mechanism outperforms the preemptive mechanism in joint leasing and sensing-based CRNs.

## 1. Introduction

Cognitive radio (CR) has been considered as a viable technique to improve the utilization of spectral resources in a licensed (primary) system [1]. The secondary users (SUs) in the unlicensed (secondary) system are allowed to opportunistically utilize the spectrum holes that are temporarily unoccupied by primary users (PUs). The key enabler is the SU with CR technology, which can sense the spectrum hole and accordingly adjust its transmission parameters. The main idea of CR is that SUs exploit the spectrum holes and take advantage of them opportunistically. Therefore, the spectrum sharing mechanism in CR networks (CRNs) becomes a hot research topic.

According to the literature related to CRNs, previous study on dynamic spectrum access (DSA) can be categorized as sensing-based access model, leasing-based access model, and joint leasing and sensing-based access model. In sensing-based CRNs [2–5], SUs acquire the information of spectrum holes through spectrum sensing and freely access the unoccupied licensed channels, without paying any leasing fees to primary system. The primary system is ignorant of SUs, and the quality-of-service (QoS) of PUs should be protected by a specific spectrum sharing mechanism. In leasing-based CRNs [6], the secondary system dynamically leases spectrum from primary system and owns exclusive right to access the leased spectrum. However, the spectrum leasing is not performed in real time and the SUs will keep the exclusive right until the lease term expires, which may cause a great QoS degradation to primary system once the PUs' services grow abruptly. The joint leasing and sensing-based CRN proposed in [7] is widely considered to be a viable market option that benefits both the primary and the secondary systems. The primary system can make extra profit via spectrum leasing (unlike in sensing-based CRNs) and SUs have full flexibility in utilizing the spectrum holes (unlike in leasing-based CRNs). SUs pay the primary system the channel leasing fees only for opportunistic access. The joint leasing and sensing-based model enables more flexible integration of DSA in the licensed spectrum via real-time spectrum leasing.

In this article, we study the spectrum-sharing mechanisms in joint leasing and sensing-based CRNs, which benefit both the primary and the secondary systems. The authors in [8] proposed a preemptive spectrum-sharing mechanism in joint leasing and sensing-based CRNs. This preemptive mechanism is the same as the traditional spectrum-sharing mechanism in sensing-based CRNs [2–5], which has the basic requirement that the PUs are not affected by the SUs' opportunistic spectrum utilization. A SU has to vacate the channel promptly when a PU returns and handoff to another spectrum hole. When no spectrum hole is available, the SU's ongoing transmission is terminated and the SU is preempted. In the preemptive mechanism, PUs have preemptive priorities over SUs. The preemptive mechanism causes significant force-termination probability for SUs [2]. That is not only a waste of resources (power and frequency), but also insufferable for SUs, especially for the SUs who lease spectrum for some guarantees of QoS. We originally present a non-preemptive (NP) spectrum-sharing mechanism, in which PUs have no preemptive priorities over SUs. A PU would wait for a period of time until the completion of the SU's ongoing transmission when no spectrum hole is available. No SU would forcibly be terminated by PUs. A QoS tradeoff will be achieved between the primary and the secondary systems. We focus on the performance analysis of spectrum-sharing mechanisms, which not only gives the evaluation of the spectrum-sharing mechanisms, but also provides a clue for future researches on strategies of primary and secondary systems in joint leasing and sensing-based CRNs.

The interactions between PUs and SUs in spectrum sharing can be modeled by a multi-dimensional Markov chain. For comparison, both the preemptive and the NP mechanisms are modeled based on the Markov process. Markov theory is an effective method to model the spectrum sharing in CR systems [2, 3, 5]. However, it is always non-trivial to obtain the exact closed-form solutions of the steady-state probabilities. An approximate method introduced by Ghain and Schwartz [9, 10] can be used for analyzing the Markov chain and deducing the approximate closed-form solutions of steady-state probabilities since we suppose that the SUs have much shorter average service time than PUs. Performance metrics such as mean system delay and force-termination probability of SU, average waiting time, and blocking probability of PU are evaluated with the steady-state probabilities in CRNs. The QoS tradeoff relationships between primary and secondary systems are discussed. In addition, the influences of system parameters on performance metrics have also been presented.

This rest of the article is organized as follows. In Section 2, we first present the system model of a joint leasing and sensing-based CRN, and introduce the preemptive and the NP mechanisms based on three-dimensional Markov chains. We then derive the closed-form solutions of the steady-state probabilities in the Markov chains by decomposition approximation. In Section 3, we give the expressions of performance metrics. To verify the analytical solution, simulation results are carried out and the two spectrum-sharing mechanisms are compared and discussed in Section 4. Finally, conclusion is drawn in Section 5.

## 2. System model

The joint leasing and sensing-based access model can be described as a CRN with three interacting layers [7]: primary system (with PU access point and PUs), spectrum broker, and secondary system (with SU access point and SUs with CR capabilities). The system model is depicted in Figure 1. The primary system divides the licensed spectrum into two parts. One part consists of reserved channels for PUs transmission only, and the other part consists of the shared channels that can be used by SUs opportunistically. The primary system can temporarily lease its spectrum usage rights of the shared channels to secondary system through the spectrum broker, and get payoff from secondary system as SUs opportunistically utilize the shared channels. The spectrum broker can be either a regulatory authority (e.g., FCC in USA, Ofcom in UK) or an authorized third-party. The spectrum broker works as an interaction entity between the primary and the secondary systems [11]. A contract between the primary and the secondary systems has to be made in spectrum broker. The interactions between the primary and the secondary systems in a three-tier CRN can be modeled by a Stackelberg game [12], where the primary system is the leader and secondary system is the follower. The leader announces its own policies (the range of shared channels, spectrum leasing cost), and the secondary system makes its own decisions (the range of leased channels, service tariff) with the knowledge of the leader's decisions. The primary and the secondary systems exchange their information through spectrum broker. For simplicity, we assume that there are one primary system and one secondary system. In this joint leasing and sensing-based three-tier CRN, the spectrum-sharing mechanism has the major influences on the primary and the secondary systems' decisions. The economic factor is not our focus here and will be considered in our future research.

We assume that there are *N* licensed channels in a primary system, and each of them has identical bandwidth. Among these *N* channels, *R* channels are dedicated for PUs, and *N* - *R* channels are shared by PUs and SUs. A SU can sense the shared channels by spectrum sensing and access the channel if it is not occupied by a PU. The PU and the SU arrival processes follow Poisson process with arrival rates *λ*_{p} and *λ*_{s}, respectively. The service in the CRN is a single-slot first come first served transmission. The service time of the PU follows exponential distribution with mean 1/*μ*_{p} and that of the SU follows exponential distribution with mean 1/*μ*_{s}. As the number of spectrum holes varies with PUs traffic dramatically, we assume the traffic of SUs has much shorter average service time compared to the traffic of PUs. A first in first out buffer of size *Q* is allocated for the secondary system.

In this section, we describe the process of spectrum sharing in the CRN as a multi-dimensional Markov chain with three state variables. The states in the model are denoted as \left\{{N}_{\mathsf{\text{p}}}\left(t\right),{N}_{\mathsf{\text{s}}}^{\prime}\left(t\right),{N}_{\mathsf{\text{s}}}\left(t\right)\right\}.

{P}_{i,j,k}=\underset{t\to \infty}{lim}P\left\{{N}_{\mathsf{\text{p}}}\left(t\right)=i,\phantom{\rule{2.77695pt}{0ex}}{N}_{\mathsf{\text{s}}}^{\mathsf{\text{\u2019}}}\left(t\right)=j,\phantom{\rule{2.77695pt}{0ex}}{N}_{\mathsf{\text{s}}}\left(t\right)=k\right\} represents the steady probability of state, in which *N*_{p}(*t*) = *i* is the number of PUs in the system, {N}_{\mathsf{\text{s}}}^{\prime}\left(t\right)=j is the number of SUs in the system, *N*_{s}(*t*) = *k* is the number of SUs in service. Here, we use (*i, j, k*) as the notation of a state in the model.

### 2.1 Preemptive mechanism

In the preemptive mechanism, a SU has to switch to another spectrum hole or stop its transmission (be preempted) as soon as a PU reclaims the channel, since PUs are given priorities over SUs. The preempted SU that ceases ongoing packet transmission will put the failed transmission packet into the buffer and wait for transmission again. However, if the buffer is full, then the SU's failed transmission packet will be dropped. The number of channels that SUs can use is a random variable, which depends on the PUs' service probability distributions. Since the number of the spectrum holes depends on the PUs' traffic, the number of SUs in service also varies with PUs' traffic. Figure 2 shows an example of the state transition diagram with *N* = 3, *R* = 1. The state space of the preemptive mechanism Ω^{pre} is presented as

In Figure 2, we can see that unidirectional transitions exist in the Markov chain, so that the Markov chain cannot be reversible, which means that the exact closed-form solutions are non-trivial to obtain. Decomposition technique [9] is used as a tool to derive the approximate closed-form solutions of steady-state probabilities in the Markov chain. The Markov chain can be broken down into a hierarchy of groups of aggregate states. Each group of states comprises of all the states with a fixed number of PUs. Figure 2 shows that there are four groups of aggregate states and each group is circled by a line separately. All transitions between the groups are in terms of *λ*_{p} and *μ*_{p}. For the duration of a specific number of PUs, the states of SUs achieve equilibrium. All the transitions within a group are in terms of *λ*_{s} and *μ*_{s}, and the steady-state probabilities {P}_{i,j,k}^{\mathsf{\text{pre}}} in the preemptive mechanism can be approximated by ignoring the transitions between groups.

PUs have preemptive priorities over SUs, which implies that the equilibrium distribution of PUs can simply be modeled as a *M/M/N/N* queueing system. *P*_{
i
} represents the probability of *i* PUs in the system, which can be derived by Erlang-B formula [9]:

∀_{
i
}∈ {0, 1, ..., *R*}, the *M/M/N-R/N-R+Q* queueing system can be used to obtain {P}_{i,j,min\left(j,N-R\right)}^{\mathsf{\text{pre}}}, which represents the probability of *j* SUs in the system. *ρ*_{s} = *λ*_{s}/*μ*_{s} refers to the SU traffic load in Erlang. For simplicity, we denote *N-R* = *D*, *N-R+Q* = *E*.

∀_{
i
}∈ {*R*+1, ..., *N*-1}, {P}_{i,j,min\left(j,N-i\right)}^{\mathsf{\text{pre}}} can be derived from the *M/M/N-i/N-i+Q* queueing system similarly as (2) and (3).

For *i* = *N*, we construct the balance equations of the states in the group. The steady-state probabilities can be easily obtained.

All the steady-state probabilities in the preemptive mechanism are given approximately in above formulas. The complete algorithm for the steady-state probabilities in the preemptive mechanism is described in Appendix A

### 2.2. NP mechanism

In the NP mechanism, PUs have no preemptive priorities over SUs. When there is no spectrum hole to switch, a SU would not vacate the channel reclaimed by a PU until the SU finishes its ongoing transmission. It means that SUs would not be forcibly terminated by PUs. Both the primary and the secondary systems can communicate with the spectrum broker through auxiliary control channels [7]. We describe the explicit interactions between the primary and the secondary systems as follows.

In the secondary system, SUs can monitor the real-time situation of the shared channels by periodic spectrum sensing. Once there is no spectrum hole, the secondary system will inform a waiting signaling to the primary system through the spectrum broker. After receiving this signaling, the PU who is ready to transmit will wait for a period of time and inform the secondary system the target channel that it reclaims. The SU in the specific channel will vacate the channel immediately after it finishes the ongoing transmission. If the channel can be released before the PU's waiting time is due, then the PU can access the target channel and the PU's service is only deferred. Otherwise, the PU will be blocked. Once the SUs sense that there appears a spectrum hole (a SU or PU in service left), the waiting signaling is canceled for PUs in the primary system via the spectrum broker. In the situation without waiting signaling, the proposed mechanism works in the same way as the preemptive mechanism.

In this article, we assume that the waiting time of a PU follows exponential distribution with mean 1/*μ*_{p}, which is the same as the PU's service time. Therefore, the total rate of a PU leaving the system only depends on *N*_{p} (*t*). This implies that the number of PUs in the system is independent of the SUs' traffic and the steady state probabilities of *N*_{p} (*t*) can also be derived by (1).

Figure 3 shows an example of the state transition diagram of NP mechanism with *N* = 3, R = 1. The state space of NP mechanism Ω^{nonpre} is

In Figure 3, the shaded states represent the states with PUs queueing for transmission, and these states do not exist in preemptive mechanism. The set of states with PUs queueing is denoted as *S*^{q}, while the set of the other states in Ω^{nonpre} is denoted as *S*^{n}. In queueing states, *i+k* > *N*, only *N-K* PUs are in service, *i*-(*N-K*) PUs are queueing for transmission.

We use the decomposition technique to derive the approximate closed-form solutions of steady-state probabilities {P}_{i,j,k}^{\mathsf{\text{nonpre}}} in the proposed NP mechanism.

Step 1. For *i* ∈ (0, ..., *R*), all states are in *S*^{n}, and the state transitions in each group can be modeled as *M/M/(N-R)/(N-R)+Q*. Therefore, the steady-state probabilities of *j* SUs in the system {P}_{i,j,min\left(j,N-R\right)}^{\mathsf{\text{nonpre}}} can be derived by the same formulas as (2) and (3).

Step 2. For *i* ∈ (*R*, ..., *N*-1), we denote the queueing states as (*i', j, k*) to distinguish it from the non-queueing states here. The transitions into the queueing states {*i* = 1 ≤ *i'* ≤ *N*, *j* ≤ *k*, *k* = min(*N-i, N-R*)} are only from the non-queueing states {*i*, *j* ≤ *k*, *k* = min(*N-i, N-R*)}, which have been obtained from last step. Figure 4 shows an example of the transition diagram between non-queueing states and queueing states.

We define the terms *F*_{
i, j, k
}, *R*_{
i, j, k
} as follows.

in which *φ*(*i', j, k*) indicates whether the state (*i', j, k*) exists or not, i.e. *φ*(*i', j, k*) = 1, if (*i', j, k*) ∈ Ω^{nonpre}.

We use (6) and (7) to construct balance equations for the queueing states, as proposition 1 in [10]. {P}_{i,j,k}^{\mathsf{\text{nonpre}}} satisfies the following recursive relationship:

Step 3. For *i*∈ (*R*+1, ..., *N*-1), we can derive the non-queueing states' equilibrium probabilities {P}_{i,j,min\left(j,N-i\right)}^{\mathsf{\text{nonpre}}} according to the following balance equations. Figure 5 shows an example of the transition diagram between the queueing states with known equilibrium probabilities and the non-queueing states we are interested in.

The closed-form solutions of steady-state probabilities {P}_{i,j,min\left(j,g\left(i\right)\right)}^{\mathsf{\text{nonpre}}} for the queueing states with *i*∈ (*R*+1, ..., *N*-1) can be written as (11). We denote N-i=g\left(i\right),\phantom{\rule{0.3em}{0ex}}N-i+1=x\left(i\right),\phantom{\rule{0.3em}{0ex}}\left(N-i+1\right){P}_{i,b,N-i+1}^{\mathsf{\text{nonpre}}}={f}_{i,b} here.

Step 4. For *i = N*, Figure 6 shows an example of the transition diagram between states with known equilibrium probabilities and states that we are interested in.

According to the decomposition technique, local balance equation can be presented as (13). As a result, the equilibrium probabilities can easily be written as (14) and (15).

All the steady-state probabilities in the NP mechanism are given approximately by above four steps. The complete algorithm for calculating the steady-state probabilities in the NP mechanism is presented in Appendix B. The main purpose of deriving the steady-state probabilities is to evaluate the performance metrics in the joint leasing and sensing-based CRN.

## 3. Performance metrics

QoS is defined as the ability of the network to provide a service at an assured service level, which is also the performance evaluation standard of the network. A user perceives the QoS in the specific network in terms of, for example, usability, retainability, and integrity of the service [13]. Blocking probability is the probability that a user is blocked when it is trying to access the system, which reflects the usability of the network. Force-termination probability is the probability that a user has to stop its ongoing transmission. The force-termination probability can reflect the retainability of the service. As the service integrity relates to the delay of data transmission, mean system delay and mean waiting time are also in our considerations.

For evaluating the spectrum-sharing mechanisms in the CRN, metrics that we consider include force-termination probability of SU *P*_{FT-su}, mean system delay of SU *T*_{Delay-su}, mean waiting time of PU *t*_{wait-pu}, and blocking probability of PU *P*_{BL-pu}. The expressions of these metrics are described as follows. We define *f*(*i*) ≡ min(*N-i*, *N-R*).

### 3.1 Metrics in the preemptive mechanism

The force-termination probability and dropping probability of SU are obtained as

in which {P}_{\mathsf{\text{BL-su}}}^{\mathsf{\text{pre}}}=\sum _{i=0}^{N}{P}_{i,f\left(i\right)+Q,f\left(i\right)}^{\mathsf{\text{pre}}}.

The force-termination probability of SU *P*_{FT-su} represents the probability that the SU in service has to stop transmission because of the channel reclaimed by a PU.

The mean system delay of SU {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{pre}}} contains the SU's transmission time and waiting time in the buffer. It can be written as

when 0 ≤ *i* ≤ N-1, {t}_{i}^{\mathsf{\text{pre}}} represents the system delay, given that *i* PUs are in the system and spectrum holes exist. There are two different situations here. In one situation, the SU has occupied a spectrum hole, and the system delay correspondingly equals to the mean service time of SU 1/*μ*_{s}. In the other situation, the SU is in the buffer with *q* SUs waiting ahead, and the system delay is denoted as

when *i* = *N*, no spectrum hole exists. The SU has to wait for the appearance of a spectrum hole and a queueing time of *j* SUs which are in front of it in the buffer.

{t}_{i}^{\mathsf{\text{pre}}}=\sum _{j=0}^{Q-1}{P}_{i,j,0}\left(\frac{1}{N{\mu}_{\mathsf{\text{p}}}}+\frac{\left(j+1\right)}{{\mu}_{\mathsf{\text{s}}}}\right).

The blocking probability of PU is obtained as {P}_{\mathsf{\text{BL-pu}}}^{\mathsf{\text{pre}}}={P}_{N}. The mean waiting time of PU {t}_{\mathsf{\text{wait-pu}}}^{\mathsf{\text{pre}}}=0, since PUs in the preemptive mechanism have priorities over SUs.

### 3.2. Metrics in the NP mechanism

The mean system delay of SU {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{nonpre}}} can be presented as

The blocking probability of SU in the NP mechanism is {P}_{\mathsf{\text{BL-su}}}^{\mathsf{\text{nonpre}}}=\sum _{i=0}^{R}{P}_{i,N-R+Q,N-R}^{\mathsf{\text{nonpre}}}+\sum _{i=R+1}^{N}\sum _{k=N-i}^{N-R}{P}_{i,k+Q,k}^{\mathsf{\text{nonpre}}}. {t}_{i\text{\_}\mathsf{\text{nonque}}}^{\mathsf{\text{nonpre}}} and {t}_{i\text{\_}\mathsf{\text{que}}}^{\mathsf{\text{nonpre}}} represent the system delay of the states without and with PUs queueing, respectively, given that *i* PUs are in the system. The analysis process is the same as the derivation of {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{pre}}} in the last subsection. Due to the limited length of this article, the detail of analysis is omitted.

When 0 ≤ *i ≤ N*-1, then

When *i* = *N*, then

{t}_{i\text{\_}\mathsf{\text{que}}}^{\mathsf{\text{nonpre}}} satisfies the following recursive relationship:

in which *R*+1 ≤ *i* ≤ *N*. When *k*-1 = *N*-*i*, then

The blocking probability of PU is obtained as {P}_{\mathsf{\text{BL-pu}}}^{\mathsf{\text{nonpre}}}={P}_{N}+{P}_{\mathsf{\text{BL-extra}}}\cdot {P}_{\mathsf{\text{BL-extra}}} refers to the extra blocking probability caused by the waiting requirement raised by SUs.

The mean waiting time of PU {t}_{\mathsf{\text{wait-pu}}}^{\mathsf{\text{nonpre}}} is given by

The mean number of queueing PUs AQ_{pu} is

The mean waiting time of PU refers to the average extra time that the PU spends on waiting due to the introduction of the NP mechanism in the CRN.

## 4. Simulation results and discussion

In the above two sections, we have derived all the approximate equilibrium probabilities and the expressions of performance metrics in two spectrum-sharing mechanisms. For performance evaluation, first we will give the numerical results to verify the feasibility of approximate solutions to the equilibrium probabilities. Then, these two spectrum-sharing mechanisms are compared and influences of the system parameters are taken into consideration. In the simulation, if not specially mentioned we assume that *N* = 5, *R* = 2, *Q* = 2, *μ*_{p} = 1/10, *μ*_{s} = 5, *λ*_{p} = 1, in which (1/*μ*_{p})/(1/*μ*_{s}) > > 1. We evaluate the performance metrics versus *λ*_{s}, which ranges from 0.2 to 2. In the following figures, AR and SR are the abbreviations for analytical results and simulation results, respectively, while P and NP represent the preemptive mechanism and NP mechanism, respectively. Two figures compose a group, and each group of figures exhibits the system parameters' influences on the performance metrics.

Figures 7 and 8 show the analytical results of performance metrics calculated by the approximate closed-form solutions of the steady-state probabilities. To verify the feasibility of the approximation, we compare the analytical results with the exact numerical results for both the P and the NP mechanisms. The numerical results are carried out by Monte Carlo experiments. We can see that the analytical results and numerical results are hardly distinguishable. The closed-form solutions of the steady-state probabilities are well approximated and they can be used to analyze the performance metrics. For brevity, the numerical results are not exhibited in the rest of the article.

In Figure 7, the left subfigure shows that the mean system delay of SU *T*_{Delay-su} increases with *λ*_{s}. {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{nonpre}}} is always smaller than {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{pre}}}, and the difference between {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{pre}}} and {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{nonpre}}} grows with *λ*_{s} and 1/*μ*_{s}. The right subfigure shows {P}_{\mathsf{\text{FT-su}}}^{\mathsf{\text{pre}}} increases with both *λ*_{s} and 1/*μ*_{s}, while {P}_{\mathsf{\text{FT-su}}}^{\mathsf{\text{nonpre}}} stays at zero. From above descriptions, we can see that the NP mechanism improves the QoS of SU in the CRN.

On the other hand, Figure 8 shows the QoS loss of PU in the NP mechanism. {t}_{\mathsf{\text{wait-pu}}}^{\mathsf{\text{pre}}} stays at zero, while {t}_{\mathsf{\text{wait-pu}}}^{\mathsf{\text{nonpre}}} increases with *λ*_{s} and 1/*μ*_{s}. The NP mechanism leads to a growing blocking probability of PU in terms of *λ*_{s} and 1/*μ*_{s}. A QoS tradeoff between the primary and the secondary systems can be achieved in the NP mechanism. It is because that a PU would not preempt a SU until the SU finishes its ongoing transmission when there is no spectrum hole to handoff. For QoS improvement of SUs, the NP mechanism turns into a better choice than the preemptive mechanism. The traffic parameters are key factors that influence the performance metrics. As *λ*_{s} and 1/*μ*_{s} increase, the advantages of the NP mechanism become more prominent.

In the NP mechanism with *λ*_{s} = 2, *μ*_{s} = 5, a PU spends the mean waiting time of 0.04s (which accounts for 0.4% of the mean service time of PU) on queueing for transmission, and the PU also gains an extra blocking probability of 0.0034 (which accounts for 0.6% of the blocking probability of PU) because its waiting time is due. In return, the force-termination probability of SU decreases by 16% and the mean system delay of SU decreases by 0.06 (which accounts for 30% of the mean service time of SU). The results show that, significant improvement of SUs' QoS can be acquired with an acceptable loss of PUs' QoS.

Figures 9 and 10 show the influences of *λ*_{p} and *λ*_{s} on the performance metrics. The left subfigure in Figure 9 shows that *T*_{Delay-su} increases with *λ*_{p} and *λ*_{s}, and {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{pre}}} is always larger than {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{nonpre}}}. The differences between {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{pre}}} and {T}_{\mathsf{\text{Delay-su}}}^{\mathsf{\text{nonpre}}} change insignificantly with *λ*_{p}. The right subfigure shows that {P}_{\mathsf{\text{FT-su}}}^{\mathsf{\text{pre}}} increases with *λ*_{s} and *λ*_{p}, while {P}_{\mathsf{\text{FT-su}}}^{\mathsf{\text{nonpre}}} stays at zero. Figure 10 shows that there exists mean waiting time of PU {t}_{\mathsf{\text{wait-pu}}}^{\mathsf{\text{nonpre}}} in the NP mechanism, and {t}_{\mathsf{\text{wait-pu}}}^{\mathsf{\text{nonpre}}} increases with both *λ*_{s} and *λ*_{p}. Extra blocking probability of PU is also caused when the PU's waiting time is due in the NP mechanism. As a result, we can get the same conclusion that a QoS tradeoff is achieved between the primary and the secondary systems in the NP mechanism.

Figures 11 and 12 constitute our third simulation group. In this group, the performance metrics with different reserved channels are revealed. *R* represents the number of channels that are reserved only for PUs, *N* - *R* is the number of shared channels that can be shared by PUs and SUs. Similar analysis can be done to these two figures, and the influence of system parameter *R* on both the primary and the secondary systems can be derived easily. In addition, we also give the simulation results with other system parameters in Appendix C, such as buffer size *Q* and total number of channels *N*. All of the simulation results show that the NP mechanism significantly improves the QoS of SUs with an acceptable QoS degradation of PUs. The performance analysis of these two spectrum-sharing mechanisms verifies that the proposed NP mechanism outperforms the preemptive mechanism in the joint leasing and sensing-based CRN.

## 4. Conclusion

In the joint leasing and sensing-based CRN, the primary system leases its spectrum usage rights of shared channels to secondary system, and gets payoff from the secondary system as SUs opportunistically access the shared channels by sensing. Different from traditional sensing-based CRNs, QoS guarantee for SUs has to be considered in spectrum-sharing mechanism design. In this article, we propose a NP spectrum-sharing mechanism in the joint leasing and sensing-based CRN. We have modeled both the NP mechanism and the preemptive mechanism based on multi-dimensional Markov chains. The closed-form solutions of steady-state probabilities in the two mechanisms are derived approximately by a one-dimensional decomposing method. The expressions of performance metrics including mean system delay of SU and mean waiting time of PU are also described. The approximate analytical results are verified by simulation results, which demonstrate that the closed-form solutions of the steady-state probabilities can be used to estimate the performance of the spectrum-sharing mechanisms. With the analytical solutions, the performance metrics can easily be obtained. In addition, we have discussed the impacts of system parameters such as arrival rate, service time, buffer size, and number of available channels on performance metrics. For comparison, the performance of traditional preemptive spectrum-sharing mechanism has also been analyzed and the results show that the proposed NP mechanism significantly improves the SUs' QoS with an acceptable QoS degradation of PUs. According to the performance analysis, the system parameters have impacts on the QoS tradeoff between PUs and SUs. How to balance the QoS tradeoff between PUs and SUs by setting the system parameters in designing spectrum leasing strategy will be an interesting topic for future study.

## Appendix

### A. Complete algorithm of the preemptive mechanism

### B. Complete algorithm of the NP mechanism

### C. Complement of simulation results

## References

Haykin S: Cognitive radio: brain-empowered wireless communications.

*IEEE J Sel Areas Commun*2005, 23(2):201-220.Tang PK, Chew YH, Ong LC, Haldar MK: Performance of secondary radios in spectrum sharing with prioritized primary access. In

*Proceedings of IEEE Conference on MILCOM 2006*. Washington, DC; 2006:1-7.Kondareddy YR, Andrewa N, Agrawal P: On the capacity of secondary users in a cognitive radio network. In

*Proceedings of IEEE Sarnoff Symposium 2009*. New Jersey, USA; 2009:1-5.Kannappa SM, Saquib M: Performance analysis of a cognitive network with dynamic spectrum assignment to secondary users. In

*Proceedings of IEEE International Conference on Communications (ICC) 2010*. Ottawa, Canada; 2010:1-5.Zhu P, Li J, Wang X: Scheduling model for cognitive radio. In

*Proceedings of 3rd International Conference on Cognitive Radio Oriented Wireless Networks and Communications 2008*. Singapore; 2008:1-6.Sengupta S, Chatterjee M, Ganguly S: An economic framework for spectrum allocation and service pricing with competitive wireless service providers. In

*Proceedings of 2nd IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks 2007*. Dublin, Ireland; 2007:89-98.Buddhikot MM: Understanding dynamic spectrum access: models, taxonomy and challenges. In

*Proceedings of 2nd IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks 2007*. Dublin, Ireland; 2007:649-663.Hyoil K, Shin KG: Optimal admission and eviction control of secondary users at Cognitive Radio HotSpots. In

*Proceedings of 6th Annual IEEE Communication Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks*. Rome, Italy; 2009:1-9.Ghani S, Schwartz M: A decomposition approximation for the analysis of voice/data integration.

*IEEE Trans Commun*1994, 42(7):2441-2452. 10.1109/26.297853Ghani S, Schwartz M: A decomposition approximation for the performance evaluation of non-preemptive priority in GSM/GPRS. In

*Proceedings of 1st International Conference on Broadband Networks*. California, USA; 2004:459-469.Hyoil K, Shin KG: Understanding Wi-Fi 2.0: from the economical perspective of wireless service providers.

*IEEE Wirel Commun*2010, 17(4):41-46.Jia J, Zhang Q: Competitions and dynamics of duopoly wireless service providers in dynamic spectrum market. In

*Proceedings of ACM MobileHoc 2008*. Hong Kong; 2008:313-322.Soldani D, Li M, Cuny R:

*QoS and QoE Management in UMTS Cellular System*. Wiley, New York; 2006.

## Acknowledgements

This study was supported by the National Basic Research Program under Grant No. 2009CB320402.

## Author information

### Authors and Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

**Open Access**
This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (
https://creativecommons.org/licenses/by/2.0
), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

### Cite this article

Peipei, C., Qinyu, Z., Yalin, Z. *et al.* Performance analysis of spectrum sharing mechanisms in cognitive radio networks.
*J Wireless Com Network* **2011**, 129 (2011). https://doi.org/10.1186/1687-1499-2011-129

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/1687-1499-2011-129