SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Energy Efficient Fragment Recovery Techniques for
               Low-power and Lossy Networks

                              Ahmed Ayadi , Pascal Thubert†

                                IT/TELECOM Bretagne Rennes, France
                                         † Cisco Systems



                                        12 January 2011




Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   1 / 19
Motivation


        The IETF Working Group 6LoWPAN has recently introduced an
        adaptation layer that provides header compression and
        fragmentation/reassembly mechanisms to allow sending/receiving
        IPv6 packets over LLNs (e.g., IEEE 802.15.4),
        The IPv6 length is larger than 1280 bytes while an 802.15.4 frame
        can have a payload limited to 74 bytes
        A IPv6 packet might end up fragmented into as many as 18
        fragments at the 6LoWPAN layer.
        If a single one of those fragments is lost in transmission, all fragments
        must be resent.




Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   2 / 19
Outline

 1   Link Layer Error Control Mechanisms

 2   Simple Fragment Forward and Recovery
       Fragment Recovery proposal
       Recoverable Fragment: Dispatch type and Header
       Fragment Acknowledgement Dispatch type and Header
       An SFFR scenario

 3   Performance evaluation
       Impact of SFFR on the energy consumption of TCP
       Impact of SFFR on the energy consumption of UDP
       The SFFR rounds improve the energy efciency
       When it is better to used SFFR?

 4   Conclusion and perspectives


Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   3 / 19
Link Layer Error Control Mechanisms

        Automatic Repeat reQuest (ARQ)
              ARQ uses the cyclic redundancy check (CRC) error-detecting code that
              is added to the data: the receiver uses the error-detecting code number
              to check the integrity of the received data
              After receiving a correct frame, the receiver replies by an ACK.
              If the sender does not receive an ACK before the timeout, it
              re-transmits the frame/packet until the sender receives an
              acknowledgment or exceeds a predefined number of re-transmissions.
        Forward Error Correction (FEC)
              The main idea of FEC is to add redundancy to the original frame, to
              allow the destination node to detect and correct some bit errors.
              The FEC algorithm adds (α × K) redundancy bits to form a frame of
              length D.
              FEC can adapt to multihop by adopting more redundancy bits, but.



Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   4 / 19
Link Layer Error Control Mechanisms



        If the wireless network becomes very lossy, ARQ would increase the
        transmission delay between the source and the receiver.
        Using ARQ, the source continues to send the remaining fragments,
        even if one fragment is already lost.
        The reliable transport layer (e.g., TCP) MUST retransmit the
        segment and thus all the fragments.
        FEC requires more CPU energy and the amount of overhead is difficult
        to predict for the rapidly changing conditions of real-world LLNs .




Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   5 / 19
Simple Fragment Forward and Recovery



        SFFR is a new end-to-end recovery algorithm recently proposed by
        Thubert et Hui for 6LoWPANs.
        SFFR allows the sender to recover easily and quickly the lost
        fragments.
        SFFR uses the datagram ”tag” as a switchable label.
        SFFR minimize the acknowledgement overhead by applying a
        compressed acknowledgement bitmap
        SFFR takes into support the out-of-order fragment delivery.




Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   6 / 19
Fragment Recovery proposal

        SFFR uses 32 bits as SACK Bitmap
        SFFR defines 4 new dispatch types:
              RFRAG: regular fragments,
              RFRAG-AR: the last fragment which request an acknowledgment,
              RFRAG-ACK: an new fragment that inform the sender about the
              received fragments form the lost one.




                       Figure: Additional Dispatch Value Bit Patterns



Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   7 / 19
Recoverable Fragment: Dispatch type and Header

 Upon the first fragment, the routers lay an label along the path that is
 followed by that fragment (that is IP routed), and all further fragments are
 label switched along that path.




                 Figure: Recoverable Fragment Dispatch type and Header




Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   8 / 19
Fragment Acknowledgement: Dispatch type and Header

        A 32 bits uncompressed bitmap is obtained by prepending zeroes to
        the XXX in the pattern below.
        else,




                  Figure: Compressed acknowledgement bitmap encoding




Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   9 / 19
Expanded bitmap examples




                                    (a) Expanding 1 octet encoding




                                    (b) Expanding 3 octets encoding

                              Figure: Expanded bitmap encoding

