buffer sizing in 802.11 wireless mesh networks · buffer sizing in wired networks • router needs...

21
Buffer sizing in 802.11 Wireless Mesh Networks K. Jamshaid * , B. Shihada * , L. Xia * , and P. Levis Ϯ * KAUST, Saudi Arabia Ϯ Stanford University

Upload: others

Post on 30-Apr-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Buffer sizing in 802.11 Wireless Mesh Networks

K. Jamshaid*, B. Shihada*, L. Xia*, and P. LevisϮ

*KAUST, Saudi Arabia ϮStanford University

Page 2: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

‘Bufferbloat’ Large FTP

2

Page 3: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Impact of large buffers

• TCP cwnd grows to fill available (large) buffers – Impacts TCP stability – Increases queueing delays for other flows sharing

the buffer

3

Presenter
Presentation Notes
For large file transfers, TCP window will keep growing till it encounters a packet loss. Impacts the stability of TCP’s congestion control algorithms.
Page 4: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Problem Statement

Large buffers high throughput, high delays small buffers low utilization, low delays

• Determine buffer size to balance throughput

& delay trade-off in WMNs

4

Page 5: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Outline

• Buffer sizing in wired networks • Wireless challenges • Bottlenecks and buffers in WMNs • Performance evaluation • Conclusions

5

Page 6: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Buffer sizing in wired networks

• Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck link capacity

C Router Source Destination

2T

6

Presenter
Presentation Notes
Universally applied rule of thumb. Buffer enough packets to keep the bottleneck at 100% utilization while a TCP source recovers from a packet loss
Page 7: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Wireless challenges

• Wireless link: abstraction for shared spectrum – Bottleneck spread over multiple nodes

• Variable network capacity – Sporadic noise and interference – Random MAC scheduling

7

Presenter
Presentation Notes
Variable packet inter-service time due to random MAC scheduling
Page 8: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Collision Domains

• Set of interfering links that contend for channel access

6 5 4 3 2 l6 l5 l4 l3

1 l2

0 l1

2-hop interference model: approximates RTS/CTS use in 802.11

8

Collision domain of link l5

Page 9: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Bottleneck Collision Domain

• Set of links that contend with max. no. of links – Limits the end-to-end rate of a flow

6 5 4 3 2 l6 l5 l4 l3

1 l2

0 l1

9

Collision domain of link l3

Page 10: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Cumulative Bottleneck Buffers

• Sum of buffers of nodes in the bottleneck collision domain

6 5 4 3 2 l6 l5 l4 l3

1 l2

0 l1

Neighborhood buffer size is sum of buffers of nodes 0 through 5

10

Page 11: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Two part problem

1) Determine bottleneck buffer B

2) Assign bi to nodes s.t.

11

Page 12: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Step 1: Bottleneck Buffer Size

• Bottleneck fully utilized as long as any node in the bottleneck has a packet to transmit

• Account for channel variations by using loose bounds on T and C values

12

Page 13: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Step 2: Per-node buffer

13

Page 14: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Step 2: Per-node buffer

• Strategy 2: Introduces cost function s.t. cost of drop increases with hop count

where M is the number of nodes in the bottleneck collision domain

14

Page 15: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Step 2: Per node buffer

15

Presenter
Presentation Notes
Our results show that when the cost function is linear, i.e., when the cost of dropping a packet at the 2nd hop is twice that of the 1st hop, and when the cost of dropping packet at the 3rd hop is thrice that of the 1st hop,
Page 16: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Performance Comparisons

• Compare with – Default ns-2 buffer size (50 pkts) – TCP with adaptive pacing (TCP-AP)

• Space packet transmissions over a 4-hop propagation delay

16

Presenter
Presentation Notes
Instead of sending packets when you receive ACKs, send packets with a fixed rate. TCP can trigger a burst of packets on receiving a cumulative ACK or back to back ACKs.
Page 17: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Scheme Normalized goodput Normalized RTT

50 pkt buffer 1 20.3

TCP-AP 0.90 1

Neighborhood buffer sizing

0.96 2.2

Performance Evaluation: Single flow

Performance statistics averaged over multiple topologies

• Key observation: Collectively sizing buffers lead to small buffers (1-3 pkts) at nodes

17

Page 18: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Performance Evaluation : Multi-flows

Scheme FTP VoIP

Goodput (Kb/s)

RTT (ms)

Goodput (Kb/s)

Delay (ms)

50 pkt buffer 261 388 7.8 239

TCP-AP 240 54 8 37

Neighborhood buffer sizing

250 87 8 40

Large FTP + G.729 VoIP

18

Presenter
Presentation Notes
Out motive is not to seek optimal buffer sizes, but to see if small buffers work well in the presence of multiple flows. Two illustrative topologies: a parking lot topology where multiple flows pass through relay nodes, (2) cross topology where flows share the bottleneck spetrum but not the relay nodes.
Page 19: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Performance Evaluation : Multi-flows

Scheme FTP VoIP

Goodput (Kb/s)

RTT (ms)

Goodput (Kb/s)

Delay (ms)

50 pkt buffer 382 300 7.8 187

TCP-AP 339 33 7.9 24

Neighborhood buffer sizing

368 71 7.9 35

Large FTP + G.729 VoIP

19

Page 20: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Conclusions

• Shared wireless spectrum requires rethink of bottlenecks and buffers

• Propose mechanisms for sizing bottleneck buffers and distributing it among nodes

• Simulations improve RTT by 6x - 10x over plain TCP with large buffers

20

Page 21: Buffer sizing in 802.11 Wireless Mesh Networks · Buffer sizing in wired networks • Router needs a buffer size of – 2T is the two-way propagation delay – C is the bottleneck

Questions/Comments/Feedback

[email protected]

21