SlideShare a Scribd company logo
Slide 1 IoT Energy Savings with GZIP IP
Using GZIP Data
Compression to Reduce
Power Consumption
in IoT Devices
Meredith Lucky
VP of Sales
CAST, Inc.
December 2016
www.cast-inc.com
Slide 2 IoT Energy Savings with GZIP IP
Second Generation IoT
The First Generation was trying to get a product
to market ASAP.
The Second Generation is about product
differentiation.
Low power
Processing power in edge devices
Reduced cost (less memory, smaller devices)
Slide 3 IoT Energy Savings with GZIP IP
A Typical IoT Node
Low Energy Consumption is a key factor
CPU(s)
SRAM
Wireless Protocol Accel.
(e.g. Baseband, Link Layer)
Accelerators
NVM (e.g. Flash, EEPROM)
RF AFE (e.g. 802.11ah, Zigbee etc)
SENSORS/ACTUATORS
NVM Controller
Peripherals
BATTERY/ENERGYHARVESTINGDEVICE
Slide 4 IoT Energy Savings with GZIP IP
Where is Energy Consumed?
RF Transceivers and NVMs
are major energy consumers
CPU(s)
SRAM
Wireless Protocol Accel.
(e.g. Baseband, Link Layer)
Accelerators
NVM (e.g. Flash, EEPROM)
RF AFE (e.g. 802.11ah, Zigbee etc)
SENSORS/ACTUATORS
NVM Controller
Peripherals
BATTERY/ENERGYHARVESTINGDEVICE
MCU (no NVM or RF)
0.5–5mA
Low-power RF
10–30mA
Low-power Serial Flash
2–25mA
Low-power CPU
0.1–1 nAmA
Slide 5 IoT Energy Savings with GZIP IP
Reducing the Energy Consumed
via Compression
NVM: Firmware Compression
Less on-chip data to transfer = lower energy (and
less time) to boot/wake-up
NVM: Data Storage Compression
Less off-chip data = faster R/W operations = lower
energy
RF: Tx/Rx Data Compression
Less data to send/receive = lower RF active time =
lower communication energy
Slide 6 IoT Energy Savings with GZIP IP
IoT Node with GZIP Accelerator
CPU(s)
SRAM
Wireless Protocol Accel.
(e.g. Baseband, Link Layer)
Peripherals &
Accelerators
NVM (e.g. Flash, EEPROM)
RF AFE (e.g. 802.11ah, Zigbee etc)
SENSORS/ACTUATORS
NVM Controller
GZIP/GUNZIP Accel.
BATTERY/ENERGYHARVESTINGDEVICE
GZIP Compression
Standard for interoperability
Hardware
Acceleration
Lower power consumption,
less processor overhead,
low latency
Uses
NVM: Firmware decompression while code shadowing
NVM: data compression for local data storage
RF: data compression at application level or in networking stack
Slide 7 IoT Energy Savings with GZIP IP
Expected Energy Gains
Depends on compression performance (ratio), which
depends on Data Characteristics and Compression
Algorithm Parameters
Basic GZIP Compression Parameters:
Static or Dynamic Huffman
Static: smaller silicon
Dynamic: higher compression
History Window
Smaller: smaller silicon
Larger: higher compression
Low silicon overhead = Static Huffman and relatively
small History Window
Slide 8 IoT Energy Savings with GZIP IP
How Compressible is
Wireless Data?
IoT Devices typically
Exchange a set of measurements/sensed data
Are able to receive commands, and
May allow remote access via an HTML page
Data they transmit resembles text files,
spreadsheets, and HTML
These all compress nicely to levels of 3:1 even
for Static Huffman and Small History Windows
Slide 9 IoT Energy Savings with GZIP IP
How Compressible Is Firmware?
Three examples:
 FreeRTOS Port and Sensor Control app on BA22-DE
 Cygnal FreeRTOS Port and demo app on 8051
 InterNiche Tech. TCPI/IP and HTTP Stacks on Cortex-M3
