Low-delay compression for sensor networks Alexandre Guitton - - PowerPoint PPT Presentation

low delay compression for sensor networks
SMART_READER_LITE
LIVE PREVIEW

Low-delay compression for sensor networks Alexandre Guitton - - PowerPoint PPT Presentation

Low-delay compression for sensor networks Alexandre Guitton University of Oxford, Computing Laboratory Joint work with Niki Trigoni and Sven Helmer 1 MSN 2007, 12 th -13 th of July 2007 Outline Motivation Existing compression


slide-1
SLIDE 1

1

Low-delay compression for sensor networks

Alexandre Guitton

University of Oxford, Computing Laboratory Joint work with Niki Trigoni and Sven Helmer

MSN 2007, 12th-13th of July 2007

slide-2
SLIDE 2

2

Outline

  • Motivation
  • Existing compression techniques

– Standard compression (LZW, Adaptive Huffman) – Compression with packet retransmissions (RT)

  • Proposed fault-tolerant compression (FT)
  • Evaluation and conclusions
slide-3
SLIDE 3

3

Motivation

  • Sensor nodes are battery powered

– To save energy: compressing data before

transmitting it

  • Challenge: lossy communication channels
  • Performance metrics

– Energy-efficiency: – Delay between first transmission and decoding

Bytes of uncompressed data at the receiver Bytes transmitted by the sender

slide-4
SLIDE 4

4

Our focus

Application Application Compression Error correction encoding Error correction decoding Decompression raw data compressed packets compressed packets uncompressed data sent packets Sender Receiver Link

slide-5
SLIDE 5

5

Existing approaches Standard compression

Zebra sensing Zebra sensing LZW Hamming encoding Hamming decoding LZW “Zebra seen at 8:00 in (20,30)” 0010 1011 1100 1010 0010 X 1100 1010 “Zebra ” 0010(01) 1100(00) 1011(10) 1010(11) 0010(01) 1100(01) 0010(01) 1011(11)

slide-6
SLIDE 6

6

Existing approaches Standard compression

Compressing data with dynamic dictionaries is less energy-efficient than not compressing it when the packet drop rate exceeds 10%

slide-7
SLIDE 7

7

Existing approaches Compression with retransmissions

  • Retransmission (RT) mechanism [Sadler and

Martonosi, 2006] to cope with packet losses

– Packets are grouped in blocks – Receiver sends block ACKs – Sender retransmits dropped packets – Compression is restarted at each block

  • RT is applied to LZW (RT-LZW)
slide-8
SLIDE 8

8

Existing approaches Compression with retransmissions

Sender Receiver ghi abc def 10111 def 11111 jkl mno 11111

slide-9
SLIDE 9

9

Existing approaches Compression with retransmissions

Problem 1 Packets cannot be decoded as they arrive, they have to be decoded in order

Sender Receiver ghi abc def 10111 def 11111 jkl mno 11111

slide-10
SLIDE 10

10

Existing approaches Compression with retransmissions

Problem 1 Packets cannot be decoded as they arrive, they have to be decoded in order Problem 2 In the event of a disconnection, the effort of the sender is wasted

Sender Receiver ghi abc def 10111 10111 jkl mno 10111 10111 10111

slide-11
SLIDE 11

11

Existing approaches Compression with retransmissions

  • To address these two problems

– Small blocks are used (the delay is not too large,

and energy is not wasted in case of a disconnection)

– The dictionary is restarted at the beginning of each

block (blocks are independent of each other)

  • But

– Small blocks reduce the potential for compression

slide-12
SLIDE 12

12

Proposed fault-tolerant mechanism

  • Fault-Tolerant (FT) mechanism

– Packets are grouped in blocks (as in RT) – Block ACKs (as in RT) – Dictionary is updated after each block (NOT after

each symbol)

– Each packet of a block can be decoded

independently of the other packets of the block

slide-13
SLIDE 13

13

Proposed fault-tolerant mechanism

Sender Receiver 0 ghi 0 abc 0 def 10111 0 jkl 0 mno Dictionary updated with abcghijklmno

slide-14
SLIDE 14

14

Proposed fault-tolerant mechanism

Sender Receiver 0 ghi 0 abc 0 def 10111 0 jkl 0 mno 1 def 1 pqr Dictionary updated with abcghijklmno

slide-15
SLIDE 15

15

Proposed fault-tolerant mechanism

Sender Receiver 0 ghi 0 abc 0 def 10111 0 jkl 0 mno 1 stu 1 def 1 pqr 1 vwx 1 yza

slide-16
SLIDE 16

16

Proposed fault-tolerant mechanism

Sender Receiver 0 ghi 0 abc 0 def 10111 0 jkl 0 mno 1 stu 1 def 1 pqr 1 vwx 1 yza 01111

slide-17
SLIDE 17

17

Proposed fault-tolerant mechanism

Sender Receiver 0 ghi 0 abc 0 def 10111 0 jkl 0 mno 1 stu 1 def 1 pqr 1 vwx 1 yza 01111 0 efg 0 def 0 bcd 0 hij 0 klm

slide-18
SLIDE 18

18

Proposed fault-tolerant mechanism

Sender Receiver 0 ghi 0 abc 0 def 10111 0 jkl 0 mno 1 stu 1 def 1 pqr 1 vwx 1 yza 01111 0 efg 0 def 0 bcd 0 hij 0 klm

Problem 1? Packets can be decoded as soon as they arrive

slide-19
SLIDE 19

19

Proposed fault-tolerant mechanism

Sender Receiver 0 ghi 0 abc 0 def 10111 0 jkl 0 mno 1 stu 1 def 1 pqr 1 vwx 1 yza 01111

Problem 1? Packets can be decoded as soon as they arrive Problem 2? In the event of a disconnection, all the packets that have been received are useful

01111 01111

slide-20
SLIDE 20

20

Proposed fault-tolerant mechanism

  • Advantages of FT over the RT mechanism

– Packet can be decoded when they arrive – Dictionaries are not reinitialized at each block – Availability of the backward link is not mandatory

  • Disadvantage

– Compression is conservative because the

dictionary is only updated at the end of each block

slide-21
SLIDE 21

21

Experimental setup

  • We applied the RT and FT mechanism to LZW

(RT-LZW and FT-LZW)

– Real road traffic dataset (Scoot) – Block sizes of 20 and 66 packets – Varied packet loss rate on a link from 0% to 90%

  • We measure

– Energy-efficiency – Delay

slide-22
SLIDE 22

22

Evaluation - Energy-efficiency

The energy-efficiency of RT-LZW increases with the block size

slide-23
SLIDE 23

23

Evaluation - Energy-efficiency

(1) The energy-efficiency of FT-LZW decreases as the block size increases and (2) small block sizes cannot be used in highly lossy environments

slide-24
SLIDE 24

24

Evaluation - Energy-efficiency

RT and FT mechanisms (1) degrade linearly as the packet drop rate increases, and (2) are comparable

slide-25
SLIDE 25

25

Evaluation - Delay

FT is 2-3 times faster than RT for all block sizes

slide-26
SLIDE 26

26

Conclusions

  • Standard compression algorithms fail in lossy

environments

  • FT is comparable to RT in terms of energy-

efficiency in static networks, and better in dynamic networks

  • FT is 2 to 3 times faster than RT
slide-27
SLIDE 27

27

Thank you

RT FT

slide-28
SLIDE 28

28

Evaluation - Energy-efficiency

slide-29
SLIDE 29

29

Evaluation - Energy-efficiency

slide-30
SLIDE 30

30

Evaluation - Energy-efficiency

slide-31
SLIDE 31

31

Evaluation - Delay