- Open Access
Throughput and delay analysis of network coded ALOHA in wireless networks
EURASIP Journal on Wireless Communications and Networking volume 2012, Article number: 277 (2012)
The purpose of this article is to analyze the impact of network coding in wireless networks. We consider a network coded ALOHA that performs bi-directional network coding over the ALOHA MAC protocol in a star topology network. The transmission probabilities of each outer node and the center node, and the target signal-to-interference-plus-noise ratio (SINR) are jointly optimized to achieve the maximum throughput of coded ALOHA. We analyze and compare the optimal performance of slotted and coded ALOHA. Under the unsaturated traffic condition at the center node, we derive practical throughput and delay, considering the network coding opportunity and the maximum queue length of the center node. Under the saturated traffic condition, we obtain a throughput upper bound of coded ALOHA to judge the ideal gain of network coding. The impact of asymmetric topology is evaluated with simulations.
The demand for high-quality mobile services has stimulated the development of new wireless network technologies. In contrast to wired networks, in which the quality of service (QoS) can be improved by increasing infrastructure density (server, communication line, router, and switch, etc.), a wireless (access) network is not easy to improve by means of infrastructure deployment. One reason is that the radio frequency is restricted and is a finite resource, and the same frequency channel cannot be used at the same time and in the same space. Due to this scarcity of radio resources, many researchers have tried to improve the performance of wireless links.
Medium access control (MAC) has been studied in order to allocate radio resources by resolving the conflicts from multiple users’ access to the common medium and improve the channel access efficiency in wireless networks. ALOHA , a classic MAC, was created in 1970, and has been widely used and highlighted for its simplicity. Many variations to ALOHA have also been proposed. Currently, this protocol is used in RFID . The most importantly, ALOHA formed the basis for the random access MAC in wireless sensor networks and wireless LAN. However, despite its simplicity of operation, the original ALOHA has low throughput, while the slotted ALOHA, an improvement over the original, has more or less double the capacity.
The relatively low performance of ALOHA originates from its random access nature. The node having a packet accesses the medium through a Bernoulli trial with a given probability. High access probability makes for high collisions, while a low probability results in under-utilization of the radio medium. The resulting optimal access probability still shows low throughput, even in a slotted ALOHA. The variations of ALOHA mostly focus on improving time-synchronization [3, 4], channel reservation [5–7], and cross-layer optimization [8–10]. Physical layer technologies such as MIMO [11, 12] and cognitive radio [13, 14] are combined with ALOHA, and their performances are analyzed. Most of these efforts, with the exception of the adoption of new physical layer characteristics, aim to reduce idle or collision time in the overall time scale.
In the previous studies, the complex operation is required to increase the throughput of ALOHA. However, it may reduce the merit of ALOHA that is simple and easy to implement. In this article, we analyze a network coded ALOHA, which is a different type of remedy for the low throughput of ALOHA. Network coding  is a promising technique in improving network throughput in multi-hop networks. Intermediate nodes in the network combine code packets, and intermediate or destination receivers decode these coded packets using known packets. From the medium usage point of view, network coding gives better performance by using the medium less when compared to the traditional communication method, in which each packet uses the medium exclusively [16, 17].
To verify the effect of network coding, we investigate and analyze embedding the network coding into the ALOHA protocola in the star topology, where the center node communicates with source/destination nodes one hop away. The network throughput can be improved when the network coding opportunity in the center node increases. Outer nodes put more packets into the center node in order to increase the network coding opportunity. Therefore, the optimal access probability for each node should be calculated in the network coded situation. Besides, the impact of network coding on the delay performance should be considered. With the simulation, we also evaluate the impact of asymmetric distance in the star topology, and find the tendency of the optimal transmission probability.
There has been research into combination of ALOHA and network coding. A similar model was considered in previous studies [18, 19]. In , routing, MAC, and network coding are jointly optimized, but both [18, 19] did not consider the queuing effects for network coding at the intermediate node. Other than this, the most relevant article  analyzed the throughput and delay of network coded ALOHA. However, they considered a protocol (collision) channel model and restricted the topology to two-way relay networks. The protocol channel model is not sufficient to represent the wireless channel (e.g., transmission errors due to the channel gain and capture effect). These assumptions are relaxed in our article. Network coding gain has been analyzed  within the CSMA/CA MAC layer, and we determined the set of the target signal-to-interference ratio (SIR) value and the carrier-sensing range that jointly maximize the throughput. Our results in this article are summarized as follows: (1) The maximum throughput of coded ALOHA is greater than that of the conventional ALOHA (coding gain is about 1.3). (2) Under the same parameters (transmission probability and target SINR), coded ALOHA shows less delay. (3) With the optimal parameters that maximize the throughput, coded ALOHA has a tendency to increase delay. (4) A throughput upper bound on coded ALOHA is obtained to judge the gain of network coding.
The remainder of the article is organized as follows: In Section ‘System model’, we explain our system model. In Section ‘Network throughput analysis’, the throughput of ALOHA and coded ALOHA is analyzed under the finite and infinite buffers in the center node. In Section ‘Packet delay analysis’, we derive the packet delay. Our numerical results are described in Section ‘Numerical results’. Finally in Section ‘Conclusions’, we conclude the article.
Consider the star topology wireless network of k + 1 nodes in Figure 1. Nodes are divided into k outer nodes and one relay node in the center. This network constitutes a block in ad hoc or mesh networks, in which the multiple routes go through the center node. Let k be an even number. The k outer nodes are equally spaced on a circle (radius = r). Every outer node (n1n2,…,n k ) establishes a bi-directional communication pair with the node in the opposite direction, and communicate with it through the center node. In Figure 1, for example, node n1and n5 are the pair. The role of the center node is to relay packets to the appropriate outer nodes using the decode-and-forward mode. The center node does not generate its own packets. There is only two-hop communication through the center node.
We consider the capture effect so that, even if more than two nodes transmit at the same time, the data or information from source node can be decoded successfully at receiver when the signal-to-interference-plus-noise ratio (SINR) is greater than the target threshold Θ. The source nodes can acknowledge success or failure of the transmitted packet (ACK). We assume that such ACK feedback is through the out-of-band transmission.
Medium access control and bi-directional network coding
The time is divided into equal-sized slots, each of which corresponds to one packet. Every node is synchronized with these time slots. At the beginning of each time slot, every outer node transmits a packet with transmission probability p, and the center node transmits with p c . Each outer node always has packets to transmit to its destination on the opposite side. The center node relays received packets from outer nodes with the transmission probability p c to appropriate destination nodes. The center node has the finite queue length, M in the real situation. The infinite queue length case is investigated for the asymptotic analysis. If transmission fails, the node retransmits the same packet with the same transmission probability until success is achieved.
We use bi-directional network coding at the center node, where network coding is applied for two bi-directional packets—a header packet in the queue of the center node and an opposite packet. The opposite packet is sent by the opposite node of the header packet’s transmitter. For example, when node n1 and n5 are bi-directional pair, node n1 sends packet X1 to the center node in time slot 1, node n5 sends packet X5 to the center node in time slot 2, and the center node broadcasts coded packet (X1 XOR X5) in time slot 3. In this example, X1 is the header packet, and X5 is the opposite packet. The destination node performs the XOR operation on the coded packet with its own transmitted packet. The ACK packet from the destination node implicitly means that the coded packet is successfully delivered and decoded at the destination node.
However, when there is no opposite packet in the queue, the center node transmits the header packet as a native packet without network coding. This opportunistic scheduling is optimal in terms of the sum rate maximization for the bi-directional traffic .
Transmission success probability
In Figure 1, there are three types of transmissions. First, outer nodes inject packets to the center node. Second, the center node relays the received packets to one of the outer nodes without any network coding. Finally, the center node (network) codes two bi-directional packets and transmits the coded packet to the two outer nodes. Let us denote the probability that each transmission succeeds by Pin, Pout, and Pnc, respectively.
In a previous study , the transmission success probability of ALOHA was derived under the Rayleigh fading channel:
where n is the number of interfering nodes, d0 is the distance between a source and its destination node, d i is the distance from the interfering node i to the destination node, p i is the transmission probability of the interfering node i, P0 is the transmission power of all transmitting nodes, N0 is the noise power, and Θ is the target SINR threshold. In this article, we assume that every outer node has the same transmission probability p i = p and the center node has p c . This probability is conditioned that the source node transmits and the receiver node does not participate the transmission.
From (1), we can find the success probability of the outer node when the center node does not transmit and the source outer node transmits, Pin, by replacing d i = d0 = r and n = k − 1:
Similarly, we can derive the success probability of the center node without the network coding, Pout, by replacing d0 = r and the other distances , when the center node transmits and the destination outer node does not transmit:
The transmission success probability for the coded packet, Pnc, consists of three probabilities with the condition that the center node transmits. One of three events occurs when the coded packet is successfully transmitted: (i) Two destination nodes successfully receive the coded packet with probability . (ii) One destination node receives the coded packet, while another destination node fails due to a collision with itself with probability (i.e., one of two destination nodes transmits). (iii) One destination receives and another destination fails due to channel errors with probability (i.e., both destination nodes does not transmit). These probabilities are derived in Appendix 1 as:
Network throughput analysis
In this article, the throughput is defined as the average amount of received data by the outer nodes in a unit time slot. It is the result of multiplying the average number of received packets at the outer nodes by the amount of information in a single packet. We can increase the amount of information in a single packet using a high target SINR.
However, at the same time, the high target SINR reduces the transmission success probability and the average number of received packets at the destination nodes. In this section, we obtain the maximum throughput under the both of saturated and unsaturated traffic conditions. The saturated traffic condition means that the center node always has enough packets for the network coding. This condition makes the maximum coding opportunity in the infinite queue length of the center node . From this, we can obtain a throughput upper bound. On the other hand, the unsaturated traffic condition reflects the actual dynamics of the center node’s queue, and gives us a precise throughput with the finite queue length and actual coding opportunity.
The center node may have a queue state such that it cannot operate the network coding process and transmits the header packet as a native packet. The state of the center node should be described as a sequence of packets in the queue. Unfortunately, because the state dimension increases with the number of flows, it is difficult to derive the steady state probability. Thus, we approximate the queue state by considering only the number of packets in the queue (the accuracy of our approximation is verified by the numerical evaluation in Section ‘Numerical results’). Let us define X t as the number of packets in the queue at time t, where M is the maximum queue length (X t ≤M). Let Π m denotes the stationary probability of ALOHA and denotes that of coded ALOHA.
The state transition probability of X t can be derived from transmission success probabilities, Pin and Pout, in Section ‘Transmission success probability’. The probabilities and where m ≥ 1, can be modeled as follows:
where p i = p is the transmission probability of outer node i, and p c is that of the center node. For the ALOHA (non-network coding) case, the transition probability for m ≥ 1, is represented as follows:
With these probabilities, λ0, λ and μ, the queue of the center node is modeled as a birth-death process in Figure 2. By solving this Markov chain, we can obtain the steady state probability Π m .
In the steady state, the throughput of the center node is represented as
where denotes the amount of data successfully delivered through unit bandwidth.
In coded ALOHA, the state diagram of the center node is complicated. With the successful transmission of a coded packet, the queue state moves to the state with two fewer packets. The number of packets in the queue does not provide sufficient information to determine whether network coding is possible. There may be no opposite packet, even if there are many packets in the queue. To quantify this, we introduce q(m), the network coding probability when there are m packets in the queue.
To derive q(m), let us define the injection rate, r i , which denotes the probability that a packet in the center node queue is from node i. When every outer node has the same condition, the injection rate of every outer node is same to 1/k. Assuming outer node i is the bi-directional pair with outer node j, to do network coding at a given time in the center node, the center node queue has to have the opposite packet for the header one, i.e., if header one is from node i, then packets from node j should exist in the queue. Therefore, the network coding probability can be obtained as follows:
With probability q(m), we can calculate the state transition probability. First, let us consider the transmission success probability . In Figure 3, the state transition probability with the network coding is expressed as
When network coding is not possible, with 1−q(m), the center node transmits a header packet as a native packet. In this case, the state transition is similar to ALOHA. Additionally, the coded packet transmission can be partially successful, with a probability of or . The single-state transition is the sum of a successful header packet transmission and the partial success of the coded packet. Using or , μ N (m) is summarized as
When there is only one packet in the center node (m = 1), the transition probability simplifies to μ N (1) = p c (1 − p)Pout.
In the steady state, the throughput of coded ALOHA is represented as
The detailed derivation of state probabilities and the throughput are included in Appendix 2.
In the case of the saturated traffic, the center node has the infinite queue length (), and always make a coded packet due to sufficient packets in the queue. When the coding probability q(m) is equal to 1, we have an upper bound on the throughput. The condition is achieved when the queue length of the center node tends to infinity. To proceed further, we borrow results from our previous article . There are three types of flows: an input flow to the center node, an output flow from the center node, with and without network coding, denoted as , and , respectivelyb. With the transmission success probabilities in Section ‘Transmission success probability’, we calculate , , and as follows:
Intuitively, (17) represents that the maximum coding gain is two because two packets are coded. However, the actual coding gain is lower than two due to the packet conservation law constraint. The packet conservation law at the center node () is needed to maintain the saturated condition at the center node [23, 24]. Consequently, the transmission probability of the center node is given by:
By substituting (18) into (16), we can obtain the throughput of ALOHA as a function of the transmission probability of outer node p, which satisfies the packet conservation law at the center node:
In coded ALOHA, the packet conservation law is , from which we have
where (21) is obtained by substituting (20) into (17).
By solving and , we find the maximal throughput and the optimal transmission probabilities p∗ and , respectively. Unfortunately, the differential equations do not have solutions as a closed-form. Instead, we provide an approximation for p∗ and as follows:
In the saturated traffic case, if the target SINR Θ increases, then the optimal transmission probability of the outer node p∗maximizing the throughput in ALOHA and coded ALOHA converges to:
See Appendix 3.
Once we have an approximate value for p∗, we can derive the optimal value for (18) or (20). Our simulations in Section ‘Numerical results’ verify that the formula matches the numerical results, even in low target SINR Θ cases. □
Packet delay analysis
We define packet delay as the average time taken from the first transmission of a packet at a source node to the successful receipt of the packet at the destination node. The packet delay consists of the first transmission time, retransmission delay at the outer node, and the queuing delay at the center node . We disregard the queueing delay in the outer source since our focus is on the delay portion incurred from the wireless access part and the effect of network coding. The number of packet retransmissions at the outer node N R follows the geometric random distribution, with success probability P R . The average number of retransmissions is E[N R ] = (1 − P R )/P R where . On average, the outer nodes waits 1/p times to retransmit the packet. Thus the retransmission delay is E N R /p. With Little’s law, the queueing delay is derived as where is the average packet arrival rate at the center node, and Encis the expected number of packets in the center node of coded ALOHA. In conclusion, the packet delay of coded ALOHA is derived as follows:
The packet delay of ALOHA, D, is identical to (22), after replacing by Π m . Both and Π m are derived in Appendix 2.
In the previous section, we found the optimal parameters that maximize the throughput of ALOHA and coded ALOHA. As shown in the numerical example section that follows, the optimal p∗ of coded ALOHA is higher than that of ALOHA while the optimal of coded ALOHA is lower than that of ALOHA. This can be also identified by Proposition 1 under the saturated traffic condition. With a higher p and lower p c , coded ALOHA has a higher packet injection rate from outer nodes to the center node than dose ALOHA. This rate results in more queued packets Enc[m] at the center node, a higher network coding opportunity, and increases the throughput of coded ALOHA accordingly. However, the packet delay is dominated by the queueing delay, and becomes larger than that of ALOHA. This is the trade-off between throughput and delay in coded ALOHA for the optimal throughput point. In the following section, we show that this trade-off property is not valid for non-optimal solution cases.
Under the same parameters of transmission probabilities p, p c , and the target SINR Θ, coded ALOHA has a less than or equal packet delay when compared to ALOHA, Dnc ≤ D.
ALOHA and coded ALOHA have the same access delay and arrival rate. However, due to the different service rates, ALOHA and coded ALOHA have a different number of queued packets in the center node (i.e., Enc[m] ≠ E[m]). From the throughput of ALOHA, (10), we can define the service rate of ALOHA as μ(9). Similarly, the service rate of coded ALOHA can be defined as μnc = 2μ C (m) + μ N (m), from the throughput of coded ALOHA, (14). When the coding opportunity q(m) = 0, the service rate of coded ALOHA is equal to that of ALOHA, μnc = μ. However, when the coding opportunity q(m) = 1, the service rate of coded ALOHA is μnc = 2μ. Because 0 ≤ q(m) ≤ 1, the service rate of coded ALOHA exists in the interval of μ ≤ μnc ≤ 2μ. The higher service rate of coded ALOHA can result in fewer queued packets in the center node, Enc[m] ≤ E[m], and less delay, Dnc ≤ D. □
We plotted the analytical results to get insight into the gain of network coding and compared them with the results of the simulation. In the simulation, we generate a Bernoulli random variable and an exponential random variable, which represent the packet transmission event of each node and Rayleigh fading channel, respectively. Then we check the queue of the center node and measure the throughput. We set some of dimensionless parameters such that transmission power P0 = 1, radius of the topology r = 1, and path loss attenuation factor α = 4. We obtain the maximum throughput by jointly optimizing the transmission probabilities (p and p c ) and the target SINR (Θ). Figures 4, 5 and 6 depict the relationships between the throughput and the three parameters p, p c and Θ, respectively, with the number of outer nodes (k = 4) and the maximum queue length (M = 100) in the unsaturated case.
As shown in Figure 4, there is a unique optimal transmission probability, p∗, which achieves the maximum throughput. With the optimal , the throughput of coded ALOHA (14) is maximized at p∗ = 0.18 and that of ALOHA (10) at p∗ = 0.15. Similarly, in Figure 5, there is a unique optimal point in coded ALOHA () while the throughput of ALOHA monotonically increases and converges to a certain value with the optimal p∗. The maximum throughput of ALOHA is achieved in the interval of 0.43 ≤ p c ≤ 1. These optimal parameters p∗and are obtained from numerical enumeration. In both figures, the maximum throughput values of ALOHA and coded ALOHA are and , respectively. Using the network coding, a higher throughput is achieved with a smaller transmission probability of the center node. It allows outer nodes to transmit for more packets to the center node, and this makes more coding opportunity in the center node. Although increasing p might cause more collision events with other outer nodes or the center node, the network coding gain is much higher than the cost of higher collision. However, for high p, both throughput curves converge to zero due to overmany collisions.
In Figure 5, both throughput curves of ALOHA and coded ALOHA converge to 1.3, not to zero when p c goes to 1. It is because p c is a conditional transmission probability when the center node has packets in its queue. If there is no packet in the center node queue, the center node cannot participate the transmission even if p c = 1. Increasing p c makes higher service rate of the center node queue, which results in higher throughput. However, for high p c , throughput curve of ALOHA converges to 1.3 due to the limit of injection rate to the center node. For low p c , coded ALOHA can achieve higher throughput than ALOHA because coded ALOHA can send two packets at once using network coding. However, high p c reduces the number of packets in the center node and the coding opportunity. Thus, as p c increases, the coding gain converges to zero, and the throughput of coded ALOHA converges to that of ALOHA. The simulation results are averages of 100 independent samples over 10000 time slots. It can be seen that our analysis matches the simulation results well.
We can increase the throughput by selecting an optimal target SINR Θ of the PHY layer. The effect of selecting the target SINR Θ is shown in Figure 6. Throughput curves are concave and there is an optimal point in each curve. With a high target SINR, we can send the packet with high spectral efficiency, however, the transmission success probability of that packet is low. In contrast, with a low target SINR, we can send many packets that include little information. As a result of the numerical evaluation, the optimal target SINR that maximizes the throughput is 22.55 dB when transmit power to noise ratio P0/N0 = 30 dB, and is 14.77 dB when transmit power to noise ratio P0/N0 = 20 dB. When the noise level increases, the optimal target SINR should decrease to reduce the channel error.
The number of outer nodes, k, and the maximum queue length, M, affect the network performance. Figure 7 depicts the throughput as a function of k. Due to the interference and increase in collisions, the throughput of both ALOHA and coded ALOHA decrease as k increases. This is the cost of the random access scheme. The dash-dot line () is a throughput upper bound (21) that is obtained from the saturated traffic condition of the center node. For convenience, we use the notation for the saturated condition. Three solid lines represent the throughput (14) with the finite queue lengths which are obtained from queueing analysis. The throughput converges to the throughput upper bound when the queue length (M) increases. With the small queue size and many outer nodes, the coding opportunity q(m) goes to zero, and the throughput of coded ALOHA diminishes and approaches that of ALOHA. Note that the throughput of ALOHA, (10), is equal to (19), regardless of the queue length (M). The reason is that the optimal solution of ALOHA makes the center node push out the packet received from the outer nodes immediately.
In addition, Figure 8 verifies the result of Proposition 1 which is based on the saturated traffic condition. We compare the throughput from the numerically obtained optimal parameters (solid line) and the throughput from Proposition 1 (dotted line). For the solid line, the optimal parameters are obtained by searching the entire p and Θ domain. We see the approximation error is sufficiently small, even with a small transmit power to noise ratio P0/N0=10 dB. Thus, we can easily use the closed-form solution of transmission probabilities, p∗ and , instead of those from searching the entire p and Θ domain.
Figure 9 shows the delay of ALOHA and coded ALOHA, which use the optimal parameters that maximize the throughput. Both delay curves are obtained through the numerical evaluations of Dnc and D are verified by simulations. The coded ALOHA has a unique throughput-optimal parameter set (p∗, , Θ∗), while ALOHA has multiple optima due to multiple . The packet delay of ALOHA is set to the minimum value that can be achieved in multiple optimal parameter sets. As a result, the optimal transmission probability of ALOHA, converges to 1. While D is independent of the queue size, coded ALOHA stores packets to increase the coding opportunity, and it has a longer delay as the queue size M increases.
We can verify the throughput-delay trade-off in coded ALOHA in Figure 10. As the queue size M increases, coded ALOHA achieves a higher throughput and a longer delay than those of ALOHA. To increase the throughput with network coding, the coded ALOHA needs some stored packets to generate network coded packets. Thus, the expected number of queued packets increases with the queue size of M, causing the queueing delay at the center node. With the large number of outer nodes, k, both throughput and delay performance of coded ALOHA degrade due to low coding opportunity.
When delay constraints are critical, coded ALOHA should change the operation point. To find a proper operation point, we propose and compare four sub-optimal strategies. (a) Increase p c without changing the other parameters. With a higher service rate at the center node, the actual queue size is reduced and the coding opportunity is decreased. Because the delay is very sensitive to the value of p c , it can significantly reduce the delay with the least throughput loss, as shown in Figure 11. Moreover it can be used simply at the center node. (b) Decrease p without changing the other parameters. With a lower injection rate of outer nodes, the center node has a small number of packets in its queue, and so the coding opportunity is decreased. It sustains a larger throughput loss than does the p c control case. However, it has a strong point in energy consumption because many outer nodes reduce the transmission trials and save that transmission energy. (c) Decrease M without changing the other parameters. This uses a small queue for a low coding opportunity. It can also be easily adopted at the center node, but it has a high blocking problem at the center node. (d) Scheduling of ALOHA and coded ALOHA. This switches the transmission mode between ALOHA and coded ALOHA. For certain time duration, the center node performs the network coding with optimal parameters, and changes the operation to general ALOHA, afterwards. The performance of scheduling lies on a certain point on the dotted line in Figure 11. From Figure 11, we can notice that delay is much sensitive than throughput to small change of parameters that maximize the throughput. This can be utilized to effectively reduce the delay of coded ALOHA. As a result, increasing p c is the best in order to reduce the significant delay with the least throughput loss, and decreasing p may be suitable for sensor networks that need to save transmission energy.
Figure 12 depicts the impact of asymmetric star topology, where the number of outer nodes k is 2 and the distance between the center node and node 2, d2, changes from 1 to 2. With the simulation, the maximum throughput and the optimal transmission probabilities of outer nodes, p1 and p2, are obtained where the target SINR Θ and the transmission probability of the center node p c are fixed to the optimal value for d2 = 1 case. It is obvious that longer distance d2 makes worse wireless channel condition and reduces the throughput of the network. As distance d2 increases, the transmission probability of n2(p2) increases and that of n1(p1) decreases in order to balance the injection rates (r1 and r2) to the center node. The balanced injection rates are helpful to maintain the high coding opportunity at the center node. When d2 = 2, eventually, the optimal transmission probabilities converse to one directional ALOHA. In the one directional ALOHA, the network can achieve the higher throughput by turning off the close node n1. It is because the wireless link from the center node to n2 has the lowest capacity due to the long distance d2 and the interference from n1.
In this article, we presented a coded ALOHA that performs the bi-directional network coding over ALOHA. We mathematically analyzed the performance of coded ALOHA in terms of throughput and delay. To maximize the throughput of coded ALOHA, the transmission probabilities (p and p c ) and the target SINR Θ were jointly optimized. The throughput of coded ALOHA was derived under the both unsaturated and saturated traffic conditions at the center node. Under the saturated condition, we obtained a throughput upper bound with the perfect network coding opportunity, and presented a closed form formula for the optimal transmission probability. The result of the unsaturated condition showed that the throughput of coded ALOHA converges to that of the saturated condition with a sufficiently large queue size. Additionally, as the topology becomes asymmetric, the optimal transmission probabilities of outer nodes try to balance the injection rates for higher coding opportunity. In slotted ALOHA, it can bring higher throughput by turning off the close node’s transmission.
With the same parameters, throughput of coded ALOHA is higher than that of ALOHA, and the delay of coded ALOHA is shorter than that of ALOHA. Moreover, with same throughput condition, coded ALOHA can have shorter delay than ALOHA. However, with their own optimal parameters, coded ALOHA has higher throughput and higher packet delay than those of ALOHA. For the optimal parameters, coded ALOHA has higher p and lower p c than those of ALOHA. This solution reflects the increased coding opportunity, since network coding has the benefit only when the system gets the opportunity to do it and this opportunity can be raised by stacking more candidate packets in the coding node repository. However, the packet delay is increasing by this solution since the average queueing delay of packets increases. The existence of significant queueing delay is the main reason of this throughput-delay tradeoff which looks weird at the first glance. In an engineering perspective, coded ALOHA is better to be used in the situation where the traffic is highly generated as of optimal p∗ and the time bound of application is relatively loose such as sensor network measuring a temperature or humidity of some region (delay tolerant network). Furthermore we compared four ways to consider the delay QoS, and found that increasing p c has the best performance in term of throughput loss and decreasing p can be a good solution in term of energy consumption.
aFor convenience, we shall refer to slotted ALOHA as ALOHA. bWe use the superscript “f” to denote the saturated case and “q” to denote the unsaturated case in (14).
Derivation of the transmission success probability
is the conditional success probability given that the center node transmits and two destination nodes are idle. Thus, nodes other than the two destination nodes can interfere. The maximum number of interfering nodes is n = k − 2 and the interfering distance is for , i ≠ k / 2. Then, the transmission success probability is given by:
where Q i = g ij P j is the received power as an exponential random variable with mean , Aggregate interference is , and C i is a sequence of i.i.d. Bernoulli random variables with P(C i = 1) = p and P(C i = 0) = 1 − p. The coded packet is successfully delivered when both destinations have higher SINR than the target SINR Θ.
is the conditional success probability given that the center node transmits; one of two destination nodes, j, is busy; and the other, i, is idle. In this case, the node on the opposite side, j, interferes with probability 1. Therefore, it can be derived with n = k − 1 and interfering distance as:
is the conditional success probability given that the center node transmits, and two destinations are idle. One of destination nodes, j, fails to receive the coded packet, while the other destination node, i, successfully receives the coded packet. This success probability can be derived as:
Queueing analysis of network coding
In Figure 3, the local balance equations between the states are given as follows:
where z in (32) is a normalization factor. Combining (32)-(35) and the normalization equation, we can obtain the normalization factor z and the steady state probability .
For a given state X m , the system throughput, the average spectral efficiency of successful packet transmission can be 2L μ C (m) or L μ N (m) depending on the success of network coding. With the successful coded packet transmission, the throughput is doubled since two packets are delivered to their destinations at once. Using , the throughput of network coding can be represented as:
Proof of proposition 1
Take a function to of (15):
Differentiating (37) with p, we have:
where p c and Pinare functions of the outer node transmission probability p as (20) and (2), respectively. In (20), Pout/Pin can be simplified when the target SINR Θ increases:
Thus, p c can be rewritten as follows:
With (40), the second term of (38) is reduced to:
In (2), when the target SINR Θ increases, , and the third term of (38) can be rewritten as:
Using (41) and (42), (38) can be simplified as:
of which the solution for p is given as:
Similarly, the approximation of the optimal solutions of ALOHA can be obtained by replacing p c in (40) as follows:
Abramson N: The ALOHA system - another alternative for computer communication. Proceedings of the 1970 Fall Joint computer Conference vol. 37 (AFIPS Press, 1970), pp. 281–285
EPCglobal: Epc radio-requency identify protocols class-1 generation-2 UHF RFID protocol for communications at 860MHz-960MHz version 1. 2. 0. (2008).
Kleinrock L, Lam SS: Packet-switching in a slotted satellite channel. Proceedings of National Computer Conference AFIPS Press, 1973. pp. 703–710
Roberts LG: ALOHA packet system with and without slots and capture. ACM SIGCOMM Comp. Commun. R 1975, 5(2):28-42. 10.1145/1024916.1024920
Roberts LG: Dynamic allocation of satellite capacity through packet reservation. Proceedings of National Computer Conference AFIPS Press, 1973, pp. 711–716
Growther W, Rettberg R, Walden D, Ornstein S, Heart F: A system for broadcast communication: reservation ALOHA. Proceedings of 6th Hawaii International Conference on System Sciences (Honolulu, 1973). pp. 711–716
Binder R: A dynamic packet switching system for satellite broadcast channels. Proceedings of IEEE ICC (San Francisco, 1975). pp. 41.1–41.5
Dimic G, Sidiropoulos ND, Zhang R: Medium access control-physical cross-layer design. IEEE Signal Proc. Mag 2004, 21(5):40-50. 10.1109/MSP.2004.1328087
Wang X, Kar K: Cross-layer rate control for end-to-end proportional fairness in wireless networks with random access. IEEE J. Sel. Areas Commun 2006, 24(8):1548-1559.
Lin X, Shroff NB, Srikant R: A tutorial on cross-layer optimization in wireless networks. IEEE J. Sel. Areas Commun 2006, 24(8):1452-1463.
Lin R, Petropulu AP: A new wireless network medium access protocol based on cooperation. IEEE T. Signal Process 2005, 53(12):4675-4684.
Lin Y, Wong VWS: Cross-layer design of MIMO-enabled WLANs with network utility maximization. IEEE T. Veh. Technol 2009, 58(5):2443-2456.
Choe S: Performance analysis of slotted ALOHA based multi-channel cognitive packet radio network. Proceedings of IEEE CCNC (Las Vegas, 2009. pp. 1–5
Yang Z, Yao YD, Zheng D: Random access in a cognitive radio network with slotted ALOHA for primary users and CSMA for secondary users. Proceedings of IEEE Sarnoff Symposium (Princeton, 2010). pp. 1–5
Ahlswede R, Cai N, Li S-YR, Yeung RW: Network information flow. IEEE T. Inf. Theory 2000, 46(4):1204-1216. 10.1109/18.850663
Katti S, Rahul H, Hu W, Katabi D, Médard M, Crowcroft J: XORs in the air: practical wireless network coding. IEEE ACM T. Network 2008, 16(3):497-510.
Hwang J, Kim S-L: Cross-layer optimization and network coding in CSMA/CA based wireless multihop networks. IEEE ACM T. Network 2011, 19(4):1028-1042.
Lee H-K, Kim S-L: Network coded ALOHA for wireless multihop networks. Proceedings of IEEE WCNC Budapest, Hungary, 2009. pp. 1866–1870
Uddin MF: Throughput optimization in multi-hop wireless networks with random access: Ph.D dissertation. University of Waterloo; 2011.
Umehara D, Hirano T, Denno S, Morikura M, Sugiyama T: Wireless network coding in slotted ALOHA with two-hop unbalanced traffic. IEEE J. Sel. Areas Commun 2009, 27(5):647-661.
Liu CH, Xue F: Network coding for two-way relaying: rate region, sum rate and opportunistic scheduling. Proceedings of IEEE ICC Beijing, China, 2008. pp. 1044–1049
Liu X, Haenggi M: Throughput analysis of fading sensor networks with regular and random topologies. EURASIP J. Wirel. Commun 2005, 2005(4):554-564.
Sagduyu YE, Ephremides A: On joint MAC and network coding in wireless ad hoc networks. IEEE T. Inf. Theory 2007, 53(10):3697-3713.
Gitman I: On the capacity of slotted ALOHA networks and some design problems. IEEE T. Commun 1975, 23(3):305-317. 10.1109/TCOM.1975.1092805
This research was supported by the MKE (The Ministry of Knowledge Economy), Korea, under the ITRC (Information Technology Research Center) support program supervised by the NIPA (National IT Industry Promotion Agency), (NIPA-2012-(H0301-12-1003)).
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.
About this article
Cite this article
Lee, H., Hwang, J., Kim, S. et al. Throughput and delay analysis of network coded ALOHA in wireless networks. J Wireless Com Network 2012, 277 (2012). https://doi.org/10.1186/1687-1499-2012-277
- Network coding
- Cross-layer optimization
- Wireless networks