Presentation is loading. Please wait.

Presentation is loading. Please wait.

pTunes: Runtime Parameter Adaptation for Low-power MAC Protocols

Similar presentations


Presentation on theme: "pTunes: Runtime Parameter Adaptation for Low-power MAC Protocols"— Presentation transcript:

1 pTunes: Runtime Parameter Adaptation for Low-power MAC Protocols
Marco Zimmerling, Federico Ferrari, Luca Mottola*, Thiemo Voigt*, Lothar Thiele Computer Engineering and Networks Lab, ETH Zurich *Swedish Institute of Computer Science (SICS) TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAA

2 Configuring a MAC Protocol is Not Easy
Application Requirements End-to-end Reliability Network Lifetime End-to-end Latency

3 Configuring a MAC Protocol is Not Easy
Application Requirements End-to-end Reliability Network Lifetime End-to-end Latency ? Low-power MAC protocol OFF time

4 ? A Real-world Example Adaptive Control Current practice: Application
Experience Field trials Over-provision Ceriotti et al., IPSN’11 ? TinyOS LPL 100 ms 250 ms 500 ms 100 ms Final LPL wake-up interval

5 ? A Real-world Example Requires expert knowledge Deployment-specific
Adaptive Control Application Current practice: Experience Field trials Over-provision Ceriotti et al., IPSN’11 Requires expert knowledge Deployment-specific Time-consuming Sub-optimal performance ? TinyOS LPL 100 ms 250 ms 500 ms 100 ms Final LPL wake-up interval

6 Adapting a MAC Protocol is Even Harder
100 PRR (%) t Sampling rate (1/min) t 10 Need to adapt at runtime to changes in Topology (e.g., node failures, disconnects) Wireless link quality (e.g., interference) Traffic load (e.g., varying sampling rate)

7 pTunes in a Nutshell Application Requirements Network State
Base Station Sensor Network Optimization Trigger used by Network-wide Performance Model starts Solver used by MAC Parameters

8 Contributions pTunes framework for runtime adaptability of existing low-power MAC protocols Flexible modeling approach Efficient runtime support to “close the loop”

9 pTunes in a Nutshell Application Requirements Network State
Base Station Sensor Network Optimization Trigger used by Network-wide Performance Model starts Solver used by MAC Parameters

10 Application Requirements
pTunes targets data collection scenarios Tree routing Low-power MAC Example requirements specification Maximize: Network lifetime End-to-end reliability greater than 95 % End-to-end latency below 1 second Subject to:

11 Application Requirements
pTunes targets data collection scenarios Tree routing Low-power MAC Example requirements specification Maximize: Network lifetime End-to-end reliability greater than 95 % End-to-end latency below 1 second Subject to: pTunes determines at runtime MAC parameters whose performance meets the requirements

12 pTunes in a Nutshell Network State Application Requirements
Base Station Sensor Network Optimization Trigger used by Network-wide Performance Model starts Solver used by MAC Parameters

13 Network-wide Performance Model
MAC parameters Network-wide Performance Model Network lifetime End-to-end reliability End-to-end latency Tree topology Link quality Traffic load B B A A

14 Network-wide Performance Model
MAC parameters Network-wide Performance Model Network lifetime End-to-end reliability End-to-end latency Tree topology Link quality Traffic load Using the model, pTunes can predict how changes in the MAC parameters affect performance B A

15 Network-wide Performance Model
MAC parameters Network-wide Performance Model Network lifetime End-to-end reliability End-to-end latency Tree topology Link quality Traffic load Using the model, pTunes can predict how changes in the MAC parameters affect performance B A

16 Layered Modeling Approach
Application-level Protocol-independent Protocol-specific Sender-initiated: X-MAC Receiver-initiated: LPP S S t t R R t t

17 Layered Modeling Approach
Application-level Protocol-independent Protocol-specific Sender-initiated: X-MAC Receiver-initiated: LPP S S t t R R t t Only the lowest layer must be changed to adapt the model in pTunes to a given MAC protocol

18 Layering in Action: X-MAC End-to-end Reliability
Application-level (source-sink paths) Protocol-independent (child-parent link) X-MAC-specific (single transmission) max. no. of retransmission ON time OFF time

19 pTunes in a Nutshell Application Requirements Network State
Base Station Sensor Network Optimization Trigger used by Network-wide Performance Model starts Solver used by MAC Parameters

20 Communication Support to Close the Loop
Piggybacking introduces a dependence on the rate and the reliability of application traffic Running a dissemination protocol concurrently may degrade the reliability of application traffic Need to decouple network state collection and MAC parameter dissemination from application data traffic

21 The Need for Consistency
B C B C B A A A A reports B and B reports A as parent, resulting in a loop that never existed for real Need to collect consistent snapshots of network state from all nodes

