SlideShare ist ein Scribd-Unternehmen logo
1 von 16
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
Dipl.-Inf. Peter Rothenpieler
                                                          rothenpieler@itm.uni-luebeck.de
                                          http://www.itm.uni-luebeck.de/users/rothenpieler




Content
   Motivation
   Idea: Distributed Protocol Stacks
   (Short) Protocol Overview
   Design considerations & Limitations
   Evaluation
        Code size
        Round Trip Time
        Goodput
   Summary and Conclusion




                                                                                            2
Dipl.-Inf. Peter Rothenpieler
                                                                                rothenpieler@itm.uni-luebeck.de
                                                                http://www.itm.uni-luebeck.de/users/rothenpieler




Motivation: From WSNs to the Internet of Things
WSN: problem specific, custom tailored solutions  standardized protocol stacks


                                                          Application                 Application
Advantages:
   Layered Protocols: Divide and Conquer                UDP      ICMP              UDP        ICMP


   Interoperability & Heterogeneity                           IPv6                       IPv6


                                                           6LoWPAN                     6LoWPAN


Disadvantages:                                           IEEE 802.15.4              IEEE 802.15.4
                                                           MAC & PHY                  MAC & PHY
   Additional protocols/layers increase code size
    (+ adaptation layer?)




                                                                                                                  3
Dipl.-Inf. Peter Rothenpieler
                                                                                            rothenpieler@itm.uni-luebeck.de
                                                                            http://www.itm.uni-luebeck.de/users/rothenpieler




Motivation: Code Size of 6LoWPAN & IPv6
                                                            Cheap / Small    Expensive / Big




          OS                     Contiki         Contiki          iSense    Contiki              iSense
          Platform               MSP430          JN5139          JN5139     JN5148              JN5148
          Flash                   48 KB            96 KB           96 KB     128 KB              128 KB
          6LoWPAN                      4.6            8.0             7.8        5.9                   5.1
          IPv6                         7.4           12.3            31.6        8.7                 18.3
          ND                           6.8           13.3             7.6        9.3                   5.0
          ICMP                         0.8            1.3             2.1        1.0                   1.2
          UDP                          0.7            0.3             2.1        0.2                   1.1
          Routing (RPL)                9.0           12.9            N/A         8.4                  N/A
          Σ                          29.3            48.1            51.2       33.5                 30.6
          % of Flash                61 %            50 %            53 %      26 %                  24 %


Source: Instant Contiki 2.6, Jennisense (07/2012), iSense SVN (04/2012)

                                                                                                                              4
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
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
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
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
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
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
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
Dipl.-Inf. Peter Rothenpieler
                                            rothenpieler@itm.uni-luebeck.de
                            http://www.itm.uni-luebeck.de/users/rothenpieler




Thank you for your attention!
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
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
Towards Distributed Protocol Stacks for Wireless Sensor Networks

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 

Kürzlich hochgeladen (20)

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 

Empfohlen

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
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
  • 2. Dipl.-Inf. Peter Rothenpieler rothenpieler@itm.uni-luebeck.de http://www.itm.uni-luebeck.de/users/rothenpieler Content  Motivation  Idea: Distributed Protocol Stacks  (Short) Protocol Overview  Design considerations & Limitations  Evaluation  Code size  Round Trip Time  Goodput  Summary and Conclusion 2
  • 3. Dipl.-Inf. Peter Rothenpieler rothenpieler@itm.uni-luebeck.de http://www.itm.uni-luebeck.de/users/rothenpieler Motivation: From WSNs to the Internet of Things WSN: problem specific, custom tailored solutions  standardized protocol stacks Application Application Advantages:  Layered Protocols: Divide and Conquer UDP ICMP UDP ICMP  Interoperability & Heterogeneity IPv6 IPv6 6LoWPAN 6LoWPAN Disadvantages: IEEE 802.15.4 IEEE 802.15.4 MAC & PHY MAC & PHY  Additional protocols/layers increase code size (+ adaptation layer?) 3
  • 4. Dipl.-Inf. Peter Rothenpieler rothenpieler@itm.uni-luebeck.de http://www.itm.uni-luebeck.de/users/rothenpieler Motivation: Code Size of 6LoWPAN & IPv6 Cheap / Small Expensive / Big OS Contiki Contiki iSense Contiki iSense Platform MSP430 JN5139 JN5139 JN5148 JN5148 Flash 48 KB 96 KB 96 KB 128 KB 128 KB 6LoWPAN 4.6 8.0 7.8 5.9 5.1 IPv6 7.4 12.3 31.6 8.7 18.3 ND 6.8 13.3 7.6 9.3 5.0 ICMP 0.8 1.3 2.1 1.0 1.2 UDP 0.7 0.3 2.1 0.2 1.1 Routing (RPL) 9.0 12.9 N/A 8.4 N/A Σ 29.3 48.1 51.2 33.5 30.6 % of Flash 61 % 50 % 53 % 26 % 24 % Source: Instant Contiki 2.6, Jennisense (07/2012), iSense SVN (04/2012) 4
  • 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
  • 14. Dipl.-Inf. Peter Rothenpieler rothenpieler@itm.uni-luebeck.de http://www.itm.uni-luebeck.de/users/rothenpieler