Second presentation about DPS is available at http://de.slideshare.net/PeterRothenpieler/reliability-extensions-and-multi-hop-evaluation-of-distributed-protocol-stacks
Slides from my talk at the IEEE International Conference on Cyber, Physical and Social Computing 2012 (CPScom 2012)
November 20-23, 2012, Besançon, France
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Towards Distributed Protocol Stacks for Wireless Sensor Networks
1. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Towards Distributed Protocol Stacks
for Wireless Sensor Networks
IEEE International Conference on Cyber, Physical and Social Computing
November 20-23, 2012, Besançon, France
Peter Rothenpieler, Dennis Pfisterer
Institute of Telematics, University of Lübeck
5. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Idea: Distributed Protocol Stack
Cooperation between layers cooperation between nodes
Share implementations of layers with neighboring nodes
asynchronous RPC calls (“message passing”)
Application Application Application Application
UDP ICMP UDP ICMP UDP ICMP UDP ICMP
DPS DPS
IPv6 IPv6 IPv6 skeleton IPv6 stub
6LoWPAN 6LoWPAN 6LoWPAN
IEEE 802.15.4 IEEE 802.15.4 IEEE 802.15.4 IEEE 802.15.4
MAC & PHY MAC & PHY MAC & PHY MAC & PHY
RPC
Server Client
5
6. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Protocol Overview
Three phases
Discovery & Advertise
Three-way-Handshake Server
Server
Exchange of RPC messages 1.Discovery
RPCAdvertise
2. Handshake
messages
2. Advertise
Optionally supports the use of
Acknowledgements
Client
6
7. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Design considerations & Limitations
DPS Covers only single-hop communication
Clients need at least one Server within radio range
Placement of nodes during deployment
Certain fraction of nodes need to be Servers (topology/deployment)
Clients can not communicate directly (need Server in-between)
7
8. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Evaluation: Code Size
Code size of native IPv6 implementation on JN5139 > 96 KB Flash
Use of IPv6 on JN5139 now possible (26.5 KB reduction)
Client Server
Native IPv6 DPS Client Native IPv6 DPS Server
JN5139 JN5139 JN5148 JN5148
Application 5.5 KB 3.8 KB
Os 43.9 KB 36.4 KB
IPv6 Stack 50.2 KB 10.1 KB 27.6 KB 27.6 KB
DPS - 13.6 KB - 8.0 KB
Σ 99.6 KB 73.1 KB 67.8 KB 75.8 KB
100 % -27 % 100 % + 12 %
Relative
-26.5 KB +8.0 KB
8
9. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Evaluation: Single-Hop Round Trip Time
Data based upon 100 ICMP echo request/reply packets for each payload size
Increase for additional fragments
6LoWPAN: 07 ms
DPS: 07 ms
DPS (ACK): 23 ms
(Un-)compressed IPv6 header
determines payload in first fragment
x ms
1 byte
Increase for additional payload
6LoWPAN: 0.068 ms/byte
DPS: 0.075 ms/byte (+10%)
DPS (ACK): 0.075 ms/byte (+10%)
9
10. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Evaluation: Single-Hop Goodput
Data based upon 1000 UDP packets for each payload size and output speed
Decrease
1st Fragment: 32 %
Following Fragments: 4.2 % - 5.7 %
Native 6LoWPAN DPS
10
11. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Summary & Conclusion
Motivation and Introduction: Distributed Protocol Stacks
Code size reduced by 27.5 KB for the DPS Client
Increase of 8.0 KB for the DPS Server
RTT increases by only 10 % (+ Offset of 6 ms)
Goodput decreases only by 4.2 - 6.7 % (32% first fragment)
Acknowledgements
Increase RTT by additional 16ms / fragment
Should be used
for DPS calls that change the state of the Server or Client
require reliability that is not offered by the protocol itself
11
12. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Thank you for your attention!
13. Dipl.-Inf. Peter Rothenpieler
rothenpieler@itm.uni-luebeck.de
http://www.itm.uni-luebeck.de/users/rothenpieler
Example
Exchange of IP Address & Sending of IP Packet
Instead of receiving A, the Server
will forward it using IPv6/6LoWPAN,
if it is not the destination of the packet