SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
Energy Consumption Analysis

of Image Encoding and Decoding
Algorithms
Mohammad Rashid, Luca Ardito, and Marco Torchiano
GREENS 2015
Motivation
Energy consumption represents an
important issue with limited and
embedded devices
On all connected devices
IIIIIIIIII
I::::::::I
I::::::::I
II::::::II
I::::I mmmmmmm mmmmmmm aaaaaaaaaaaaa ggggggggg ggggg eeeeeeeeeeee ssssssssss aaaaaaaaaaaaa rrrrr rrrrrrrrr eeeeeeeeeeee
I::::I mm:::::::m m:::::::mm a::::::::::::a g:::::::::ggg::::g ee::::::::::::ee ss::::::::::s a::::::::::::a r::::rrr:::::::::r ee::::::::::::ee
I::::I m::::::::::mm::::::::::m aaaaaaaaa:::::a g:::::::::::::::::g e::::::eeeee:::::eess:::::::::::::s aaaaaaaaa:::::ar:::::::::::::::::r e::::::eeeee:::::ee
I::::I m::::::::::::::::::::::m a::::ag::::::ggggg::::::gge::::::e e:::::es::::::ssss:::::s a::::arr::::::rrrrr::::::re::::::e e:::::e
I::::I m:::::mmm::::::mmm:::::m aaaaaaa:::::ag:::::g g:::::g e:::::::eeeee::::::e s:::::s ssssss aaaaaaa:::::a r:::::r r:::::re:::::::eeeee::::::e
I::::I m::::m m::::m m::::m aa::::::::::::ag:::::g g:::::g e:::::::::::::::::e s::::::s aa::::::::::::a r:::::r rrrrrrre:::::::::::::::::e
I::::I m::::m m::::m m::::m a::::aaaa::::::ag:::::g g:::::g e::::::eeeeeeeeeee s::::::s a::::aaaa::::::a r:::::r e::::::eeeeeeeeeee
I::::I m::::m m::::m m::::ma::::a a:::::ag::::::g g:::::g e:::::::e ssssss s:::::s a::::a a:::::a r:::::r e:::::::e
II::::::IIm::::m m::::m m::::ma::::a a:::::ag:::::::ggggg:::::g e::::::::e s:::::ssss::::::s a::::a a:::::a r:::::r e::::::::e
I::::::::Im::::m m::::m m::::ma:::::aaaa::::::a g::::::::::::::::g e::::::::eeeeeeee s::::::::::::::s a:::::aaaa::::::a r:::::r e::::::::eeeeeeee
I::::::::Im::::m m::::m m::::m a::::::::::aa:::a gg::::::::::::::g ee:::::::::::::e s:::::::::::ss a::::::::::aa:::ar:::::r ee:::::::::::::e
IIIIIIIIIImmmmmm mmmmmm mmmmmm aaaaaaaaaa aaaa gggggggg::::::g eeeeeeeeeeeeee sssssssssss aaaaaaaaaa aaaarrrrrrr eeeeeeeeeeeeee
g:::::g
gggggg g:::::g
g:::::gg gg:::::g
g::::::ggg:::::::g
gg:::::::::::::g
ggg::::::ggg
gggggg
bbbbbbbb
b::::::b iiii iiii tttt
b::::::b i::::i i::::i ttt:::t
b::::::b iiii iiii t:::::t
b:::::b t:::::t
uuuuuu uuuuuu b:::::bbbbbbbbb iiiiiii qqqqqqqqq qqqqquuuuuu uuuuuu iiiiiiittttttt:::::ttttttt ooooooooooo uuuuuu uuuuuu ssssssssss
u::::u u::::u b::::::::::::::bb i:::::i q:::::::::qqq::::qu::::u u::::u i:::::it:::::::::::::::::t oo:::::::::::oo u::::u u::::u ss::::::::::s
u::::u u::::u b::::::::::::::::b i::::i q:::::::::::::::::qu::::u u::::u i::::it:::::::::::::::::t o:::::::::::::::ou::::u u::::u ss:::::::::::::s
u::::u u::::u b:::::bbbbb:::::::b i::::i q::::::qqqqq::::::qqu::::u u::::u i::::itttttt:::::::tttttt o:::::ooooo:::::ou::::u u::::u s::::::ssss:::::s
u::::u u::::u b:::::b b::::::b i::::i q:::::q q:::::q u::::u u::::u i::::i t:::::t o::::o o::::ou::::u u::::u s:::::s ssssss
u::::u u::::u b:::::b b:::::b i::::i q:::::q q:::::q u::::u u::::u i::::i t:::::t o::::o o::::ou::::u u::::u s::::::s
u::::u u::::u b:::::b b:::::b i::::i q:::::q q:::::q u::::u u::::u i::::i t:::::t o::::o o::::ou::::u u::::u s::::::s
u:::::uuuu:::::u b:::::b b:::::b i::::i q::::::q q:::::q u:::::uuuu:::::u i::::i t:::::t tttttto::::o o::::ou:::::uuuu:::::u ssssss s:::::s
u:::::::::::::::uub:::::bbbbbb::::::bi::::::iq:::::::qqqqq:::::q u:::::::::::::::uui::::::i t::::::tttt:::::to:::::ooooo:::::ou:::::::::::::::uus:::::ssss::::::s
u:::::::::::::::ub::::::::::::::::b i::::::i q::::::::::::::::q u:::::::::::::::ui::::::i tt::::::::::::::to:::::::::::::::o u:::::::::::::::us::::::::::::::s
uu::::::::uu:::ub:::::::::::::::b i::::::i qq::::::::::::::q uu::::::::uu:::ui::::::i tt:::::::::::tt oo:::::::::::oo uu::::::::uu:::u s:::::::::::ss
uuuuuuuu uuuubbbbbbbbbbbbbbbb iiiiiiii qqqqqqqq::::::q uuuuuuuu uuuuiiiiiiii ttttttttttt ooooooooooo uuuuuuuu uuuu sssssssssss
q:::::q
q:::::q
q:::::::q
q:::::::q
q:::::::q
qqqqqqqqq
Plan
Object: image codec algorithms
Purpose: assessing differences
Focus: energy consumption
Context: Raspberry PI
Research Questions
• RQ1: Do different codecs consume different amounts
of energy for encoding/decoding images?
• Metric: total energy
• RQ2: How closely are energy consumption and
computational performance correlated?
• Metrics: Enegy vs. time, and Power

