efficient network flooding and time synchronization with glossy federico ferrari, marco zimmerling,...

26
Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011 Best Paper Award Presenter: SY

Upload: homer-mathews

Post on 18-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Efficient Network Flooding and Time Synchronization with Glossy

Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh

ETH ZurichIPSN 2011 Best Paper Award

Presenter: SY

Page 2: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Outline

• Introduction• Design• Evaluation• Conclusion

Page 3: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Flooding

• Packet transmission from one node to all other

• Challenges– Packet loss– Delay– Flooding storm

Page 4: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Glossy

• Flooding for wireless sensor networks– Fast: 94 nodes within 2.39ms– Reliable: 99.99%– Scalable– Time synchronization at no additional cost

Page 5: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Interference

• Capture effect– Two signals interfere which other– If one is stronger that the other– Or received significantly earlier than the others– Receiver might still receive the packet

• Constructive interference

Δ

1. Identical packet2. Small Δ

Page 6: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Generating Constructive Interference

• Matlab simulations

Page 7: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Related Works

• Capture effect

• Backcast: Dutta et al. 2008– Concurrent ACK transmission

• A-MAC: Dutta et al. 2010– Receiver-initiated link layer protocol

Page 8: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Outline

• Introduction• Design• Evaluation• Conclusion

Page 9: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Overview

• Decouples flooding• Concurrent transmission• Constant slot length

Page 10: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Glossy in Detail

Page 11: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Timeline

Page 12: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Implementation

• Platform– Tmote Sky = Taroko– MSP430F1611 + CC2420– MCU and timer source by DCO• temperature and voltage drifts of -0.38%/◦C and 5%/V

• Challenges– Deterministic execution timing– Start execution at same time– Compensate for hardware variations

Page 13: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Deterministic execution timing

• Start reading content while receiving

• Immediately trigger transmission

Page 14: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Start execution at same time

• SFD interrupt• Variable delay in serving interrupt– Execute NOPs determined at runtime

Page 15: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Compensate for hardware variations

• Synchronizes the DCO every time Glossy starts– with respect to 32.768KHz crystal

• Software delay uncertainty

Page 16: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Outline

• Introduction• Design• Evaluation• Conclusion

Page 17: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Theoretical Analysis• Scenario

• Worst-Case Drift of Radio Clock– Assume an upper/lower bound of radio clock drift– Worst-case scenario:

• one path at highest clock drift, another at lowest

– Model worst-case transmission time uncertainty• Worst-case temporal displacement

– Uncertainty on pair of radio and MCU clock– Worst-case scenario:

• one path at minimum variation, another at maximum

– Worst-case temporal displacement Δ

Page 18: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Results

• Network size

• Node density

Page 19: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Controlled Experiments

• Setup 1– One initiator, two receivers– Delay one receiver by [0,8]us– Non-delay receiver@-20dBm, delayed@-13dBm

Page 20: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Controlled Experiments

• Setup 2– One initiator, variable # of recievers– No delay

Page 21: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Controlled Experiments

• Setup 3– One initiator, four receivers– Start a Glossy phase, computes reference time– Schedules next phase– All nodes activate an external pin when a phase start

Page 22: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Testbed Experiments

• Testbed– Motelab: 94 nodes over three floors– Twist: 92 nodes– Local: 39 nodes

• Metrics– Flooding latency L– Flooding reliability R– Radio on time T

Page 23: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Results

• Node density no noticeable dependency• Performance depends on network size• Increase N significantly enhances flooding

reliability

Page 24: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Performance on Twist

• Larger size, higher latency

• 80% of nodes has 99.99% reliability even with lowest power

• Radio on time increase with network size

Page 25: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Maximum Number of Transmissions

• Vary N

Page 26: Efficient Network Flooding and Time Synchronization with Glossy Federico Ferrari, Marco Zimmerling, Lothar Thiele, and Olga Saukh ETH Zurich IPSN 2011

Conclusion

• Flooding and time sync are two important services

• Well written, systematically analysis• Promising results• Detailed implementation• Testbed evaluation• Integrate with application might not be easy