0.00
0.50
1.00
1.50
2.00
2.50
3.00
Sta c Huffman, 1024
History
Sta c Huffman, 2048
History
Sta c Huffman, 4096
History
2.17
2.35 2.44
2.05 2.14 2.23
1.83 1.93 2.01
CompressionRao
Slide 10 IoT Energy Savings with GZIP IP
Energy and Boot Time Savings
from Firmware Compression
GZIP Assumption: Static Huffman, 2KB History
NVM Assumptions: 1.8V Serial, 5mA Read Current, 50MHz Read Clock
Code Size in kBytes Required NVM Size
System #1
(8051)
System #2
(BA2)
System #3
(ARM)
System #1
(8051)
System #2
(BA2)
System #3
(ARM)
Uncompressed
Code 25.5 161 985 256kbits 2Mbit 8Mbits
Compressed Code 10.9 76 511 128kbits 1Mbit 4Mbits
Savings 57.25% 52.80% 48.12% 54.25% 50.00% 50.00%
Boot Time in msec Boot Power in mA - sec
System #1
(8051)
System #2
(BA2)
System #3
(ARM)
System #1
(8051)
System #2
(BA2)
System #3
(ARM)
Uncompressed
Code 3.98 25 154 0.02 0.13 0.77
Compressed Code 1.7 12 80 0.01 0.06 0.4
Savings 57.29% 52.00% 48.05% 57.25% 52.80% 48.12%
averages
Code Size
52.72%
NVM Size
51.42%
Boot Time
52.45%
Boot
Power
52.73%
Slide 11 IoT Energy Savings with GZIP IP
Data
Storage
Servers &
Gateways
Move analytics from cloud to edge for faster response and
bandwidth limited applications -> Requires local data
storage instead of sending data to remote server
Slide 12 IoT Energy Savings with GZIP IP
Local Data Storage for Analytics
Store data from many edge sensor devices. Wake-up
server for periodic analytic processing
No longer just simple log data, but much larger
imagery and natural language data
Compression minimizes the amount of NVM, but also
power of read/write operations
for 2KB Page for Block of 64 pages = 128kB
Access time
us/page
Power
uJ/page
Power
uJ/block
Read 130.9 4.72 302
Write 405.9 38.94 2,492
Power example in Micron SLC NAND
Slide 13 IoT Energy Savings with GZIP IP
Energy Saving VS Duty Cycles
Example IoT node without compression
Total Energy (mJ/hour) 328.257 40.278 11.480 8.600
Example IoT node with compression (Compression Ratio: 2:1)
Duty Cycle (sec per hour) 5.000 0.500 0.050 0.005
RF Active (Tx) Energy (mJ/hour) 150.00 15.00 1.50 0.15
RF Idle Energy (mJ/hour) 7.19 7.20 7.20 7.20
MCU Active Energy (mJ/hour) 10.00 1.00 0.10 0.01
MCU Idel Energy 1.08 1.08 1.08 1.08
GZIP Active Energy (mJ/hour) 0.91 0.09 0.01 0.00
GZIP Idle Energy (mJ/hour) 0.00 0.00 0.00 0.00
Total (mJ/hour) 169.175 24.370 9.889 8.441
Net Savings (mJ/hour) 159.082 15.908 1.591 0.159
% Energy Saved 48.5% 39.5% 13.9% 1.8%
*
*
*
* Energy decreased 50%
Slide 14 IoT Energy Savings with GZIP IP
Conclusion
Compression can be used to significantly decrease
the energy consumption in IoT Nodes
Firmware Compression for devices using code shadowing
Compression of local Data for edge analytics
Compression of Data exchanged over wireless links
Parameters that need to be evaluated
Compression algorithm and parameters
Compressibility of data
System’s energy profile (duty cycle)
GZIP/GUNZIP IP cores available from CAST are
perfectly suitable for IoT Nodes
Slide 15 IoT Energy Savings with GZIP IP
GZIP Cores From CAST
Low latency:
from 20 cycles FIFO latency
Low silicon requirements:
~22kGates for gzip or gunzip (Static Huffman
and History Windows sizes up to 4096 Bytes)
Low power:
160 MBytes/sec at just 10 MHz
Easy integration:
AXI-Streaming (AXI-ST), or AHB Interfaces

More Related Content

What's hot

Nio100 demo box
Nio100 demo boxNio100 demo box
Nio100 demo box
和得 王
 
JETSON : AI at the EDGE
JETSON : AI at the EDGEJETSON : AI at the EDGE
JETSON : AI at the EDGE
Skolkovo Robotics Center
 
"Optimizing SSD Object Detection for Low-power Devices," a Presentation from ...
"Optimizing SSD Object Detection for Low-power Devices," a Presentation from ..."Optimizing SSD Object Detection for Low-power Devices," a Presentation from ...
"Optimizing SSD Object Detection for Low-power Devices," a Presentation from ...
Edge AI and Vision Alliance
 
Breaking New Frontiers in Robotics and Edge Computing with AI
Breaking New Frontiers in Robotics and Edge Computing with AIBreaking New Frontiers in Robotics and Edge Computing with AI
Breaking New Frontiers in Robotics and Edge Computing with AI
Dustin Franklin
 
AI on the Edge
AI on the EdgeAI on the Edge
AI on the Edge
Jared Rhodes
 
Webinar embarcados - Simplificando seus projetos de Internet das coisas com o...
Webinar embarcados - Simplificando seus projetos de Internet das coisas com o...Webinar embarcados - Simplificando seus projetos de Internet das coisas com o...
Webinar embarcados - Simplificando seus projetos de Internet das coisas com o...
Embarcados
 
Accelerating algorithmic and hardware advancements for power efficient on-dev...
Accelerating algorithmic and hardware advancements for power efficient on-dev...Accelerating algorithmic and hardware advancements for power efficient on-dev...
Accelerating algorithmic and hardware advancements for power efficient on-dev...
Qualcomm Research
 
Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small De...
Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small De...Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small De...
Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small De...
AI Frontiers
 
“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...
“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...
“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...
Edge AI and Vision Alliance
 
How to Choose Mobile Workstation? VR Ready
How to Choose Mobile Workstation? VR ReadyHow to Choose Mobile Workstation? VR Ready
How to Choose Mobile Workstation? VR Ready
NVIDIA Taiwan
 
Nio100 product guide 20150520
Nio100 product guide 20150520Nio100 product guide 20150520
Nio100 product guide 20150520
和得 王
 
"Image Sensor Formats and Interfaces for IoT Applications," a Presentation fr...
"Image Sensor Formats and Interfaces for IoT Applications," a Presentation fr..."Image Sensor Formats and Interfaces for IoT Applications," a Presentation fr...
"Image Sensor Formats and Interfaces for IoT Applications," a Presentation fr...
Edge AI and Vision Alliance
 
STT MRAM for Artificial Intelligence Applications
STT MRAM for Artificial Intelligence ApplicationsSTT MRAM for Artificial Intelligence Applications
STT MRAM for Artificial Intelligence Applications
Danny Sabour
 