Test Images
A
B
C
768K
2.4M
3.2M
CodecsPNG JPG, q:10
JPG, q:80JPG, q:40
Experimental design
.BMP
PNG
Encoder
JPG
Encoder
JPG
Encoder
JPG
Encoder
Q10
Q40
Q80
PNG
Decoder
JPG
Decoder
JPG
Decoder
JPG
Decoder
Instrumentation
Raspberry Pi + USB Tester OLED Backpack 2.0
RQ1: codec consumption
Task ☞ DECODING ENCODING
CODEC☟
Energy Time Energy Time
PNG 1.78 9.6 6.16 39.0
JPEG, Q:10 0.94 4.5 1.05 7.6
JPEG, Q:40 0.76 3.4 0.84 2.7
JPEG, Q:80 0.68 2.9 0.78 2.7
Average values over the three images, values for five repetitions of the task
Consumption
==
70k PNG decode
130k JPG:10 decode
160k JPG:40 decode
180k JPG:80 decode
{
or
or
or
(c) iFixIt - Walter Galan
RQ2: Energy and complexity
0.0
2.5
5.0
7.5
10.0
0 20 40
Time [s]
Energy[s]
Process
Decode
Encode
E = P · t
Mean Power vs. Total Energy
A
B
C
A
B
C
DecodeEncode
jpg:Q80 jpg:Q40 jpg:Q10 png:LL
Codec:Quality
Image
0.15
0.17
0.20
0.23
Power A
B
C
A
B
C
DecodeEncode
jpg:Q80 jpg:Q40 jpg:Q10 png:LL
Codec:Quality
Image
2.5
5.0
7.5
Energy
Key Findings
• Decoding a PNG image consumes ~2 times as much
energy as for a JPG image
• ~6 times for encoding
• Energy consumption is strongly correlated to time
• Other factors affect the energy marginally
• The average power consumption variation among
algorithms is ~10%
Open Questions
• Can we identify algorithms that with a similar
computational complexity consume less power?
• What are the features in software that can affect
power consumption?

Weitere ähnliche Inhalte

Andere mochten auch

Encoding/Decoding Stuart Hall
Encoding/Decoding Stuart HallEncoding/Decoding Stuart Hall
Encoding/Decoding Stuart HallNic JM
 
Encoding decoding model
Encoding decoding modelEncoding decoding model
Encoding decoding modelHannahCostello
 
Encoding and Decoding
Encoding and DecodingEncoding and Decoding
Encoding and Decodingmrhaken
 
Stuart hall encoding decoding
Stuart hall encoding decodingStuart hall encoding decoding
Stuart hall encoding decodingEllie Fleming
 

Andere mochten auch (6)

Encoding/Decoding Stuart Hall
Encoding/Decoding Stuart HallEncoding/Decoding Stuart Hall
Encoding/Decoding Stuart Hall
 
Xdr ppt
Xdr pptXdr ppt
Xdr ppt
 
Encoding decoding model
Encoding decoding modelEncoding decoding model
Encoding decoding model
 
Encoding and Decoding
Encoding and DecodingEncoding and Decoding
Encoding and Decoding
 
Stuart hall encoding decoding
Stuart hall encoding decodingStuart hall encoding decoding
Stuart hall encoding decoding
 
Coding and Decoding
Coding and DecodingCoding and Decoding
Coding and Decoding
 

Mehr von Marco Torchiano

Testing the UI of Mobile Applications
Testing the UI of Mobile ApplicationsTesting the UI of Mobile Applications
Testing the UI of Mobile ApplicationsMarco Torchiano
 
Software Engineering II Course at Politecnico di Torino
Software Engineering II Course at Politecnico di TorinoSoftware Engineering II Course at Politecnico di Torino
Software Engineering II Course at Politecnico di TorinoMarco Torchiano
 
Espresso vs. EyeAutomate: comparing two generations of Android GUI testing tools
Espresso vs. EyeAutomate: comparing two generations of Android GUI testing toolsEspresso vs. EyeAutomate: comparing two generations of Android GUI testing tools
Espresso vs. EyeAutomate: comparing two generations of Android GUI testing toolsMarco Torchiano
 
Research Activities: past, present, and future.
Research Activities: past, present, and future.Research Activities: past, present, and future.
Research Activities: past, present, and future.Marco Torchiano
 
Data Quality - Standards e Applicazioni
Data Quality - Standards e ApplicazioniData Quality - Standards e Applicazioni
Data Quality - Standards e ApplicazioniMarco Torchiano
 
Data Quality - Standards and Application to Open Data
Data Quality - Standards and Application to Open DataData Quality - Standards and Application to Open Data
Data Quality - Standards and Application to Open DataMarco Torchiano
 
Riflessioni su Riforma Costituzionale "Renzi-Boschi"
Riflessioni su Riforma Costituzionale "Renzi-Boschi"Riflessioni su Riforma Costituzionale "Renzi-Boschi"
Riflessioni su Riforma Costituzionale "Renzi-Boschi"Marco Torchiano
 
Relevance, Benefits, and Barriers of Software Modelling and Model Driven Tech...
Relevance, Benefits, and Barriers of Software Modelling and Model Driven Tech...Relevance, Benefits, and Barriers of Software Modelling and Model Driven Tech...
Relevance, Benefits, and Barriers of Software Modelling and Model Driven Tech...Marco Torchiano
 
Relevance, Benefits, and Problems of Software Modelling and Model-Driven Tech...
Relevance, Benefits, and Problems of Software Modelling and Model-Driven Tech...Relevance, Benefits, and Problems of Software Modelling and Model-Driven Tech...
Relevance, Benefits, and Problems of Software Modelling and Model-Driven Tech...Marco Torchiano
 
A Model-Based Approach to Language Integration
A Model-Based Approach to Language Integration A Model-Based Approach to Language Integration
A Model-Based Approach to Language Integration Marco Torchiano
 
On the computation of Truck Factor
On the computation of Truck FactorOn the computation of Truck Factor
On the computation of Truck FactorMarco Torchiano
 
Language Interaction and Quality Issues: An Exploratory Study
Language Interaction and Quality Issues: An Exploratory StudyLanguage Interaction and Quality Issues: An Exploratory Study
Language Interaction and Quality Issues: An Exploratory StudyMarco Torchiano
 
The impact of process maturity on defect density
The impact of process maturity on defect densityThe impact of process maturity on defect density
The impact of process maturity on defect densityMarco Torchiano
 

Mehr von Marco Torchiano (14)

Testing the UI of Mobile Applications
Testing the UI of Mobile ApplicationsTesting the UI of Mobile Applications
Testing the UI of Mobile Applications
 
Software Engineering II Course at Politecnico di Torino
Software Engineering II Course at Politecnico di TorinoSoftware Engineering II Course at Politecnico di Torino
Software Engineering II Course at Politecnico di Torino
 
Espresso vs. EyeAutomate: comparing two generations of Android GUI testing tools
Espresso vs. EyeAutomate: comparing two generations of Android GUI testing toolsEspresso vs. EyeAutomate: comparing two generations of Android GUI testing tools
Espresso vs. EyeAutomate: comparing two generations of Android GUI testing tools
 
Research Activities: past, present, and future.
Research Activities: past, present, and future.Research Activities: past, present, and future.
Research Activities: past, present, and future.
 
Data Quality - Standards e Applicazioni
Data Quality - Standards e ApplicazioniData Quality - Standards e Applicazioni
Data Quality - Standards e Applicazioni
 
Data Quality - Standards and Application to Open Data
Data Quality - Standards and Application to Open DataData Quality - Standards and Application to Open Data
Data Quality - Standards and Application to Open Data
 
Data Visualization
Data VisualizationData Visualization
Data Visualization
 
Riflessioni su Riforma Costituzionale "Renzi-Boschi"
Riflessioni su Riforma Costituzionale "Renzi-Boschi"Riflessioni su Riforma Costituzionale "Renzi-Boschi"
Riflessioni su Riforma Costituzionale "Renzi-Boschi"
 
Relevance, Benefits, and Barriers of Software Modelling and Model Driven Tech...
Relevance, Benefits, and Barriers of Software Modelling and Model Driven Tech...Relevance, Benefits, and Barriers of Software Modelling and Model Driven Tech...
Relevance, Benefits, and Barriers of Software Modelling and Model Driven Tech...
 
Relevance, Benefits, and Problems of Software Modelling and Model-Driven Tech...
Relevance, Benefits, and Problems of Software Modelling and Model-Driven Tech...Relevance, Benefits, and Problems of Software Modelling and Model-Driven Tech...
Relevance, Benefits, and Problems of Software Modelling and Model-Driven Tech...
 
A Model-Based Approach to Language Integration
A Model-Based Approach to Language Integration A Model-Based Approach to Language Integration
A Model-Based Approach to Language Integration
 
On the computation of Truck Factor
On the computation of Truck FactorOn the computation of Truck Factor
On the computation of Truck Factor
 
Language Interaction and Quality Issues: An Exploratory Study
Language Interaction and Quality Issues: An Exploratory StudyLanguage Interaction and Quality Issues: An Exploratory Study
Language Interaction and Quality Issues: An Exploratory Study
 
The impact of process maturity on defect density
The impact of process maturity on defect densityThe impact of process maturity on defect density
The impact of process maturity on defect density
 

Kürzlich hochgeladen

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 

Kürzlich hochgeladen (20)

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Energy Consumption Analysis
 of Image Encoding and Decoding Algorithms

  • 1. Energy Consumption Analysis
 of Image Encoding and Decoding Algorithms Mohammad Rashid, Luca Ardito, and Marco Torchiano GREENS 2015
  • 2. Motivation Energy consumption represents an important issue with limited and embedded devices
  • 3. On all connected devices IIIIIIIIII I::::::::I I::::::::I II::::::II I::::I mmmmmmm mmmmmmm aaaaaaaaaaaaa ggggggggg ggggg eeeeeeeeeeee ssssssssss aaaaaaaaaaaaa rrrrr rrrrrrrrr eeeeeeeeeeee I::::I mm:::::::m m:::::::mm a::::::::::::a g:::::::::ggg::::g ee::::::::::::ee ss::::::::::s a::::::::::::a r::::rrr:::::::::r ee::::::::::::ee I::::I m::::::::::mm::::::::::m aaaaaaaaa:::::a g:::::::::::::::::g e::::::eeeee:::::eess:::::::::::::s aaaaaaaaa:::::ar:::::::::::::::::r e::::::eeeee:::::ee I::::I m::::::::::::::::::::::m a::::ag::::::ggggg::::::gge::::::e e:::::es::::::ssss:::::s a::::arr::::::rrrrr::::::re::::::e e:::::e I::::I m:::::mmm::::::mmm:::::m aaaaaaa:::::ag:::::g g:::::g e:::::::eeeee::::::e s:::::s ssssss aaaaaaa:::::a r:::::r r:::::re:::::::eeeee::::::e I::::I m::::m m::::m m::::m aa::::::::::::ag:::::g g:::::g e:::::::::::::::::e s::::::s aa::::::::::::a r:::::r rrrrrrre:::::::::::::::::e I::::I m::::m m::::m m::::m a::::aaaa::::::ag:::::g g:::::g e::::::eeeeeeeeeee s::::::s a::::aaaa::::::a r:::::r e::::::eeeeeeeeeee I::::I m::::m m::::m m::::ma::::a a:::::ag::::::g g:::::g e:::::::e ssssss s:::::s a::::a a:::::a r:::::r e:::::::e II::::::IIm::::m m::::m m::::ma::::a a:::::ag:::::::ggggg:::::g e::::::::e s:::::ssss::::::s a::::a a:::::a r:::::r e::::::::e I::::::::Im::::m m::::m m::::ma:::::aaaa::::::a g::::::::::::::::g e::::::::eeeeeeee s::::::::::::::s a:::::aaaa::::::a r:::::r e::::::::eeeeeeee I::::::::Im::::m m::::m m::::m a::::::::::aa:::a gg::::::::::::::g ee:::::::::::::e s:::::::::::ss a::::::::::aa:::ar:::::r ee:::::::::::::e IIIIIIIIIImmmmmm mmmmmm mmmmmm aaaaaaaaaa aaaa gggggggg::::::g eeeeeeeeeeeeee sssssssssss aaaaaaaaaa aaaarrrrrrr eeeeeeeeeeeeee g:::::g gggggg g:::::g g:::::gg gg:::::g g::::::ggg:::::::g gg:::::::::::::g ggg::::::ggg gggggg bbbbbbbb b::::::b iiii iiii tttt b::::::b i::::i i::::i ttt:::t b::::::b iiii iiii t:::::t b:::::b t:::::t uuuuuu uuuuuu b:::::bbbbbbbbb iiiiiii qqqqqqqqq qqqqquuuuuu uuuuuu iiiiiiittttttt:::::ttttttt ooooooooooo uuuuuu uuuuuu ssssssssss u::::u u::::u b::::::::::::::bb i:::::i q:::::::::qqq::::qu::::u u::::u i:::::it:::::::::::::::::t oo:::::::::::oo u::::u u::::u ss::::::::::s u::::u u::::u b::::::::::::::::b i::::i q:::::::::::::::::qu::::u u::::u i::::it:::::::::::::::::t o:::::::::::::::ou::::u u::::u ss:::::::::::::s u::::u u::::u b:::::bbbbb:::::::b i::::i q::::::qqqqq::::::qqu::::u u::::u i::::itttttt:::::::tttttt o:::::ooooo:::::ou::::u u::::u s::::::ssss:::::s u::::u u::::u b:::::b b::::::b i::::i q:::::q q:::::q u::::u u::::u i::::i t:::::t o::::o o::::ou::::u u::::u s:::::s ssssss u::::u u::::u b:::::b b:::::b i::::i q:::::q q:::::q u::::u u::::u i::::i t:::::t o::::o o::::ou::::u u::::u s::::::s u::::u u::::u b:::::b b:::::b i::::i q:::::q q:::::q u::::u u::::u i::::i t:::::t o::::o o::::ou::::u u::::u s::::::s u:::::uuuu:::::u b:::::b b:::::b i::::i q::::::q q:::::q u:::::uuuu:::::u i::::i t:::::t tttttto::::o o::::ou:::::uuuu:::::u ssssss s:::::s u:::::::::::::::uub:::::bbbbbb::::::bi::::::iq:::::::qqqqq:::::q u:::::::::::::::uui::::::i t::::::tttt:::::to:::::ooooo:::::ou:::::::::::::::uus:::::ssss::::::s u:::::::::::::::ub::::::::::::::::b i::::::i q::::::::::::::::q u:::::::::::::::ui::::::i tt::::::::::::::to:::::::::::::::o u:::::::::::::::us::::::::::::::s uu::::::::uu:::ub:::::::::::::::b i::::::i qq::::::::::::::q uu::::::::uu:::ui::::::i tt:::::::::::tt oo:::::::::::oo uu::::::::uu:::u s:::::::::::ss uuuuuuuu uuuubbbbbbbbbbbbbbbb iiiiiiii qqqqqqqq::::::q uuuuuuuu uuuuiiiiiiii ttttttttttt ooooooooooo uuuuuuuu uuuu sssssssssss q:::::q q:::::q q:::::::q q:::::::q q:::::::q qqqqqqqqq
  • 4. Plan Object: image codec algorithms Purpose: assessing differences Focus: energy consumption Context: Raspberry PI
  • 5. Research Questions • RQ1: Do different codecs consume different amounts of energy for encoding/decoding images? • Metric: total energy • RQ2: How closely are energy consumption and computational performance correlated? • Metrics: Enegy vs. time, and Power

  • 7. CodecsPNG JPG, q:10 JPG, q:80JPG, q:40
  • 9. Instrumentation Raspberry Pi + USB Tester OLED Backpack 2.0
  • 10. RQ1: codec consumption Task ☞ DECODING ENCODING CODEC☟ Energy Time Energy Time PNG 1.78 9.6 6.16 39.0 JPEG, Q:10 0.94 4.5 1.05 7.6 JPEG, Q:40 0.76 3.4 0.84 2.7 JPEG, Q:80 0.68 2.9 0.78 2.7 Average values over the three images, values for five repetitions of the task
  • 11. Consumption == 70k PNG decode 130k JPG:10 decode 160k JPG:40 decode 180k JPG:80 decode { or or or (c) iFixIt - Walter Galan
  • 12. RQ2: Energy and complexity 0.0 2.5 5.0 7.5 10.0 0 20 40 Time [s] Energy[s] Process Decode Encode E = P · t
  • 13. Mean Power vs. Total Energy A B C A B C DecodeEncode jpg:Q80 jpg:Q40 jpg:Q10 png:LL Codec:Quality Image 0.15 0.17 0.20 0.23 Power A B C A B C DecodeEncode jpg:Q80 jpg:Q40 jpg:Q10 png:LL Codec:Quality Image 2.5 5.0 7.5 Energy
  • 14. Key Findings • Decoding a PNG image consumes ~2 times as much energy as for a JPG image • ~6 times for encoding • Energy consumption is strongly correlated to time • Other factors affect the energy marginally • The average power consumption variation among algorithms is ~10%
  • 15.
  • 16. Open Questions • Can we identify algorithms that with a similar computational complexity consume less power? • What are the features in software that can affect power consumption?