in defense of wireless carrier
play

In Defense of Wireless Carrier Sense Micah Brodsky Wireless medium - PowerPoint PPT Presentation

In Defense of Wireless Carrier Sense Micah Brodsky Wireless medium is semi -shared Sometimes networks are largely independent Can transmit concurrently: spatial reuse of medium R 2 R 1 S 1 S 2 Sometimes they are in conflict


  1. In Defense of Wireless Carrier Sense Micah Brodsky

  2. Wireless medium is semi -shared • Sometimes networks are largely independent – Can transmit concurrently: “spatial reuse” of medium R 2 R 1 S 1 S 2 • Sometimes they are in conflict – Throughput will be nearly zero under concurrent transmission; should time-multiplex R 1 R 2 S 1 S 2 • Someone must make the decision. How?

  3. Solution: Carrier sense ? • Mechanism: Interferer power vs. threshold – Defer transmissions when competing packets above threshold – Transmit freely when below – Used by MACs to answer “Can I talk now?”, • Strikes balance between interference protection and spatial reuse – Attempts to use spectrum efficiently while preserving fairness • Simple – and simple is good!

  4. Reasons to be suspicious… • Wrong measurement! – Power at receivers is what matters [Karn ’90] • Classic example: “hidden terminal” S I R • How can this make sense?

  5. Life’s not so simple, either Desired result: concurrency R 2 R 1 S 1 S 2 Desired result: time-multiplexing R 1 R 2 S 1 S 2 Desired result: ??? R 2 R 1 S 1 S 2

  6. Our question: How well does CS work? • Are collisions and horrible failures the right way to think about carrier sense? • How common are mistakes? (sub-optimal decisions) • How much do they cost in throughput? • How does carrier sense compare to “optimal”? – Key metric: Mean expected throughput – Also, starvation and similar misbehavior? • (Also, might things have changed since earlier work?)

  7. Why CS might work: Limiting cases Δ r 1 • “Far” interference: R 1 – Small distance variation: Δ r 2 S I R 2 Δ r 1 ≈ Δ r 2 • “Near” interference: – Nobody wants concurrency; R 1 SINR concurrent <<< SNR multiplexing S I R 2 • In both cases, all receivers agree on preferring either multiplexing or concurrency – “Agreement” means CS can perform well • Intermediate distance will be the hard case • Also, shadows and obstacles?

  8. Let's explore with a simple model • Simplifications & limitations – Only two contending transmitters – Transmitters have same power, omni antennas – Focus on fundamentals, rather than on a particular implementation • No framing, ACKs, slotting, etc. • Not modeling capture effects • Building blocks: Network layout + radio propagation + estimated throughput • Output: Predictions for average throughput under concurrency, multiplexing, carrier sense, and optimal

  9. Model: layout and averaging • Place senders at fixed locations • Assume receivers uniformly distributed within some R max • Compute mean throughput over both sets of receivers (S1’s & S2’s) • Will investigate effect of varying sender-sender distance D, given an R max R2 R1 S1 S2 D

  10. Model: radio propagation Standard textbook model (e.g. Akaiwa ‘97): • Path loss: r - α R 1 R 2 • Environmental shadowing: ± σ dB • Multipath fading: Rayleigh variation S 1 S 2 – Wideband channels average this away (mostly)

  11. Model: throughput • Need a way to model throughput as a function of SINR (Signal to Interference + Noise Ratio) • Adaptive bitrate (ABR) is pervasive nowadays – And will turn out to be crucial • Shannon capacity is a half-decent approximation model for ABR (with nice analytical properties) – Capacity / Bandwidth(Hz) ≈ log(1 + SINR)

  12. What we’re going to look at • First, for individual receiver configurations, which choice gives better throughput, concurrency or multiplexing? • Next, average throughput across the ensemble of different possible receiver configurations – Compare CS to concurrency, multiplexing, optimal • Finally, vary R max (network size) to show that good efficiency holds across the space of possibilities

  13. A first look: individual receivers R R S I D = 55 Prefers concurrency Prefers multiplexing Starved w/o multiplexing

  14. In detail… Receiver preference vs. position: Excellent agreement Disagreement?? Excellent agreement on multiplexing on concurrency S I S I S I D = 20 D = 55 D = 120 Prefers concurrency Prefers multiplexing Starved w/o multiplexing

  15. ABR prevents disaster! • Intermediate distance can mean poor agreement! But… • Does “mistaken” concurrency mean near-zero throughput? No. Adapts with lower bitrate. • Does “mistaken” multiplexing S I mean 50%-reduced throughput? No. Adapts with higher bitrate. • “Exposed” and “hidden” terminals Prefers concurrency are not very useful concepts with Prefers multiplexing ABR

  16. Obstacles aren’t fatal • Most obstacles are not R opaque! • Most configurations have alternate propagation paths • ±4dB - 12dB variation from path loss is typical – (See e.g. COST 231 and other model reviews) I S • If shadowing were much greater, CS would be no better than random. But it’s not. • (ABR also helps here)

  17. Average throughput: CS works! (R max = 55) Fraction of throughput Inefficiency is small Optimal Multiplexing Concurrency Carrier Sense (D thresh = 55) S-I distance (D) SI S I

  18. The larger parameter space • Of course, one example isn’t enough • Need to explore full relevant span of parameters – Fortunately, interferer distance and network size capture most of the important features Fraction of optimal throughput vs. D and R max Long range is worse overall 100% 90% 80% 70% 60% D = 20 50% SI Intermediate interferer D = 55 40% distance is less efficient D = 120 30% S I Throughput efficiency 20% is always good 10% 0% Rmax = 20 Rmax = 40 Rmax = 120 S S

  19. Intuitions summary • Distant interferers affect receivers uniformly – Short range networks switch to multiplexing while interferer still distant • Nearby interferers don’t – but they’re loud so everybody prefers multiplexing anyway • So long as most receivers agree, CS performs well • Rate adaptation smoothes rough edges in between • Shadowing matters but isn’t big enough to drown out distance

  20. Experiments (brief) • Experimental hypothesis: We’re not crazy • Result: We aren’t! – Carrier sense mean throughput is close to optimal – Short range is excellent – Long range is OK • 802.11a testbed, random pairs of sender-receiver pairs • Broadcast packets for 15 seconds, try different bitrates, measure throughput under concurrency and multiplexing • Short range and long range scenarios

  21. One experiment: short range 3500 Multiplexing Concurrency CS (identity) 3000 2500 Throughput (pkt/s) 2000 1500 1000 500 0 0 500 1000 1500 2000 2500 3000 3500 CS throughput (pkt/s)

  22. Implications for future research • Don’t forget bitrate! – Much work critical of carrier sense doesn’t consider ABR and so for ABR hardware is pessimistic about CS and optimistic about claimed gains • Hidden terminals can be a reliability problem but aren’t common and don’t matter much for average performance – “Expensive” solutions like RTS/CTS wouldn’t hurt throughput if they were only used when needed • Exposed terminals cost these kinds of networks very little, given ABR • (Paper argues these three points in more detail)

  23. Conclusions • Carrier sense does work, in a large, important class of networks – See paper for discussion of other issues like threshold robustness • Room for improvement in corner cases, but not much in overall performance • A fresh look at modeling can help us balance out the idiosyncrasies in experimental wireless work

Recommend


More recommend