[Skolkovo Robotics V] Race for AI: What do VCs expect from AI startups?
[Skolkovo Robotics V] Race for AI:  What do VCs expect from AI startups?[Skolkovo Robotics V] Race for AI:  What do VCs expect from AI startups?
[Skolkovo Robotics V] Race for AI: What do VCs expect from AI startups?
Skolkovo Robotics Center
 
Implementing AI: Hardware Challenges: Ultra-Low Power AI at the Edge with Lat...
Implementing AI: Hardware Challenges: Ultra-Low Power AI at the Edge with Lat...Implementing AI: Hardware Challenges: Ultra-Low Power AI at the Edge with Lat...
Implementing AI: Hardware Challenges: Ultra-Low Power AI at the Edge with Lat...
KTN
 
Nvidia jetson nano bringup
Nvidia jetson nano bringupNvidia jetson nano bringup
Nvidia jetson nano bringup
Yoss Cohen
 
“Efficient Video Perception Through AI,” a Presentation from Qualcomm
“Efficient Video Perception Through AI,” a Presentation from Qualcomm“Efficient Video Perception Through AI,” a Presentation from Qualcomm
“Efficient Video Perception Through AI,” a Presentation from Qualcomm
Edge AI and Vision Alliance
 
Implementing AI: Hardware Challenges: Heterogeneous and Adaptive Computing fo...
Implementing AI: Hardware Challenges: Heterogeneous and Adaptive Computing fo...Implementing AI: Hardware Challenges: Heterogeneous and Adaptive Computing fo...
Implementing AI: Hardware Challenges: Heterogeneous and Adaptive Computing fo...
KTN
 
Embedded and Reliable Computer Vision
Embedded and Reliable Computer VisionEmbedded and Reliable Computer Vision
Embedded and Reliable Computer Vision
NVIDIA Taiwan
 
Jetson AGX Xavier and the New Era of Autonomous Machines
Jetson AGX Xavier and the New Era of Autonomous MachinesJetson AGX Xavier and the New Era of Autonomous Machines
Jetson AGX Xavier and the New Era of Autonomous Machines
Dustin Franklin
 

What's hot (20)

Nio100 demo box
Nio100 demo boxNio100 demo box
Nio100 demo box
 
JETSON : AI at the EDGE
JETSON : AI at the EDGEJETSON : AI at the EDGE
JETSON : AI at the EDGE
 
"Optimizing SSD Object Detection for Low-power Devices," a Presentation from ...
"Optimizing SSD Object Detection for Low-power Devices," a Presentation from ..."Optimizing SSD Object Detection for Low-power Devices," a Presentation from ...
"Optimizing SSD Object Detection for Low-power Devices," a Presentation from ...
 
Breaking New Frontiers in Robotics and Edge Computing with AI
Breaking New Frontiers in Robotics and Edge Computing with AIBreaking New Frontiers in Robotics and Edge Computing with AI
Breaking New Frontiers in Robotics and Edge Computing with AI
 
AI on the Edge
AI on the EdgeAI on the Edge
AI on the Edge
 
Webinar embarcados - Simplificando seus projetos de Internet das coisas com o...
Webinar embarcados - Simplificando seus projetos de Internet das coisas com o...Webinar embarcados - Simplificando seus projetos de Internet das coisas com o...
Webinar embarcados - Simplificando seus projetos de Internet das coisas com o...
 
Accelerating algorithmic and hardware advancements for power efficient on-dev...
Accelerating algorithmic and hardware advancements for power efficient on-dev...Accelerating algorithmic and hardware advancements for power efficient on-dev...
Accelerating algorithmic and hardware advancements for power efficient on-dev...
 
Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small De...
Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small De...Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small De...
Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small De...
 
“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...
“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...
“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...
 
How to Choose Mobile Workstation? VR Ready
How to Choose Mobile Workstation? VR ReadyHow to Choose Mobile Workstation? VR Ready
How to Choose Mobile Workstation? VR Ready
 
Nio100 product guide 20150520
Nio100 product guide 20150520Nio100 product guide 20150520
Nio100 product guide 20150520
 
"Image Sensor Formats and Interfaces for IoT Applications," a Presentation fr...
"Image Sensor Formats and Interfaces for IoT Applications," a Presentation fr..."Image Sensor Formats and Interfaces for IoT Applications," a Presentation fr...
"Image Sensor Formats and Interfaces for IoT Applications," a Presentation fr...
 
STT MRAM for Artificial Intelligence Applications
STT MRAM for Artificial Intelligence ApplicationsSTT MRAM for Artificial Intelligence Applications
STT MRAM for Artificial Intelligence Applications
 
[Skolkovo Robotics V] Race for AI: What do VCs expect from AI startups?
[Skolkovo Robotics V] Race for AI:  What do VCs expect from AI startups?[Skolkovo Robotics V] Race for AI:  What do VCs expect from AI startups?
[Skolkovo Robotics V] Race for AI: What do VCs expect from AI startups?
 
Implementing AI: Hardware Challenges: Ultra-Low Power AI at the Edge with Lat...
Implementing AI: Hardware Challenges: Ultra-Low Power AI at the Edge with Lat...Implementing AI: Hardware Challenges: Ultra-Low Power AI at the Edge with Lat...
Implementing AI: Hardware Challenges: Ultra-Low Power AI at the Edge with Lat...
 
