DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit...
-
Upload
patricia-norton -
Category
Documents
-
view
229 -
download
0
description
Transcript of DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit...
![Page 1: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/1.jpg)
DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks
Injong Rhee(with Ajit Warrier, Jeongki Min, Lisong
Xu)Department of Computer ScienceNorth Carolina State University
![Page 2: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/2.jpg)
Static Channel Assignment Problem (for stationary networks)
Finding a time slot for each node such that any two nodes within an interference range do not have the same transmission time slot.G=(V,E), V: set of nodes, E: set of edges
Edge e =(u,v) is exists iff u and v can hear each other.
1 2 3
Frame
MaxSlotSlot 1
ABC
![Page 3: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/3.jpg)
TDMA Scheduling - Example (Broadcast: 2 hop interference)
AC
B
ED
F
AC
B
ED
F
Radio Interference/Communication Map
AC
B
ED
F
Input Graph TDMA Slot Assignment
0
1
2 3
0
1
![Page 4: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/4.jpg)
Performance goals for TDMA Scheduling
Efficient: Use as few slots as possible. More slots would imply less spatial reuse and longer delay.Distributed: The algorithm must not require global information or global coordination of any kind.Simple: Low Time/Message Complexity. The algorithm must be simple to implement.
![Page 5: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/5.jpg)
RAND by Ramanathan [Infocom97]
TDMA scheduling is a coloring problem. Hence Optimal TDMA scheduling is NP-Hard.
RAND: So a heuristic, but centralized algorithm:
Total-order all the nodes in a random order. Assign to each node in that order the minimum color that has not been been assigned to its two-hop neighbors in the graph.Gives “pretty” good efficiency: at most d+1 colors, but mostly much fewer colors (d is the number of conflicting neighbors).
![Page 6: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/6.jpg)
DRAND: Distributed RANDPerformance
as efficient as RANDThe first distributed version of RAND
Simple, Running time/msg complexity O(d) – d is the max number of contenders (two-hop nodes)
Key assumptionEach node knows its neighbors. Packet losses are possibleNo time synchronization is required.
Key idea When a node is selecting a color, it ensures that no other neighboring nodes are selecting.
![Page 7: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/7.jpg)
DRAND: How it worksAlgorithm runs by rounds
With some probability, node A sends request message if A does not have time slot.
Neighbor B sends grant(containing its one-hop neighbors’ slot info) if it is not aware of any of B’s neighbors that has sent a request.
Request
Grant
A
B
C
A
B
C
![Page 8: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/8.jpg)
DRAND: How it works (cont.)If and when A receives grant messages from its entire one-hop neighbors,
it chooses the minimum of the time slots that have not been taken by its two-hop neighbors, and then broadcast a release message.
Release
A
B
C
![Page 9: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/9.jpg)
DRAND: How it works (Cont.)When a node has granted to another node, it sends back a reject.
If a node receives reject or timeout, then it sends release (but with failure indication).
Grant
Release
RejectA
B
C
A
B
C
D
![Page 10: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/10.jpg)
DRAND – Complexity Results
Running time is O(d) – d is the maximum number of nodes within two hops for the entire graph.
Message complexity is O(d).
Achieves the same slot efficiency as RAND
![Page 11: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/11.jpg)
DRAND Experimental Evaluation Methods
Verification of analysisDRAND performance overhead on a small scale mote test bedDRAND performance comparison with existing TDMA assignment schemes
![Page 12: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/12.jpg)
Experimental Setup – Single/Multiple Hop
Single-Hop Experiments:Mica2 motes equidistant from one node in the middle.All nodes within one-hop transmission range.Tests repeated 10 times and average/standard deviation errors reported.
NS simulation (random Poisson point model)
![Page 13: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/13.jpg)
DRAND – Time Complexity
One Hop Mica2 Experiment Multi Hop NS2 ExperimentRunning Time
RoundsNum of neighbors
![Page 14: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/14.jpg)
DRAND – Maximum Number of Slots
Y = d
Maximum number of slots in the multi hop NS simulation
![Page 15: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/15.jpg)
Experimental Setup - Testbed
40 Mica2 sensor motes in Withers Lab.Wall-powered and connected to the Internet via Ethernet ports.Programs uploaded via the Internet, all mote interaction via wireless.Links vary in quality, some have loss rates up to 30-40%.Asymmetric links also present.
![Page 16: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/16.jpg)
DRAND – Time and Energy for each phase
Total Energy (6.942J) is 0.02% of the total battery capacity of a node with 2500mAh and 3V.
Operation Average Running Time
Average Energy Cost
Neighbor Discovery
30s 0.732J
DRAND Assignment
194.38s 4.88J
Slot Dissemination
60s 1.33J
![Page 17: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/17.jpg)
Comparison with existing TDMA schemes: Throughput/Loss Rate
Throughput Loss Rate
DRAND RANDOM SEEDEX
DRANDDRAND
![Page 18: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/18.jpg)
DRAND - Adapting to Changes
As new nodes join or topology changes, it requires only local adjustment.We measure the overhead as nodes restart after crash.
![Page 19: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/19.jpg)
Comparison with CSMAZMAC [Sensys05].A hybrid of CSMA and TDMA
High throughputHighly fair (reduce a lot of location and topology dependency)
Implemented over IEEE802.11.
Throughput
Fairness
ZMAC
CSMA
CSMA
ZMAC
Num of Contenders
Num of Contenders
![Page 20: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/20.jpg)
ConclusionDRAND is a distributed implementation of RAND
Efficiency, Running time and Msg Complexity : O(d)
Can also be applicable to other problems such as
ID assignmentsFrequency channel assignment.
![Page 21: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/21.jpg)
Experimental Topologies for Verification of Analysis
Report DRAND running time, message complexity, maximum number of slots assigned for each run.One Hop Mica2 Experiments
20 Mica2 motes within radio range of each other.Multi-Hop NS2 Simulations
50-250 nodes placed randomly on a 300x300 grid, creating node densities between 5 and 60.Radio range 40mBandwidth 2Mbps802.11 MAC
![Page 22: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/22.jpg)
Support Slides
![Page 23: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/23.jpg)
Performance Comparison with Existing Schemes
Compare:Algorithm Complexity (on NS2 topology)
Number of slots assignedRun timeNumber of messages transmitted
Transmission efficiency (on two-hop topology)How well other schemes utilize the TDMA slots assigned to them
![Page 24: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/24.jpg)
Number of Slots AssignedFPRP (Five Phase Reservation Protocol)
Series of reservation/transmission phasesFor each time slot of transmission phase, run five phases for a number of times (cycles) to pick a winnerFPRP-x indicates that we run FPRP for x cycles to determine the ownership of each slotMore cycles => more nodes get a slot, but correspondingly increases running time
![Page 25: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/25.jpg)
Algorithm Complexity – FPRP and DRAND
FPRP-10 FPRP-50 DRAND
Maximum Slot Number Message Transmissions
Run Time
![Page 26: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/26.jpg)
Transmission Efficiency
SEEDEX:Nodes send in a slot with probability P.Random number generator seeds of every node in two hop neighborhood known, through message passingHence each node knows the number of nodes eligible to send in a slot = CSend in that slot with probability 1/C
Randomized Slotting:At the beginning of the frame, select slot randomlyTransmit
![Page 27: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/27.jpg)
Two Hop Mica2 Topology for Transmission Efficiency Experoments
1
2
3
10
Sink
11
12
13
20
![Page 28: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/28.jpg)
Interference in Wireless Networks
Primary InterferenceA station cannot transmit/receive at the same time
Secondary InterferenceTwo stations within radio range cannot transmit at the same time (single-hop interference)Two stations within radio range of a common node will cause collision if they transmit at the same time (hidden terminal problem)
![Page 29: DRAND: Distributed Randomized TDMA Scheduling for Wireless Ad-Hoc Networks Injong Rhee (with Ajit Warrier, Jeongki Min, Lisong Xu) Department of Computer.](https://reader033.fdocuments.us/reader033/viewer/2022051008/5a4d1b677f8b9ab0599b134e/html5/thumbnails/29.jpg)
Scheduling in Wireless Networks
Broadcast SchedulingThe stations themselves are scheduledThe transmission of a station must be received collision-free by all its one-hop neighbors
Link SchedulingThe links between stations are scheduledThe transmission of a station must be received collision-free by one particular neighbor.