Ahmed Ayadi (IT/TELECOM Bretagne)      IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   10 / 19
An SFFR scenario

                            Sender                                      Receiver
                                               RFRA
                                                   G
                                               RFRA
                                                   G
                                              RFRA
                                                  G-AR .

                                             RFRAG-ACK
                                              RFRA
                                                  G-AR

                                             RFRAG-ACK



              Figure: End-to-end simple fragment forwarding and recovery




Ahmed Ayadi (IT/TELECOM Bretagne)    IP and Wireless Sensor Networks’2011    Lyon, 12-13 January 2011   11 / 19
Parameters


                                    Table: Network parameters.
               Parameter                                                         Value
               Hop number                                                          5
               Application data size                                          1048 kbytes
               TCP MSS/ UDP payload size                                    512/1024 bytes
               NHC header                                                       1 bytes
               TCPHC header                                                     8 bytes
               6LoWPAN header                                                   3 bytes
               IEEE 802.15.4 header                                             23 bytes
               IEEE 802.15.4 acknowledgment size                                10 bytes
               Transmit Energy                                                0.24 µJ/bit
               Receive Energy                                                 0.21 µJ/bit


Ahmed Ayadi (IT/TELECOM Bretagne)    IP and Wireless Sensor Networks’2011      Lyon, 12-13 January 2011   12 / 19
Impact of SFFR on the energy consumption of TCP (1/2)

                         103                                                                  103
                                  No ARQ, No SFFR                                                      No ARQ, No SFFR
                                   No ARQ, SFFR                                                         No ARQ, SFFR
                                  ARQ=3, No SFFR                                                       ARQ=3, No SFFR
   Consumed energy (J)




                                                                        Consumed energy (J)
                                   ARQ=3, SFFR                                                          ARQ=3, SFFR




                         102                                                                  102




                          10−5               10−4               10−3                           10−5                10−4                10−3
                                             BER                                                                   BER

                                 (a) MSS = 1024 bytes                                                 (b) MSS = 512 bytes

 Figure: Energy Consumption of an TCP data transfer with vs without SFFR
 (number of hops is equal to five).


Ahmed Ayadi (IT/TELECOM Bretagne)                   IP and Wireless Sensor Networks’2011                    Lyon, 12-13 January 2011   13 / 19
Impact of SFFR on the energy consumption of TCP (2/2)

                                              103
                                                        1024, No SFFR
                                                          1024, SFFR
                                                         512, No SFFR

                        Consumed Energy (J)
                                                           512, SFFR



                                              102




                                                    2            4           6             8        10
                                                                  Number of hops


 Figure: Energy Consumption of an TCP data transfer with vs without SFFR
 SFFR (ARQ=3, B = 5 × 10−4 ).



Ahmed Ayadi (IT/TELECOM Bretagne)                   IP and Wireless Sensor Networks’2011       Lyon, 12-13 January 2011   14 / 19
Impact of SFFR on the energy consumption of UDP (1/2)
                      control congestion


                     10−1                                                              10−1
   Energy Efficiency




                                                                     Energy Efficiency
                     10−2                                                              10−2

                               No ARQ, No SFFR                                                   No ARQ, No SFFR
                                No ARQ, SFFR                                                      No ARQ, SFFR
                               ARQ=3, No SFFR                                                    ARQ=3, No SFFR
                                ARQ=3, SFFR                                                       ARQ=3, SFFR
                     10−3 −5                                                           10−3 −5
                        10                10−4              10−3                          10                10−4                  10−3
                                          BER                                                               BER

                     (a) UDP payload size = 1024 bytes                                 (b) UDP payload size = 512 bytes

                     Figure: Energy Efficiency of an UDP data transfer with vs without SFFR.


Ahmed Ayadi (IT/TELECOM Bretagne)                IP and Wireless Sensor Networks’2011                  Lyon, 12-13 January 2011    15 / 19
Impact of SFFR on the energy consumption of UDP (2/2)

                                                                              1024, No SFFR
                                                                                1024, SFFR
                                                                               512, No SFFR
                                                                                 512, SFFR
                        Energy Efficiency   10−1




                                          10−2


                                                 2            4           6             8        10
                                                               Number of hops


 Figure: Energy Efficiency of an UDP data trasfer with and without SFFR
 (ARQ=3, B = 5 × 10−4 ).