Nvidia jetson nano bringup
Nvidia jetson nano bringupNvidia jetson nano bringup
Nvidia jetson nano bringup
 
“Efficient Video Perception Through AI,” a Presentation from Qualcomm
“Efficient Video Perception Through AI,” a Presentation from Qualcomm“Efficient Video Perception Through AI,” a Presentation from Qualcomm
“Efficient Video Perception Through AI,” a Presentation from Qualcomm
 
Implementing AI: Hardware Challenges: Heterogeneous and Adaptive Computing fo...
Implementing AI: Hardware Challenges: Heterogeneous and Adaptive Computing fo...Implementing AI: Hardware Challenges: Heterogeneous and Adaptive Computing fo...
Implementing AI: Hardware Challenges: Heterogeneous and Adaptive Computing fo...
 
Embedded and Reliable Computer Vision
Embedded and Reliable Computer VisionEmbedded and Reliable Computer Vision
Embedded and Reliable Computer Vision
 
Jetson AGX Xavier and the New Era of Autonomous Machines
Jetson AGX Xavier and the New Era of Autonomous MachinesJetson AGX Xavier and the New Era of Autonomous Machines
Jetson AGX Xavier and the New Era of Autonomous Machines
 

Similar to Using GZIP Data Compression to Reduce Power Consumption in IoT Devices

Brochure (2016-01-30)
Brochure (2016-01-30)Brochure (2016-01-30)
Brochure (2016-01-30)
Jonah McLeod
 
Reducing Standby Power in Networked Appliances
Reducing Standby Power in Networked Appliances Reducing Standby Power in Networked Appliances
Reducing Standby Power in Networked Appliances
IEA DSM Implementing Agreement (IA)
 
Technology overview
Technology overviewTechnology overview
Technology overview
virtuehm
 
SDC20 ScaleFlux.pptx
SDC20 ScaleFlux.pptxSDC20 ScaleFlux.pptx
SDC20 ScaleFlux.pptx
ssuserabc741
 
mobile processors introduction..
mobile processors introduction..mobile processors introduction..
mobile processors introduction..
Muhammad Sayam
 
Automatic solar LED street light automation by using RTC and I2C protocols d...
Automatic solar LED street light automation by using RTC and I2C protocols  d...Automatic solar LED street light automation by using RTC and I2C protocols  d...
Automatic solar LED street light automation by using RTC and I2C protocols d...
PRASHANTH RAO
 
IT Solution through IoT Development
IT Solution through IoT DevelopmentIT Solution through IoT Development
IT Solution through IoT Development
Andri Yadi
 
PCIe Gen 3.0 Presentation @ 4th FPGA Camp
PCIe Gen 3.0 Presentation @ 4th FPGA CampPCIe Gen 3.0 Presentation @ 4th FPGA Camp
PCIe Gen 3.0 Presentation @ 4th FPGA Camp
FPGA Central
 
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
The Linux Foundation
 
Smart cards
Smart cards Smart cards
Machine Learning and Artificial Intelligence
Machine Learning and Artificial IntelligenceMachine Learning and Artificial Intelligence
Machine Learning and Artificial Intelligence
MarketingArrowECS_CZ
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOT
IRJET Journal
 
Малоресурсная криптография - Сергей Мартыненко
Малоресурсная криптография - Сергей МартыненкоМалоресурсная криптография - Сергей Мартыненко
Малоресурсная криптография - Сергей Мартыненко
HackIT Ukraine
 
Cellular LPWA for the IoT
Cellular LPWA for the IoTCellular LPWA for the IoT
Cellular LPWA for the IoT
Nicolas Damour
 
Millicomputing Usenix 2008
Millicomputing Usenix 2008Millicomputing Usenix 2008
Millicomputing Usenix 2008
Adrian Cockcroft
 
An AI accelerator ASIC architecture
An AI accelerator ASIC architectureAn AI accelerator ASIC architecture
An AI accelerator ASIC architecture
Khanh Le
 
Mobile IoT Network :Current Status and Future Evolution
Mobile IoT  Network :Current Status and Future EvolutionMobile IoT  Network :Current Status and Future Evolution
Mobile IoT Network :Current Status and Future Evolution
Sivasothy Shanmugalingam
 
Internet of things
Internet of thingsInternet of things
Internet of things
Alok Ranjan
 
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoTMphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Aniruddha Chakrabarti
 
09.50 Ernst Vrolijks
09.50 Ernst Vrolijks09.50 Ernst Vrolijks
09.50 Ernst Vrolijks
Themadagen
 

Similar to Using GZIP Data Compression to Reduce Power Consumption in IoT Devices (20)

Brochure (2016-01-30)
Brochure (2016-01-30)Brochure (2016-01-30)
Brochure (2016-01-30)
 
Reducing Standby Power in Networked Appliances
Reducing Standby Power in Networked Appliances Reducing Standby Power in Networked Appliances
Reducing Standby Power in Networked Appliances
 
Technology overview
Technology overviewTechnology overview
Technology overview
 
SDC20 ScaleFlux.pptx
SDC20 ScaleFlux.pptxSDC20 ScaleFlux.pptx
SDC20 ScaleFlux.pptx
 
mobile processors introduction..
mobile processors introduction..mobile processors introduction..
mobile processors introduction..
 
Automatic solar LED street light automation by using RTC and I2C protocols d...
Automatic solar LED street light automation by using RTC and I2C protocols  d...Automatic solar LED street light automation by using RTC and I2C protocols  d...
Automatic solar LED street light automation by using RTC and I2C protocols d...
 
