Docsity

ECE 6610: Theory Assignment 2 Solutions - Wireless Networking Issues and Solutions - Prof., Assignments of Wireless Networking

Toggle sidebar
bg1
ECE 6610
Theory Assignment 2
1. VOIP is characterized by a small packet size for each DATA packet. Comment on how VoIP can face
issues when deployed on an 802.11 network.
Sol: The 802.11 MAC has a number of overheads such as sifs,difs, headers, preambles, ACK etc.
These overheads prevent actual DATA from being sent and hence cause a reduction in effective
throughput observed. Since VoIP packets are very small in size, the overheads, which are
necessary for every packet, impact on the throughput more. Even though the datarate of a
single VoIP call is only about 128kbps, a 11Mbps 802.11 network will be able to support onl;y
about 5-6 calls!
2. Explain with an example of a two client scenario why the backoff algorithm in MACA might
lead to starvation of one flow. Explain how BEB with COPY used in MACAW can solve the problem.
Sol: The backoff algorithm in MACA is binary exponential backoff (BEB). The algorithm causes each
station to wait for a random amount of slots between 0 and 2i – 1, after the ith collision. In a two client
scenario, this can lead to a starvation of one flow. For instance, the hidden terminal problem:
Since C cannot hear A’s transmission to B, there is a potential for collision at B. Although MACA solves
this issue, the RTS from A to B can still collide at B. As A will not receive a CTS from B within the timeout
period, C will then get ownership and continue to transmit, while A backs off exponentially by doubling
its contention window. As C continues to transmit, A will hear B’s outgoing traffic and will continue to
backoff. Therefore, A will be starved of access to the channel.
In BEB with COPY, the transmitting station sends a copy of its contention window to all stations. All
stations copy this contention window, rather than backing off. Therefore, all stations have the same
contention window if there is a successful transmission. Furthermore, the contention window follows a
Multiplicative Increase and Linear Decrease (MILD) scheme, with a multiplicative increase factor of 1.5
and a linear decrease factor of 1. Thus the backoff algorithm in MACAW prevents starvation by 1)
Resetting the contention window for all stations that can receive at the end of each transmission and 2)
decreasing the rate at which the contention window grows for any given station
3. Explain why scheduling in wireless is different from wireline scheduling. Explain the differences
between the leadlag and the compensation models of wireless fair scheduling.
pf3

Partial preview of the text

Download ECE 6610: Theory Assignment 2 Solutions - Wireless Networking Issues and Solutions - Prof. and more Assignments Wireless Networking in PDF only on Docsity!

ECE 6610

Theory Assignment 2

  1. VOIP is characterized by a small packet size for each DATA packet. Comment on how VoIP can face issues when deployed on an 802.11 network.

Sol: The 802.11 MAC has a number of overheads such as sifs,difs, headers, preambles, ACK etc.

These overheads prevent actual DATA from being sent and hence cause a reduction in effective

throughput observed. Since VoIP packets are very small in size, the overheads, which are

necessary for every packet, impact on the throughput more. Even though the datarate of a

single VoIP call is only about 128kbps, a 11Mbps 802.11 network will be able to support onl;y

about 5-6 calls!

2. Explain with an example of a two client scenario why the backoff algorithm in MACA might

lead to starvation of one flow. Explain how BEB with COPY used in MACAW can solve the problem.

Sol: The backoff algorithm in MACA is binary exponential backoff (BEB). The algorithm causes each

station to wait for a random amount of slots between 0 and 2 i^ – 1, after the i th collision. In a two client scenario, this can lead to a starvation of one flow. For instance, the hidden terminal problem: Since C cannot hear A’s transmission to B, there is a potential for collision at B. Although MACA solves this issue, the RTS from A to B can still collide at B. As A will not receive a CTS from B within the timeout period, C will then get ownership and continue to transmit, while A backs off exponentially by doubling its contention window. As C continues to transmit, A will hear B’s outgoing traffic and will continue to backoff. Therefore, A will be starved of access to the channel. In BEB with COPY, the transmitting station sends a copy of its contention window to all stations. All stations copy this contention window, rather than backing off. Therefore, all stations have the same contention window if there is a successful transmission. Furthermore, the contention window follows a Multiplicative Increase and Linear Decrease (MILD) scheme, with a multiplicative increase factor of 1. and a linear decrease factor of 1. Thus the backoff algorithm in MACAW prevents starvation by 1) Resetting the contention window for all stations that can receive at the end of each transmission and 2) decreasing the rate at which the contention window grows for any given station

  1. Explain why scheduling in wireless is different from wireline scheduling. Explain the differences between the leadlag and the compensation models of wireless fair scheduling.

Sol: The primary difference between a wireless and wireline channel is that losses on a wireless channel may be localized such that only a subset of stations are affected. By contrast, in a wireline channel, all users are affected by interference/noise. Therefore, wireless scheduling must take that into account that certain stations may be unable to transmit. The lead-lag model tracks the lead and lags of flows. The lag is incremented either if a flow is backlogged and unable to transmit and if other flows can take up the lagging flows’ slot. The lagging flow can be compensated at the expense of a leading flow. By contrast there is no explicit compensation in the compensation model. The flow with the maximum lag may be given preference to transmit, leading and lagging flows may swap slots, or bandwidth is reserved for compensation.

  1. Assume an Adhoc network with 6 hops (A- > B- > C- > D- > E- > F- > G). Assume that all the nodes are placed in a linear fashion and that node A cannot reach node C, node B cannot reach node D and so on. Assume that all the 7 nodes have 802.11b (one each and all of them are on the same channel) cards for communication. Further assume that a maximum of 6Mbps of throughput is possible per link. Calculate the maximum possible (theoretical) endtoend throughput. Explain your result. Ignore effects of backoff. Sol: Every third link can be scheduled at the same time. Adjacent links cannot be scheduled at the same time because, there will be a common node between the two links and only one can be scheduled at the same time. Alternate links cannot be cheduled at the same time because of the hidden terminal problem. Hence only every third link can be scheduled simultaneously. Thus throughput will be 6/3 = 2 Mbps. 5.. Explain the post-office analogy in mobile IP? Why can it result in performance degradation for (a) UDP flows, and (b) TCP flows? What is the effect of ingress filtering on triangular routing? How can the problem be solved? Sol: The post-office system is analogous to some aspects of hand-off in mobile IP. The corresponding host wishes to transmit to the mobile user. The packets from the corresponding host travel through the home agent (the local post office). When the mobile user travels to a new IBSS, (analogous to moving), the mobile user obtains a new IP address (mailing or care-of-address) from the foreign agent (new post office). The mobile user, through the foreign agent, advertises its new IP address to the home agent. To transmit a packet, the corresponding host transmits a packet to the home agent, which then forwards to the foreign agent. The foreign agent then forwards the packet to the mobile user. The mobile user transmits packets to the corresponding host through the foreign agent. For UDP flows, it is possible to lose packets during the handoff between two wireless networks, for which UDP itself has no way to recover. For TCP flows, mobile IP can cause asymmetric forward and reverse paths due to triangular routing. This can cause the RTT to increase as well as ACK bunching. This will limit the rate at which the congestion window grows. Ingress filtering will ensure that packets are from the same subnet. In triangular routing, communication from the mobile host to the corresponding host will have the home address of the mobile user corresponding to the home network rather than the current network. Therefore, a router in