Ahmed Ayadi (IT/TELECOM Bretagne)                IP and Wireless Sensor Networks’2011       Lyon, 12-13 January 2011   16 / 19
The SFFR rounds improve the Energy Efficiency

                                         10−1


                       Energy Efficiency



                                         10−2        No SFFR
                                                     SFFR=1
                                                     SFFR=2
                                                     SFFR=3


                                         10−3 −5
                                            10                        10−4                   10−3
                                                                      BER

 Figure: Energy Efficiency of an UDP data transfer with different SFFR rounds
 (ARQ=3, 5 hops).



Ahmed Ayadi (IT/TELECOM Bretagne)                  IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   17 / 19
When it is better to used SFFR?
                              10−3




                                                                        MSS=256
                        BER



                                                            MSS=512
                                             MSS=768
                                         MSS=1024
                                     MSS=1280


                              10−4
                                        2           4            6             8        10
                                                   Number of Hops (h)


 Figure: SFFR in a multi-hop TCP transmission: prefer SFFR above the curves
 (ARQ=3).


Ahmed Ayadi (IT/TELECOM Bretagne)       IP and Wireless Sensor Networks’2011       Lyon, 12-13 January 2011   18 / 19
Conclusion and perspectives


 Conclusion
        SFFR is a new energy-efficient end-to-end fragment recovery,
        Simulations results show that SFFR reduces significantly the
        consumed energy.



 Perspectives
        Congestion control due to fragmentation,
        Reduces the PER of RFRAG-AR and RFRAG-ACK.




Ahmed Ayadi (IT/TELECOM Bretagne)   IP and Wireless Sensor Networks’2011   Lyon, 12-13 January 2011   19 / 19

Weitere ähnliche Inhalte

Was ist angesagt?

Making Custom Oscilloscope Measurements
Making Custom Oscilloscope MeasurementsMaking Custom Oscilloscope Measurements
Making Custom Oscilloscope Measurementsteledynelecroy
 
Essentials of jitter part 1 The Time Interval Error: TIE
Essentials of jitter part 1 The Time Interval Error: TIEEssentials of jitter part 1 The Time Interval Error: TIE
Essentials of jitter part 1 The Time Interval Error: TIEteledynelecroy
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Design and Implementation of an Embedded System for Software Defined Radio
Design and Implementation of an Embedded System for Software Defined RadioDesign and Implementation of an Embedded System for Software Defined Radio
Design and Implementation of an Embedded System for Software Defined RadioIJECEIAES
 
Essential principles of jitter part 2 the components of jitter
Essential principles of jitter part 2 the components of jitterEssential principles of jitter part 2 the components of jitter
Essential principles of jitter part 2 the components of jitterteledynelecroy
 
Shah Md Zobair(063560056)
Shah Md Zobair(063560056)Shah Md Zobair(063560056)
Shah Md Zobair(063560056)mashiur
 
Webinar Slides: Probing Techniques and Tradeoffs – What to Use and Why
Webinar Slides: Probing Techniques and Tradeoffs – What to Use and WhyWebinar Slides: Probing Techniques and Tradeoffs – What to Use and Why
Webinar Slides: Probing Techniques and Tradeoffs – What to Use and Whyteledynelecroy
 
20110224 saf cfip_brochure_en
20110224 saf cfip_brochure_en20110224 saf cfip_brochure_en
20110224 saf cfip_brochure_ennezinamais
 
40Gb/s Bidi QSFP+ Transceiver Hot Pluggable, Duplex LC, +3.3V, 850/900nm, 100...
40Gb/s Bidi QSFP+ Transceiver Hot Pluggable, Duplex LC, +3.3V, 850/900nm, 100...40Gb/s Bidi QSFP+ Transceiver Hot Pluggable, Duplex LC, +3.3V, 850/900nm, 100...
40Gb/s Bidi QSFP+ Transceiver Hot Pluggable, Duplex LC, +3.3V, 850/900nm, 100...Allen He
 
Resolving data collision in csma via protocols
Resolving data collision in csma via protocolsResolving data collision in csma via protocols
Resolving data collision in csma via protocolsAnurag Singh
 
Computer network (Lecture 2)
Computer network (Lecture 2)Computer network (Lecture 2)
Computer network (Lecture 2)Vishwajit Nandi
 
