cmpe 257: wireless and mobile networking set 3f:
DESCRIPTION
CMPE 257: Wireless and Mobile Networking SET 3f:. Medium Access Control Protocols. MAC Protocol Topics. Fair medium access and fair scheduling (queueing) MACAW Topology independent fair queuing. The Fairness Problem. Unequal opportunity to access the channel Severe throughput degradation - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/1.jpg)
Winter 2004 UCSC CMPE252B
1
CMPE 257: Wireless and Mobile Networking
SET 3f:
Medium Access Control Protocols
![Page 2: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/2.jpg)
Spring 2005 CMPE257 UCSC 2
MAC Protocol Topics Fair medium access and fair
scheduling (queueing) MACAW Topology independent fair queuing
![Page 3: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/3.jpg)
Spring 2005 CMPE257 UCSC 3
Unequal opportunity to access the channel
Severe throughput degradation Causes
Binary exponential backoff (BEB) Location dependent contention
The Fairness Problem
Node A
Node B
Node C Node D
Example: Flow CD will capture the channel.
![Page 4: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/4.jpg)
Spring 2005 CMPE257 UCSC 4
Prior Work on Fairness Max-min fairness
Reduce the ratio between max throughput and min throughput of flows
Backoff or dynamic adjustment of channel access.
Fair queuing (FQ) approach Adapt wireline FQ disciplines to ad hoc networks. Flow contention graph as a useful abstraction Flows are tagged as either leading or lagging,
and then backoff window is adjusted accordingly.
![Page 5: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/5.jpg)
Spring 2005 CMPE257 UCSC 5
MACAW ([BDSZ94]) One of the earliest work on throughput
and fairness enhancement Note: Packet sensing (not carrier sensing)
is used! Per-node and per-stream fairness
Maintain backoff windows for different streams (also appears in IEEE 802.11e)
Backoff copy and MILD backoff Multiplicative increase, linear decrease to
address the fairness problem
![Page 6: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/6.jpg)
Spring 2005 CMPE257 UCSC 6
Topology Independent Fair Queuing Design Goals [LL00, LL05]
QoS Support for Advanced Applications in Ad Hoc Wireless Networks
Fair Allocation of Channel BandwidthMaximal Channel Utilization under Fairness
Constraint
– Communication Intensive Applications
– Limited-bandwidth Wireless Channel
Distributed Packet Scheduling Design
![Page 7: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/7.jpg)
Spring 2005 CMPE257 UCSC 7
Outline Issues in Ad Hoc Wireless Fair
Queueing Fair Queueing Model for Packet
Scheduling An Idealized Centralized Algorithm A Distributed Implementation Performance Evaluation Conclusion and Future Work
![Page 8: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/8.jpg)
Spring 2005 CMPE257 UCSC 8
Network Model A Single Shared Physical Channel Collision – Receiver in Transmission
Range of More than One Transmitting Node
Flow – Stream of Packets from Source to Destination <Sender, Receiver, Flow_ID>
CSMA/CA MAC Framework
![Page 9: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/9.jpg)
Spring 2005 CMPE257 UCSC 9
Design Issues Location Dependent Contention &
Channel Reuse
Spatial Reuse
F1
F2
F3
X
Spatial Collision
![Page 10: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/10.jpg)
Spring 2005 CMPE257 UCSC 10
Design Issues
F1
F2
F3
F4
No Spatial ContentionNo Spatial Reuse
![Page 11: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/11.jpg)
Spring 2005 CMPE257 UCSC 11
Flow Contending Graph
F1
F2
F4
F3
F1F4
F2
F3
Flow GraphNode Graph
![Page 12: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/12.jpg)
Spring 2005 CMPE257 UCSC 12
Design Issues (cont’d)
To Maximize Channel Utilization
F1
F2
F4F3 F5
F1
F2
F4
Node Graph
F3
Flow Graph
F5
• Inherent Conflict between Achieving Fairness & Maximizing Channel Utilization
F3F5
• Schedule F3 & F5 always (MIS)
F3 F5
F1
F2
F4
• Starve F1, F2 & F4
F1
F2
F4
Schedule the Maximal Number of Flows in Flow Graph
![Page 13: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/13.jpg)
Spring 2005 CMPE257 UCSC 13
Design Issues (cont’d)
Distributed Nature of Packet Scheduling in Ad Hoc Wireless Networks Unlike Wireline or Packet Cellular Networks.
NO Single Logical Entity for Scheduling NO Direct Access to All Contending Flow
Info Provide QoS at Finest Time Scale
(Packet Level)
![Page 14: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/14.jpg)
Spring 2005 CMPE257 UCSC 14
Solution Space Maximize Channel Utilization Always:
Schedule Largest Number of Non-conflicting Flows
Starvation of Certain Flows Ensure Fairness:
Maximize Spatial Channel Reuse Subject to Fairness Constraint
![Page 15: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/15.jpg)
Spring 2005 CMPE257 UCSC 15
Enable Spatial Channel Reuse
F1 F2
F4 F3 Wireline FQ:0 1 2 3 4 5 6 7
F1.1 F2.2F2.1 F3.1 F4.1 F1.2 F3.2 F4.2
F1.1 F2.2F2.1 F3.1 F4.1 F1.2 F3.2 F4.2FQ Tagging:F1
F3
![Page 16: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/16.jpg)
Spring 2005 CMPE257 UCSC 16
Look Ahead Window
F1 F2
F4 F3 Wireline FQ:0 1 2 3 4 5 6 7
F1.1 F2.2F2.1 F3.1 F4.1 F1.2 F3.2 F4.2
F1.1 F2.2F2.1 F3.1 F4.1 F1.2 F3.2 F4.2FQ Tagging:
FQ withLookahead:
F2.1F4.1
F1.2F3.2
F2.2F4.2
Lookahead window = 4 bits
F1.1F3.1
F1.1 F3.1
![Page 17: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/17.jpg)
Spring 2005 CMPE257 UCSC 17
Minimum Graph Coloring Maximizing Spatial Reuse within a
Look Ahead Window is a Minimum Coloring Problem
F1
F2
F3
F5F0
F4
Flow Contending Graph
F1
F2
F3
F5F0
F4
![Page 18: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/18.jpg)
Spring 2005 CMPE257 UCSC 18
Dynamic Graph Coloring Look Ahead Window Moves Forward Balance Two Design Goals:
Transmit Current Window of Bits ASAP Move Window Ahead AFAP
![Page 19: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/19.jpg)
Spring 2005 CMPE257 UCSC 19
An Adaptive Algorithm Two Key Components:
A Basic Scheduling Loop Adaptive Dynamic Coloring
![Page 20: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/20.jpg)
Spring 2005 CMPE257 UCSC 20
Basic Scheduling Loop
WFQ to Assign Flow Tags V(t): Smallest Finish Tag A Lookahead Window of Bits:
[V(t),V(t)+ ] Partition Flows into Disjoint Sets Schedule the Set with Least Tagged
Flow Move Window Forward to Next Least
Tagged Flow
![Page 21: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/21.jpg)
Spring 2005 CMPE257 UCSC 21
Adaptive Dynamic Coloring As Lookahead Window Moves from
[V(t-1),V(t-1)+ ] to [V(t),V(t)+ ] Retain Disjoint Sets of Unserved Packets
in [V(t-1),V(t-1)+ ] Merge Newly Joined Packets, Create
New Set if No Merge Possible Retain All Disjoint Sets until t+1
![Page 22: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/22.jpg)
Spring 2005 CMPE257 UCSC 22
Properties of Central Algorithms
Number of Disjoint Sets Non-increase Adaptively Reduce Total Number of
Disjoint Sets Move the Window Forward
Fairness Guarantee Spatial Channel Reuse Throughput & Delay Bounds
![Page 23: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/23.jpg)
Spring 2005 CMPE257 UCSC 23
Distributed Implementation Approximate Central Algorithm: A Back-
off Based Approach Within CSMA/CA MAC Framework Approximate WFQ with Modified WRR Backoff-based Implementation of
Largest-degree First (LF) Coloring Algorithm
Backoff-based Implementation of Adaptive Algorithms
![Page 24: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/24.jpg)
Spring 2005 CMPE257 UCSC 24
An Example
F0
F1
F2
F3
F4
F5
• Partition Flows into Disjoint Sets(5)
(2)
(2)
(2)
(3)
(4)
Adaptive Dynamic Coloring
![Page 25: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/25.jpg)
Spring 2005 CMPE257 UCSC 25
An Example Largest Degree First:
Set Backoff = – Flow_Degree
F1
F2
F3
F4
F5F0(5)
(2)
(2)
(2)
(3)
(4)
Time
F2
F3
F4
F5
F0
F1
3
2
1
4
4
4
![Page 26: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/26.jpg)
Spring 2005 CMPE257 UCSC 26
An Example
F1
F2
F3
F4
F5F0
Time
F2
F3
F4
F5
F0
F1
3
2
1
4
4
4
Wireline FQ:0 1 2 3 4 5 6 7
F1.1 F0.1F4.1 F3.1 F2.1 F5.1 F1.2 F4.2FQ Tagging:
F1.1F5.1
F1.1 F5.1
![Page 27: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/27.jpg)
Spring 2005 CMPE257 UCSC 27
An Example
F1
F2
F3
F4
F5F0
Time
F2
F3
F4
F5
F0
F1
3
2
1
4
4
4
Wireline FQ:0 1 2 3 4 5 6 7
F0.1F4.1 F3.1 F2.1 F1.2 F4.2FQ Tagging:
F1.1F5.1
F4.1F0.1
F4.1 F0.1
![Page 28: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/28.jpg)
Spring 2005 CMPE257 UCSC 28
An Example
F1
F2
F3
F4
F5F0
Time
F2
F3
F4
F5
F0
F1
3
2
1
4
4
4
Wireline FQ:0 1 2 3 4 5 6 7
F3.1 F2.1 F1.2 F4.2FQ Tagging:
F1.1F5.1
F4.1F0.1
F2.1F3.1
F3.1 F2.1
……
……
![Page 29: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/29.jpg)
Spring 2005 CMPE257 UCSC 29
Other Issues Detailed MAC Layer Design
CSMA/CA Paradigm Global Flow Information (i.e. Flow
Weights) Propagation Conflict-free Multicast Tree
![Page 30: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/30.jpg)
Spring 2005 CMPE257 UCSC 30
Simulation Example
F0
F2
F1
F3
F4
F5
F6
F7
F11
F15
F14
F13
F9
F8
F12
F10
F16
17 flows 15 source nodes Simulation slots:
100,000 Poisson & MMPP
Traffic
![Page 31: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/31.jpg)
Spring 2005 CMPE257 UCSC 31
Simulation Example Normalized Throughput
0 2 4 6 8 10 12 14 160.8
0.85
0.9
0.95
1
1.05
Flow ID
Thr
ough
put
Normalized Throughput
![Page 32: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/32.jpg)
Spring 2005 CMPE257 UCSC 32
Average Delay
0 2 4 6 8 10 12 14 160
0.5
1
1.5
2
2.5
3
3.5
4
Flow ID
De
lay
Average Delay
Average Delay
![Page 33: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/33.jpg)
Spring 2005 CMPE257 UCSC 33
Convergence of Adaptive Coloring Numbers of Disjoint Sets
0 20 40 60 80 100
2
4
6
8
10
12
14
16
18
Time
Num
ber o
f Set
s
Number of Sets in WindowTotal Number of Sets
![Page 34: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/34.jpg)
Spring 2005 CMPE257 UCSC 34
Related Work Distributed Fair Queuing
Adapt Fair Queuing Algorithm to Wireless LAN Distributed Fair Scheduling Backoff Based on Virtual Time No Explicit Consideration of Spatial Channel Reuse “Distributed Fair Scheduling in a Wireless LAN,” by
N. Vaidya, P. Bahl & S. Gupta, MOBICOM 2000 Multihop Packet Scheduling
Focus on Resolving Conflict between Fairness & Maximal Channel Utilization
Per-flow Service is not Fair “A New Model for Packet Scheduling in Multihop
Wireless Networks” by H. Luo & S. Lu, MOBICOM 2000
![Page 35: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/35.jpg)
Spring 2005 CMPE257 UCSC 35
References [BDSZ94] Bharghavan et al., MACAW:
Media Access Protocol for Wireless LANs, in ACM SIGCOMM 1994.
[LL00] H. Luo and S. Lu, A Topology-Independent Fair Queueing Model in Ad Hoc Wireless Networks, in IEEE ICNP 2000.
[LL05] H. Luo and S. Lu, A Topology-Independent Wireless Fair Queueing Model in Ad Hoc Networks 2005, in IEEE JSAC 2005. (Extended version of [LL00]).
![Page 36: CMPE 257: Wireless and Mobile Networking SET 3f:](https://reader035.vdocuments.us/reader035/viewer/2022062810/56815a91550346895dc805c2/html5/thumbnails/36.jpg)
Spring 2005 CMPE257 UCSC 36
Acknowledgments
Parts of the presentation are adapted from the following sources: Prof. Luo’s ICNP 2000 presentation