22 Closing the Loop: Our Solution
Period Application operation Application operation t Collect network state snapshots Disseminate new MAC parameters Phases consist of non-overlapping slots, one for each node Each slot corresponds to a distinct Glossy network flood

23 Excess Radio Duty Cycle
Our Solution Achieves Temporal decoupling from application Timeliness Fast collection and dissemination Consistency Snapshots taken at all nodes at the same time Simultaneous transition to new MAC parameters Energy efficiency (44-node TelosB testbed) Period Excess Radio Duty Cycle 1 minute 0.35 % 5 minutes 0.07 %

24 Testbed Evaluation: Setup
Implementation Sensor nodes: Contiki, Rime stack, X-MAC, LPP Base station: Java, ECLiPSe 44-node TelosB testbed Channel 26, max. transmit power Base Station

25 Testbed Evaluation: Methodology
Metrics Projected network lifetime: measured in software and computed based on V batteries End-to-end reliability: packet sequence numbers End-to-end latency: packet time stamps Requirements specification Compare to static MAC parameters determined using pTunes and extensive experiments Maximize: Network lifetime End-to-end reliability greater than 95 % End-to-end latency below 1 second Subject to:

26 Testbed Evaluation: Overview
Our X-MAC and LPP models are very accurate

27 Testbed Evaluation: Overview
Our X-MAC and LPP models are very accurate pTunes provides higher bandwidth against increasing traffic and prevents queue overflows

28 Testbed Evaluation: Overview
Our X-MAC and LPP models are very accurate pTunes provides higher bandwidth against increasing traffic and prevents queue overflows pTunes achieves up to three-fold lifetime gains

29 Testbed Evaluation: Overview
Our X-MAC and LPP models are very accurate pTunes provides higher bandwidth against increasing traffic and prevents queue overflows pTunes achieves up to three-fold lifetime gains Adaptation to traffic fluctuations Adaptation to changes in link quality Interaction with routing

30 Adaptation to Traffic Fluctuations
End-to-end reliability [%] greater than 95 % End-to-end latency [sec] below 1 second Network lifetime [days] X-MAC OFF time [msec]

31 Adaptation to Traffic Fluctuations
Static 1 End-to-end reliability [%] greater than 95 % End-to-end latency [sec] below 1 second Network lifetime [days] X-MAC OFF time [msec]

32 Adaptation to Traffic Fluctuations
Static 1 Static 2 End-to-end reliability [%] greater than 95 % End-to-end latency [sec] below 1 second Network lifetime [days] X-MAC OFF time [msec]

33 Adaptation to Traffic Fluctuations
Static 1 Static 2 pTunes End-to-end reliability [%] greater than 95 % End-to-end latency [sec] below 1 second Network lifetime [days] X-MAC OFF time [msec]

34 Adaptation to Traffic Fluctuations
Static 1 Static 2 pTunes End-to-end reliability [%] greater than 95 % End-to-end latency [sec] below 1 second Network lifetime [days] pTunes satisfies end-to-end requirements at high traffic while extending network lifetime at low traffic X-MAC OFF time [msec]

35 Adaptation to Changes in Link Quality
Interferer jams using modulated carrier: 1 ms ON / 10 ms OFF Base Station

36 Adaptation to Changes in Link Quality
End-to-end reliability [%] greater than 95 %

37 Adaptation to Changes in Link Quality
End-to-end reliability [%] greater than 95 % Static 1

38 Adaptation to Changes in Link Quality
End-to-end reliability [%] greater than 95 % Static 1 pTunes

39 Adaptation to Changes in Link Quality
End-to-end reliability [%] greater than 95 % Static 1 pTunes pTunes reduces packet loss by 80 % during periods of controlled wireless interference

40 Interaction with Routing
Turn off 8 nodes × within the sink’s neighborhood × × × × × × × × Base Station

41 Interaction with Routing
End-to-end reliability [%] greater than 95 % Total number of parent switches

42 Interaction with Routing
End-to-end reliability [%] greater than 95 % Static 1 Total number of parent switches

43 Interaction with Routing
End-to-end reliability [%] greater than 95 % Static 1 pTunes Total number of parent switches

44 Interaction with Routing
End-to-end reliability [%] greater than 95 % Static 1 pTunes Total number of parent switches pTunes helps the routing protocol quickly recover from node failures, thus reducing packet loss by 70 %

45 Conclusions pTunes framework for runtime adaptability of existing low-power MAC protocols Flexible modeling approach Efficient system support to “close the loop” Testbed experiments demonstrate that pTunes aids in meeting the requirements of real-world applications as the network state changes pTunes eliminates the need for time-consuming, and yet error-prone, manual MAC configuration


Download ppt "pTunes: Runtime Parameter Adaptation for Low-power MAC Protocols"

Similar presentations


Ads by Google