Advanced TCP/IP-based Industrial Networking for Engineers & Technicians
Advanced TCP/IP-based Industrial Networking for Engineers & TechniciansAdvanced TCP/IP-based Industrial Networking for Engineers & Technicians
Advanced TCP/IP-based Industrial Networking for Engineers & TechniciansLiving Online
 
Wpmc2004 phy protection
Wpmc2004 phy protectionWpmc2004 phy protection
Wpmc2004 phy protectionArpan Pal
 
Razin Kabir (063452556)
Razin Kabir (063452556)Razin Kabir (063452556)
Razin Kabir (063452556)mashiur
 
DWDM 101 - BRKOPT-2016
DWDM 101 - BRKOPT-2016DWDM 101 - BRKOPT-2016
DWDM 101 - BRKOPT-2016Bruno Teixeira
 

Was ist angesagt? (20)

Making Custom Oscilloscope Measurements
Making Custom Oscilloscope MeasurementsMaking Custom Oscilloscope Measurements
Making Custom Oscilloscope Measurements
 
Bluetooth
Bluetooth Bluetooth
Bluetooth
 
Essentials of jitter part 1 The Time Interval Error: TIE
Essentials of jitter part 1 The Time Interval Error: TIEEssentials of jitter part 1 The Time Interval Error: TIE
Essentials of jitter part 1 The Time Interval Error: TIE
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Np unit1
Np unit1Np unit1
Np unit1
 
Multi Process Message Formats
Multi Process Message FormatsMulti Process Message Formats
Multi Process Message Formats
 
Interprocess Message Formats
Interprocess Message FormatsInterprocess Message Formats
Interprocess Message Formats
 
Np unit iv ii
Np unit iv iiNp unit iv ii
Np unit iv ii
 
Design and Implementation of an Embedded System for Software Defined Radio
Design and Implementation of an Embedded System for Software Defined RadioDesign and Implementation of an Embedded System for Software Defined Radio
Design and Implementation of an Embedded System for Software Defined Radio
 
Essential principles of jitter part 2 the components of jitter
Essential principles of jitter part 2 the components of jitterEssential principles of jitter part 2 the components of jitter
Essential principles of jitter part 2 the components of jitter
 
Shah Md Zobair(063560056)
Shah Md Zobair(063560056)Shah Md Zobair(063560056)
Shah Md Zobair(063560056)
 
Webinar Slides: Probing Techniques and Tradeoffs – What to Use and Why
Webinar Slides: Probing Techniques and Tradeoffs – What to Use and WhyWebinar Slides: Probing Techniques and Tradeoffs – What to Use and Why
Webinar Slides: Probing Techniques and Tradeoffs – What to Use and Why
 
20110224 saf cfip_brochure_en
20110224 saf cfip_brochure_en20110224 saf cfip_brochure_en
20110224 saf cfip_brochure_en
 
40Gb/s Bidi QSFP+ Transceiver Hot Pluggable, Duplex LC, +3.3V, 850/900nm, 100...
40Gb/s Bidi QSFP+ Transceiver Hot Pluggable, Duplex LC, +3.3V, 850/900nm, 100...40Gb/s Bidi QSFP+ Transceiver Hot Pluggable, Duplex LC, +3.3V, 850/900nm, 100...
40Gb/s Bidi QSFP+ Transceiver Hot Pluggable, Duplex LC, +3.3V, 850/900nm, 100...
 
Resolving data collision in csma via protocols
Resolving data collision in csma via protocolsResolving data collision in csma via protocols
Resolving data collision in csma via protocols
 
Computer network (Lecture 2)
Computer network (Lecture 2)Computer network (Lecture 2)
Computer network (Lecture 2)
 
Advanced TCP/IP-based Industrial Networking for Engineers & Technicians
Advanced TCP/IP-based Industrial Networking for Engineers & TechniciansAdvanced TCP/IP-based Industrial Networking for Engineers & Technicians
Advanced TCP/IP-based Industrial Networking for Engineers & Technicians
 
Wpmc2004 phy protection
Wpmc2004 phy protectionWpmc2004 phy protection
Wpmc2004 phy protection
 
Razin Kabir (063452556)
Razin Kabir (063452556)Razin Kabir (063452556)
Razin Kabir (063452556)
 
DWDM 101 - BRKOPT-2016
DWDM 101 - BRKOPT-2016DWDM 101 - BRKOPT-2016
DWDM 101 - BRKOPT-2016
 