IT Solution through IoT Development
IT Solution through IoT DevelopmentIT Solution through IoT Development
IT Solution through IoT Development
 
PCIe Gen 3.0 Presentation @ 4th FPGA Camp
PCIe Gen 3.0 Presentation @ 4th FPGA CampPCIe Gen 3.0 Presentation @ 4th FPGA Camp
PCIe Gen 3.0 Presentation @ 4th FPGA Camp
 
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
 
Smart cards
Smart cards Smart cards
Smart cards
 
Machine Learning and Artificial Intelligence
Machine Learning and Artificial IntelligenceMachine Learning and Artificial Intelligence
Machine Learning and Artificial Intelligence
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOT
 
Малоресурсная криптография - Сергей Мартыненко
Малоресурсная криптография - Сергей МартыненкоМалоресурсная криптография - Сергей Мартыненко
Малоресурсная криптография - Сергей Мартыненко
 
Cellular LPWA for the IoT
Cellular LPWA for the IoTCellular LPWA for the IoT
Cellular LPWA for the IoT
 
Millicomputing Usenix 2008
Millicomputing Usenix 2008Millicomputing Usenix 2008
Millicomputing Usenix 2008
 
An AI accelerator ASIC architecture
An AI accelerator ASIC architectureAn AI accelerator ASIC architecture
An AI accelerator ASIC architecture
 
Mobile IoT Network :Current Status and Future Evolution
Mobile IoT  Network :Current Status and Future EvolutionMobile IoT  Network :Current Status and Future Evolution
Mobile IoT Network :Current Status and Future Evolution
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoTMphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoT
 
09.50 Ernst Vrolijks
09.50 Ernst Vrolijks09.50 Ernst Vrolijks
09.50 Ernst Vrolijks
 

Recently uploaded

一比一原版(UQ文凭证书)昆士兰大学毕业证如何办理
一比一原版(UQ文凭证书)昆士兰大学毕业证如何办理一比一原版(UQ文凭证书)昆士兰大学毕业证如何办理
一比一原版(UQ文凭证书)昆士兰大学毕业证如何办理
xuqdabu
 
Production.pptxd dddddddddddddddddddddddddddddddddd
Production.pptxd ddddddddddddddddddddddddddddddddddProduction.pptxd dddddddddddddddddddddddddddddddddd
Production.pptxd dddddddddddddddddddddddddddddddddd
DanielOliver74
 
按照学校原版(SUT文凭证书)斯威本科技大学毕业证快速办理
按照学校原版(SUT文凭证书)斯威本科技大学毕业证快速办理按照学校原版(SUT文凭证书)斯威本科技大学毕业证快速办理
按照学校原版(SUT文凭证书)斯威本科技大学毕业证快速办理
1jtj7yul
 
一比一原版(KCL文凭证书)伦敦国王学院毕业证如何办理
一比一原版(KCL文凭证书)伦敦国王学院毕业证如何办理一比一原版(KCL文凭证书)伦敦国王学院毕业证如何办理
一比一原版(KCL文凭证书)伦敦国王学院毕业证如何办理
kuehcub
 
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
nudduv
 
按照学校原版(Westminster文凭证书)威斯敏斯特大学毕业证快速办理
按照学校原版(Westminster文凭证书)威斯敏斯特大学毕业证快速办理按照学校原版(Westminster文凭证书)威斯敏斯特大学毕业证快速办理
按照学校原版(Westminster文凭证书)威斯敏斯特大学毕业证快速办理
yizxn4sx
 
按照学校原版(Greenwich文凭证书)格林威治大学毕业证快速办理
按照学校原版(Greenwich文凭证书)格林威治大学毕业证快速办理按照学校原版(Greenwich文凭证书)格林威治大学毕业证快速办理
按照学校原版(Greenwich文凭证书)格林威治大学毕业证快速办理
yizxn4sx
 
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
yizxn4sx
 
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalRBuilding a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Peter Gallagher
 
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
xuqdabu
 
一比一原版(Monash文凭证书)莫纳什大学毕业证如何办理
一比一原版(Monash文凭证书)莫纳什大学毕业证如何办理一比一原版(Monash文凭证书)莫纳什大学毕业证如何办理
一比一原版(Monash文凭证书)莫纳什大学毕业证如何办理
xuqdabu
 
按照学校原版(KCL文凭证书)伦敦国王学院毕业证快速办理
按照学校原版(KCL文凭证书)伦敦国王学院毕业证快速办理按照学校原版(KCL文凭证书)伦敦国王学院毕业证快速办理
按照学校原版(KCL文凭证书)伦敦国王学院毕业证快速办理
terpt4iu
 
加急办理美国南加州大学毕业证文凭毕业证原版一模一样
加急办理美国南加州大学毕业证文凭毕业证原版一模一样加急办理美国南加州大学毕业证文凭毕业证原版一模一样
加急办理美国南加州大学毕业证文凭毕业证原版一模一样
u0g33km
 
按照学校原版(UVic文凭证书)维多利亚大学毕业证快速办理
按照学校原版(UVic文凭证书)维多利亚大学毕业证快速办理按照学校原版(UVic文凭证书)维多利亚大学毕业证快速办理
按照学校原版(UVic文凭证书)维多利亚大学毕业证快速办理
1jtj7yul
 
按照学校原版(QU文凭证书)皇后大学毕业证快速办理
按照学校原版(QU文凭证书)皇后大学毕业证快速办理按照学校原版(QU文凭证书)皇后大学毕业证快速办理
按照学校原版(QU文凭证书)皇后大学毕业证快速办理
8db3cz8x
 