Ähnlich wie Energy Efficient Fragment Recovery Techniques for Low-power and Lossy Networks

TCP over 6LoWPAN for Industrial Applications
TCP over 6LoWPAN for Industrial ApplicationsTCP over 6LoWPAN for Industrial Applications
TCP over 6LoWPAN for Industrial ApplicationsAhmed Ayadi
 
A Survey of Different Approaches for Differentiating Bit Error and Congestion...
A Survey of Different Approaches for Differentiating Bit Error and Congestion...A Survey of Different Approaches for Differentiating Bit Error and Congestion...
A Survey of Different Approaches for Differentiating Bit Error and Congestion...IJERD Editor
 
Universal Asynchronous Receive and transmit IP core
Universal Asynchronous Receive and transmit IP coreUniversal Asynchronous Receive and transmit IP core
Universal Asynchronous Receive and transmit IP coreAneesh Raveendran
 
WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars Salah Amean
 
Computer network (1)
Computer network (1)Computer network (1)
Computer network (1)NYversity
 
03 ft48923 en02gla0_general topics_
03 ft48923 en02gla0_general topics_03 ft48923 en02gla0_general topics_
03 ft48923 en02gla0_general topics_MelikaAjami
 
Study and Emulation of 10G-EPON with Triple Play
Study and Emulation of 10G-EPON with Triple PlayStudy and Emulation of 10G-EPON with Triple Play
Study and Emulation of 10G-EPON with Triple PlaySatya Prakash Rout
 
ND0801_Assignment_3_Protocols for P3
ND0801_Assignment_3_Protocols for P3ND0801_Assignment_3_Protocols for P3
ND0801_Assignment_3_Protocols for P3John Mathias
 
Wire Lan Testing
Wire Lan TestingWire Lan Testing
Wire Lan Testingwjosephson
 
Comparative study of various voip applications in 802.11 a wireless network s...
Comparative study of various voip applications in 802.11 a wireless network s...Comparative study of various voip applications in 802.11 a wireless network s...
Comparative study of various voip applications in 802.11 a wireless network s...ijmnct
 

Ähnlich wie Energy Efficient Fragment Recovery Techniques for Low-power and Lossy Networks (20)

TCP over 6LoWPAN for Industrial Applications
TCP over 6LoWPAN for Industrial ApplicationsTCP over 6LoWPAN for Industrial Applications
TCP over 6LoWPAN for Industrial Applications
 
A Survey of Different Approaches for Differentiating Bit Error and Congestion...
A Survey of Different Approaches for Differentiating Bit Error and Congestion...A Survey of Different Approaches for Differentiating Bit Error and Congestion...
A Survey of Different Approaches for Differentiating Bit Error and Congestion...
 
Ethernet_Networks
Ethernet_NetworksEthernet_Networks
Ethernet_Networks
 
Ethernet 802.3.pptx
Ethernet 802.3.pptxEthernet 802.3.pptx
Ethernet 802.3.pptx
 
Wi Fi
Wi FiWi Fi
Wi Fi
 
Universal Asynchronous Receive and transmit IP core
Universal Asynchronous Receive and transmit IP coreUniversal Asynchronous Receive and transmit IP core
Universal Asynchronous Receive and transmit IP core
 
Ag34200206
Ag34200206Ag34200206
Ag34200206
 
PON testing.pdf
PON testing.pdfPON testing.pdf
PON testing.pdf
 
WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars
 
Computer network (1)
Computer network (1)Computer network (1)
Computer network (1)
 
Hv3414491454
Hv3414491454Hv3414491454
Hv3414491454
 
03 ft48923 en02gla0_general topics_
03 ft48923 en02gla0_general topics_03 ft48923 en02gla0_general topics_
03 ft48923 en02gla0_general topics_
 
Ethernet Frames Explained
Ethernet Frames ExplainedEthernet Frames Explained
Ethernet Frames Explained
 
Study and Emulation of 10G-EPON with Triple Play
Study and Emulation of 10G-EPON with Triple PlayStudy and Emulation of 10G-EPON with Triple Play
Study and Emulation of 10G-EPON with Triple Play
 