按照学校原版(Adelaide文凭证书)阿德莱德大学毕业证快速办理
按照学校原版(Adelaide文凭证书)阿德莱德大学毕业证快速办理按照学校原版(Adelaide文凭证书)阿德莱德大学毕业证快速办理
按照学校原版(Adelaide文凭证书)阿德莱德大学毕业证快速办理
terpt4iu
 
SOLIDWORKS 2024 Enhancements eBook.pdf for beginners
SOLIDWORKS 2024 Enhancements eBook.pdf for beginnersSOLIDWORKS 2024 Enhancements eBook.pdf for beginners
SOLIDWORKS 2024 Enhancements eBook.pdf for beginners
SethiLilu
 
1比1复刻澳洲皇家墨尔本理工大学毕业证本科学位原版一模一样
1比1复刻澳洲皇家墨尔本理工大学毕业证本科学位原版一模一样1比1复刻澳洲皇家墨尔本理工大学毕业证本科学位原版一模一样
1比1复刻澳洲皇家墨尔本理工大学毕业证本科学位原版一模一样
2g3om49r
 
按照学校原版(AU文凭证书)英国阿伯丁大学毕业证快速办理
按照学校原版(AU文凭证书)英国阿伯丁大学毕业证快速办理按照学校原版(AU文凭证书)英国阿伯丁大学毕业证快速办理
按照学校原版(AU文凭证书)英国阿伯丁大学毕业证快速办理
ei8c4cba
 
一比一原版(TheAuckland毕业证书)新西兰奥克兰大学毕业证如何办理
一比一原版(TheAuckland毕业证书)新西兰奥克兰大学毕业证如何办理一比一原版(TheAuckland毕业证书)新西兰奥克兰大学毕业证如何办理
一比一原版(TheAuckland毕业证书)新西兰奥克兰大学毕业证如何办理
xuqdabu
 

Recently uploaded (20)

一比一原版(UQ文凭证书)昆士兰大学毕业证如何办理
一比一原版(UQ文凭证书)昆士兰大学毕业证如何办理一比一原版(UQ文凭证书)昆士兰大学毕业证如何办理
一比一原版(UQ文凭证书)昆士兰大学毕业证如何办理
 
Production.pptxd dddddddddddddddddddddddddddddddddd
Production.pptxd ddddddddddddddddddddddddddddddddddProduction.pptxd dddddddddddddddddddddddddddddddddd
Production.pptxd dddddddddddddddddddddddddddddddddd
 
按照学校原版(SUT文凭证书)斯威本科技大学毕业证快速办理
按照学校原版(SUT文凭证书)斯威本科技大学毕业证快速办理按照学校原版(SUT文凭证书)斯威本科技大学毕业证快速办理
按照学校原版(SUT文凭证书)斯威本科技大学毕业证快速办理
 
一比一原版(KCL文凭证书)伦敦国王学院毕业证如何办理
一比一原版(KCL文凭证书)伦敦国王学院毕业证如何办理一比一原版(KCL文凭证书)伦敦国王学院毕业证如何办理
一比一原版(KCL文凭证书)伦敦国王学院毕业证如何办理
 
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
 
按照学校原版(Westminster文凭证书)威斯敏斯特大学毕业证快速办理
按照学校原版(Westminster文凭证书)威斯敏斯特大学毕业证快速办理按照学校原版(Westminster文凭证书)威斯敏斯特大学毕业证快速办理
按照学校原版(Westminster文凭证书)威斯敏斯特大学毕业证快速办理
 
按照学校原版(Greenwich文凭证书)格林威治大学毕业证快速办理
按照学校原版(Greenwich文凭证书)格林威治大学毕业证快速办理按照学校原版(Greenwich文凭证书)格林威治大学毕业证快速办理
按照学校原版(Greenwich文凭证书)格林威治大学毕业证快速办理
 
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
 
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalRBuilding a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
 
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide文凭证书)阿德莱德大学毕业证如何办理
 
一比一原版(Monash文凭证书)莫纳什大学毕业证如何办理
一比一原版(Monash文凭证书)莫纳什大学毕业证如何办理一比一原版(Monash文凭证书)莫纳什大学毕业证如何办理
一比一原版(Monash文凭证书)莫纳什大学毕业证如何办理
 
按照学校原版(KCL文凭证书)伦敦国王学院毕业证快速办理
按照学校原版(KCL文凭证书)伦敦国王学院毕业证快速办理按照学校原版(KCL文凭证书)伦敦国王学院毕业证快速办理
按照学校原版(KCL文凭证书)伦敦国王学院毕业证快速办理
 
加急办理美国南加州大学毕业证文凭毕业证原版一模一样
加急办理美国南加州大学毕业证文凭毕业证原版一模一样加急办理美国南加州大学毕业证文凭毕业证原版一模一样
加急办理美国南加州大学毕业证文凭毕业证原版一模一样
 
按照学校原版(UVic文凭证书)维多利亚大学毕业证快速办理
按照学校原版(UVic文凭证书)维多利亚大学毕业证快速办理按照学校原版(UVic文凭证书)维多利亚大学毕业证快速办理
按照学校原版(UVic文凭证书)维多利亚大学毕业证快速办理
 
按照学校原版(QU文凭证书)皇后大学毕业证快速办理
按照学校原版(QU文凭证书)皇后大学毕业证快速办理按照学校原版(QU文凭证书)皇后大学毕业证快速办理
按照学校原版(QU文凭证书)皇后大学毕业证快速办理
 
按照学校原版(Adelaide文凭证书)阿德莱德大学毕业证快速办理
按照学校原版(Adelaide文凭证书)阿德莱德大学毕业证快速办理按照学校原版(Adelaide文凭证书)阿德莱德大学毕业证快速办理
按照学校原版(Adelaide文凭证书)阿德莱德大学毕业证快速办理
 
SOLIDWORKS 2024 Enhancements eBook.pdf for beginners
SOLIDWORKS 2024 Enhancements eBook.pdf for beginnersSOLIDWORKS 2024 Enhancements eBook.pdf for beginners
SOLIDWORKS 2024 Enhancements eBook.pdf for beginners
 
1比1复刻澳洲皇家墨尔本理工大学毕业证本科学位原版一模一样
1比1复刻澳洲皇家墨尔本理工大学毕业证本科学位原版一模一样1比1复刻澳洲皇家墨尔本理工大学毕业证本科学位原版一模一样
1比1复刻澳洲皇家墨尔本理工大学毕业证本科学位原版一模一样
 
按照学校原版(AU文凭证书)英国阿伯丁大学毕业证快速办理
按照学校原版(AU文凭证书)英国阿伯丁大学毕业证快速办理按照学校原版(AU文凭证书)英国阿伯丁大学毕业证快速办理
按照学校原版(AU文凭证书)英国阿伯丁大学毕业证快速办理
 
一比一原版(TheAuckland毕业证书)新西兰奥克兰大学毕业证如何办理
一比一原版(TheAuckland毕业证书)新西兰奥克兰大学毕业证如何办理一比一原版(TheAuckland毕业证书)新西兰奥克兰大学毕业证如何办理
一比一原版(TheAuckland毕业证书)新西兰奥克兰大学毕业证如何办理
 