ND0801_Assignment_3_Protocols for P3
ND0801_Assignment_3_Protocols for P3ND0801_Assignment_3_Protocols for P3
ND0801_Assignment_3_Protocols for P3
 
Wire Lan Testing
Wire Lan TestingWire Lan Testing
Wire Lan Testing
 
Comparative study of various voip applications in 802.11 a wireless network s...
Comparative study of various voip applications in 802.11 a wireless network s...Comparative study of various voip applications in 802.11 a wireless network s...
Comparative study of various voip applications in 802.11 a wireless network s...
 
Advanced TCP IP
Advanced TCP IPAdvanced TCP IP
Advanced TCP IP
 
80211
8021180211
80211
 
Ethernet technology
Ethernet technologyEthernet technology
Ethernet technology
 

Energy Efficient Fragment Recovery Techniques for Low-power and Lossy Networks

  • 1. Energy Efficient Fragment Recovery Techniques for Low-power and Lossy Networks Ahmed Ayadi , Pascal Thubert† IT/TELECOM Bretagne Rennes, France † Cisco Systems 12 January 2011 Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 1 / 19
  • 2. Motivation The IETF Working Group 6LoWPAN has recently introduced an adaptation layer that provides header compression and fragmentation/reassembly mechanisms to allow sending/receiving IPv6 packets over LLNs (e.g., IEEE 802.15.4), The IPv6 length is larger than 1280 bytes while an 802.15.4 frame can have a payload limited to 74 bytes A IPv6 packet might end up fragmented into as many as 18 fragments at the 6LoWPAN layer. If a single one of those fragments is lost in transmission, all fragments must be resent. Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 2 / 19
  • 3. Outline 1 Link Layer Error Control Mechanisms 2 Simple Fragment Forward and Recovery Fragment Recovery proposal Recoverable Fragment: Dispatch type and Header Fragment Acknowledgement Dispatch type and Header An SFFR scenario 3 Performance evaluation Impact of SFFR on the energy consumption of TCP Impact of SFFR on the energy consumption of UDP The SFFR rounds improve the energy efciency When it is better to used SFFR? 4 Conclusion and perspectives Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 3 / 19
  • 4. Link Layer Error Control Mechanisms Automatic Repeat reQuest (ARQ) ARQ uses the cyclic redundancy check (CRC) error-detecting code that is added to the data: the receiver uses the error-detecting code number to check the integrity of the received data After receiving a correct frame, the receiver replies by an ACK. If the sender does not receive an ACK before the timeout, it re-transmits the frame/packet until the sender receives an acknowledgment or exceeds a predefined number of re-transmissions. Forward Error Correction (FEC) The main idea of FEC is to add redundancy to the original frame, to allow the destination node to detect and correct some bit errors. The FEC algorithm adds (α × K) redundancy bits to form a frame of length D. FEC can adapt to multihop by adopting more redundancy bits, but. Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 4 / 19
  • 5. Link Layer Error Control Mechanisms If the wireless network becomes very lossy, ARQ would increase the transmission delay between the source and the receiver. Using ARQ, the source continues to send the remaining fragments, even if one fragment is already lost. The reliable transport layer (e.g., TCP) MUST retransmit the segment and thus all the fragments. FEC requires more CPU energy and the amount of overhead is difficult to predict for the rapidly changing conditions of real-world LLNs . Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 5 / 19
  • 6. Simple Fragment Forward and Recovery SFFR is a new end-to-end recovery algorithm recently proposed by Thubert et Hui for 6LoWPANs. SFFR allows the sender to recover easily and quickly the lost fragments. SFFR uses the datagram ”tag” as a switchable label. SFFR minimize the acknowledgement overhead by applying a compressed acknowledgement bitmap SFFR takes into support the out-of-order fragment delivery. Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 6 / 19
  • 7. Fragment Recovery proposal SFFR uses 32 bits as SACK Bitmap SFFR defines 4 new dispatch types: RFRAG: regular fragments, RFRAG-AR: the last fragment which request an acknowledgment, RFRAG-ACK: an new fragment that inform the sender about the received fragments form the lost one. Figure: Additional Dispatch Value Bit Patterns Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 7 / 19
  • 8. Recoverable Fragment: Dispatch type and Header Upon the first fragment, the routers lay an label along the path that is followed by that fragment (that is IP routed), and all further fragments are label switched along that path. Figure: Recoverable Fragment Dispatch type and Header Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 8 / 19
  • 9. Fragment Acknowledgement: Dispatch type and Header A 32 bits uncompressed bitmap is obtained by prepending zeroes to the XXX in the pattern below. else, Figure: Compressed acknowledgement bitmap encoding Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 9 / 19
  • 10. Expanded bitmap examples (a) Expanding 1 octet encoding (b) Expanding 3 octets encoding Figure: Expanded bitmap encoding Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 10 / 19
  • 11. An SFFR scenario Sender Receiver RFRA G RFRA G RFRA G-AR . RFRAG-ACK RFRA G-AR RFRAG-ACK Figure: End-to-end simple fragment forwarding and recovery Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 11 / 19
  • 12. Parameters Table: Network parameters. Parameter Value Hop number 5 Application data size 1048 kbytes TCP MSS/ UDP payload size 512/1024 bytes NHC header 1 bytes TCPHC header 8 bytes 6LoWPAN header 3 bytes IEEE 802.15.4 header 23 bytes IEEE 802.15.4 acknowledgment size 10 bytes Transmit Energy 0.24 µJ/bit Receive Energy 0.21 µJ/bit Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 12 / 19
  • 13. Impact of SFFR on the energy consumption of TCP (1/2) 103 103 No ARQ, No SFFR No ARQ, No SFFR No ARQ, SFFR No ARQ, SFFR ARQ=3, No SFFR ARQ=3, No SFFR Consumed energy (J) Consumed energy (J) ARQ=3, SFFR ARQ=3, SFFR 102 102 10−5 10−4 10−3 10−5 10−4 10−3 BER BER (a) MSS = 1024 bytes (b) MSS = 512 bytes Figure: Energy Consumption of an TCP data transfer with vs without SFFR (number of hops is equal to five). Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 13 / 19
  • 14. Impact of SFFR on the energy consumption of TCP (2/2) 103 1024, No SFFR 1024, SFFR 512, No SFFR Consumed Energy (J) 512, SFFR 102 2 4 6 8 10 Number of hops Figure: Energy Consumption of an TCP data transfer with vs without SFFR SFFR (ARQ=3, B = 5 × 10−4 ). Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 14 / 19
  • 15. Impact of SFFR on the energy consumption of UDP (1/2) control congestion 10−1 10−1 Energy Efficiency Energy Efficiency 10−2 10−2 No ARQ, No SFFR No ARQ, No SFFR No ARQ, SFFR No ARQ, SFFR ARQ=3, No SFFR ARQ=3, No SFFR ARQ=3, SFFR ARQ=3, SFFR 10−3 −5 10−3 −5 10 10−4 10−3 10 10−4 10−3 BER BER (a) UDP payload size = 1024 bytes (b) UDP payload size = 512 bytes Figure: Energy Efficiency of an UDP data transfer with vs without SFFR. Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 15 / 19
  • 16. Impact of SFFR on the energy consumption of UDP (2/2) 1024, No SFFR 1024, SFFR 512, No SFFR 512, SFFR Energy Efficiency 10−1 10−2 2 4 6 8 10 Number of hops Figure: Energy Efficiency of an UDP data trasfer with and without SFFR (ARQ=3, B = 5 × 10−4 ). Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 16 / 19
  • 17. The SFFR rounds improve the Energy Efficiency 10−1 Energy Efficiency 10−2 No SFFR SFFR=1 SFFR=2 SFFR=3 10−3 −5 10 10−4 10−3 BER Figure: Energy Efficiency of an UDP data transfer with different SFFR rounds (ARQ=3, 5 hops). Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 17 / 19
  • 18. When it is better to used SFFR? 10−3 MSS=256 BER MSS=512 MSS=768 MSS=1024 MSS=1280 10−4 2 4 6 8 10 Number of Hops (h) Figure: SFFR in a multi-hop TCP transmission: prefer SFFR above the curves (ARQ=3). Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 18 / 19
  • 19. Conclusion and perspectives Conclusion SFFR is a new energy-efficient end-to-end fragment recovery, Simulations results show that SFFR reduces significantly the consumed energy. Perspectives Congestion control due to fragmentation, Reduces the PER of RFRAG-AR and RFRAG-ACK. Ahmed Ayadi (IT/TELECOM Bretagne) IP and Wireless Sensor Networks’2011 Lyon, 12-13 January 2011 19 / 19