Using GZIP Data Compression to Reduce Power Consumption in IoT Devices

  • 1. Slide 1 IoT Energy Savings with GZIP IP Using GZIP Data Compression to Reduce Power Consumption in IoT Devices Meredith Lucky VP of Sales CAST, Inc. December 2016 www.cast-inc.com
  • 2. Slide 2 IoT Energy Savings with GZIP IP Second Generation IoT The First Generation was trying to get a product to market ASAP. The Second Generation is about product differentiation. Low power Processing power in edge devices Reduced cost (less memory, smaller devices)
  • 3. Slide 3 IoT Energy Savings with GZIP IP A Typical IoT Node Low Energy Consumption is a key factor CPU(s) SRAM Wireless Protocol Accel. (e.g. Baseband, Link Layer) Accelerators NVM (e.g. Flash, EEPROM) RF AFE (e.g. 802.11ah, Zigbee etc) SENSORS/ACTUATORS NVM Controller Peripherals BATTERY/ENERGYHARVESTINGDEVICE
  • 4. Slide 4 IoT Energy Savings with GZIP IP Where is Energy Consumed? RF Transceivers and NVMs are major energy consumers CPU(s) SRAM Wireless Protocol Accel. (e.g. Baseband, Link Layer) Accelerators NVM (e.g. Flash, EEPROM) RF AFE (e.g. 802.11ah, Zigbee etc) SENSORS/ACTUATORS NVM Controller Peripherals BATTERY/ENERGYHARVESTINGDEVICE MCU (no NVM or RF) 0.5–5mA Low-power RF 10–30mA Low-power Serial Flash 2–25mA Low-power CPU 0.1–1 nAmA
  • 5. Slide 5 IoT Energy Savings with GZIP IP Reducing the Energy Consumed via Compression NVM: Firmware Compression Less on-chip data to transfer = lower energy (and less time) to boot/wake-up NVM: Data Storage Compression Less off-chip data = faster R/W operations = lower energy RF: Tx/Rx Data Compression Less data to send/receive = lower RF active time = lower communication energy
  • 6. Slide 6 IoT Energy Savings with GZIP IP IoT Node with GZIP Accelerator CPU(s) SRAM Wireless Protocol Accel. (e.g. Baseband, Link Layer) Peripherals & Accelerators NVM (e.g. Flash, EEPROM) RF AFE (e.g. 802.11ah, Zigbee etc) SENSORS/ACTUATORS NVM Controller GZIP/GUNZIP Accel. BATTERY/ENERGYHARVESTINGDEVICE GZIP Compression Standard for interoperability Hardware Acceleration Lower power consumption, less processor overhead, low latency Uses NVM: Firmware decompression while code shadowing NVM: data compression for local data storage RF: data compression at application level or in networking stack
  • 7. Slide 7 IoT Energy Savings with GZIP IP Expected Energy Gains Depends on compression performance (ratio), which depends on Data Characteristics and Compression Algorithm Parameters Basic GZIP Compression Parameters: Static or Dynamic Huffman Static: smaller silicon Dynamic: higher compression History Window Smaller: smaller silicon Larger: higher compression Low silicon overhead = Static Huffman and relatively small History Window
  • 8. Slide 8 IoT Energy Savings with GZIP IP How Compressible is Wireless Data? IoT Devices typically Exchange a set of measurements/sensed data Are able to receive commands, and May allow remote access via an HTML page Data they transmit resembles text files, spreadsheets, and HTML These all compress nicely to levels of 3:1 even for Static Huffman and Small History Windows
  • 9. Slide 9 IoT Energy Savings with GZIP IP How Compressible Is Firmware? Three examples:  FreeRTOS Port and Sensor Control app on BA22-DE  Cygnal FreeRTOS Port and demo app on 8051  InterNiche Tech. TCPI/IP and HTTP Stacks on Cortex-M3 0.00 0.50 1.00 1.50 2.00 2.50 3.00 Sta c Huffman, 1024 History Sta c Huffman, 2048 History Sta c Huffman, 4096 History 2.17 2.35 2.44 2.05 2.14 2.23 1.83 1.93 2.01 CompressionRao
  • 10. Slide 10 IoT Energy Savings with GZIP IP Energy and Boot Time Savings from Firmware Compression GZIP Assumption: Static Huffman, 2KB History NVM Assumptions: 1.8V Serial, 5mA Read Current, 50MHz Read Clock Code Size in kBytes Required NVM Size System #1 (8051) System #2 (BA2) System #3 (ARM) System #1 (8051) System #2 (BA2) System #3 (ARM) Uncompressed Code 25.5 161 985 256kbits 2Mbit 8Mbits Compressed Code 10.9 76 511 128kbits 1Mbit 4Mbits Savings 57.25% 52.80% 48.12% 54.25% 50.00% 50.00% Boot Time in msec Boot Power in mA - sec System #1 (8051) System #2 (BA2) System #3 (ARM) System #1 (8051) System #2 (BA2) System #3 (ARM) Uncompressed Code 3.98 25 154 0.02 0.13 0.77 Compressed Code 1.7 12 80 0.01 0.06 0.4 Savings 57.29% 52.00% 48.05% 57.25% 52.80% 48.12% averages Code Size 52.72% NVM Size 51.42% Boot Time 52.45% Boot Power 52.73%
  • 11. Slide 11 IoT Energy Savings with GZIP IP Data Storage Servers & Gateways Move analytics from cloud to edge for faster response and bandwidth limited applications -> Requires local data storage instead of sending data to remote server
  • 12. Slide 12 IoT Energy Savings with GZIP IP Local Data Storage for Analytics Store data from many edge sensor devices. Wake-up server for periodic analytic processing No longer just simple log data, but much larger imagery and natural language data Compression minimizes the amount of NVM, but also power of read/write operations for 2KB Page for Block of 64 pages = 128kB Access time us/page Power uJ/page Power uJ/block Read 130.9 4.72 302 Write 405.9 38.94 2,492 Power example in Micron SLC NAND
  • 13. Slide 13 IoT Energy Savings with GZIP IP Energy Saving VS Duty Cycles Example IoT node without compression Total Energy (mJ/hour) 328.257 40.278 11.480 8.600 Example IoT node with compression (Compression Ratio: 2:1) Duty Cycle (sec per hour) 5.000 0.500 0.050 0.005 RF Active (Tx) Energy (mJ/hour) 150.00 15.00 1.50 0.15 RF Idle Energy (mJ/hour) 7.19 7.20 7.20 7.20 MCU Active Energy (mJ/hour) 10.00 1.00 0.10 0.01 MCU Idel Energy 1.08 1.08 1.08 1.08 GZIP Active Energy (mJ/hour) 0.91 0.09 0.01 0.00 GZIP Idle Energy (mJ/hour) 0.00 0.00 0.00 0.00 Total (mJ/hour) 169.175 24.370 9.889 8.441 Net Savings (mJ/hour) 159.082 15.908 1.591 0.159 % Energy Saved 48.5% 39.5% 13.9% 1.8% * * * * Energy decreased 50%
  • 14. Slide 14 IoT Energy Savings with GZIP IP Conclusion Compression can be used to significantly decrease the energy consumption in IoT Nodes Firmware Compression for devices using code shadowing Compression of local Data for edge analytics Compression of Data exchanged over wireless links Parameters that need to be evaluated Compression algorithm and parameters Compressibility of data System’s energy profile (duty cycle) GZIP/GUNZIP IP cores available from CAST are perfectly suitable for IoT Nodes
  • 15. Slide 15 IoT Energy Savings with GZIP IP GZIP Cores From CAST Low latency: from 20 cycles FIFO latency Low silicon requirements: ~22kGates for gzip or gunzip (Static Huffman and History Windows sizes up to 4096 Bytes) Low power: 160 MBytes/sec at just 10 MHz Easy integration: AXI-Streaming (AXI-ST), or AHB Interfaces

Editor's Notes

  1. IoT is the next big wave that …. Definition Comments
  2. LP-RF: 10-30mA TI CC2500 (2.4 GHz): 14-19mA in Rx, 11-29mA in Tx Semtech SX1272 (860-1000MHz): 10-11.2mA in Rx, 18-126mA in Tx LP-Serial Flash: 2-25mA Micron 2Mb Serial NOR Flash: 12mA (@75 MHz) Macronix 16Mb Serial NOR Flash: 3.5mA (@8MHz) LP-CPU: 0.1-1 mA Cortex-M0: 0.25mA (40nm@50MHz) BA20: 0.09mA (40nm@50Mhz)
  3. WHAT TYPE OF COMPRSSION? Why GZIP: Lossless, widely employed (no interoperability issues) HOW? Hardware accelerator: Lower power, lower host processing overhead… Firmware compression for devices using Shadowing: Copying code or parts of it to internal SRAM during boot/wake-up (to save power and execute faster) RF: Compress data at the application layer (to avoid complexities in the networking stacks)….
  4. ADD DUTY CYCLE ON ORIGINAL….