Energy Consumption Analysis
 of Image Encoding and Decoding Algorithms

Marco Torchiano
Marco TorchianoAssociate Professor
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%
Energy Consumption Analysis
 of Image Encoding and Decoding Algorithms
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?
1 of 16

Recommended

People museum by
People museumPeople museum
People museumbgandy94
89 views5 slides
Presentation about myself by
Presentation about myselfPresentation about myself
Presentation about myselfKrysiabig
102K views16 slides
Proposal by
ProposalProposal
ProposalZainJanjuaLSC
109 views1 slide
CNN Sept 6 Thousands of Rohingya Trapped in Myanmar Mountains; President Trum... by
CNN Sept 6 Thousands of Rohingya Trapped in Myanmar Mountains; President Trum...CNN Sept 6 Thousands of Rohingya Trapped in Myanmar Mountains; President Trum...
CNN Sept 6 Thousands of Rohingya Trapped in Myanmar Mountains; President Trum...Alicia Garcia
182 views3 slides
Enterprise sports cover by
Enterprise sports coverEnterprise sports cover
Enterprise sports coverKen Lechtanski
104 views1 slide
Intel µp instruction encoding and decoding by
Intel µp instruction encoding and decodingIntel µp instruction encoding and decoding
Intel µp instruction encoding and decodingyocirem
3.4K views16 slides

More Related Content

Viewers also liked

Encoding/Decoding Stuart Hall by
Encoding/Decoding Stuart HallEncoding/Decoding Stuart Hall
Encoding/Decoding Stuart HallNic JM
106.8K views5 slides
Xdr ppt by
Xdr pptXdr ppt
Xdr pptNidhi Thakkar
1.2K views32 slides
Encoding decoding model by
Encoding decoding modelEncoding decoding model
Encoding decoding modelHannahCostello
7.9K views4 slides
Encoding and Decoding by
Encoding and DecodingEncoding and Decoding
Encoding and Decodingmrhaken
11K views18 slides
Stuart hall encoding decoding by
Stuart hall encoding decodingStuart hall encoding decoding
Stuart hall encoding decodingEllie Fleming
9.5K views6 slides
Coding and Decoding by
Coding and DecodingCoding and Decoding
Coding and DecodingSudiksha Joshi
14.3K views20 slides

Viewers also liked(6)

Encoding/Decoding Stuart Hall by Nic JM
Encoding/Decoding Stuart HallEncoding/Decoding Stuart Hall
Encoding/Decoding Stuart Hall
Nic JM106.8K views
Encoding and Decoding by mrhaken
Encoding and DecodingEncoding and Decoding
Encoding and Decoding
mrhaken11K views
Stuart hall encoding decoding by Ellie Fleming
Stuart hall encoding decodingStuart hall encoding decoding
Stuart hall encoding decoding
Ellie Fleming9.5K views

More from Marco Torchiano

Testing the UI of Mobile Applications by
Testing the UI of Mobile ApplicationsTesting the UI of Mobile Applications
Testing the UI of Mobile ApplicationsMarco Torchiano
337 views118 slides
Software Engineering II Course at Politecnico di Torino by
Software Engineering II Course at Politecnico di TorinoSoftware Engineering II Course at Politecnico di Torino
Software Engineering II Course at Politecnico di TorinoMarco Torchiano
187 views14 slides
Espresso vs. EyeAutomate: comparing two generations of Android GUI testing tools by
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
240 views30 slides
Research Activities: past, present, and future. by
Research Activities: past, present, and future.Research Activities: past, present, and future.
Research Activities: past, present, and future.Marco Torchiano
185 views21 slides
Data Quality - Standards e Applicazioni by
Data Quality - Standards e ApplicazioniData Quality - Standards e Applicazioni
Data Quality - Standards e ApplicazioniMarco Torchiano
626 views32 slides
Data Quality - Standards and Application to Open Data by
Data Quality - Standards and Application to Open DataData Quality - Standards and Application to Open Data
Data Quality - Standards and Application to Open DataMarco Torchiano
845 views62 slides

More from Marco Torchiano(14)

Testing the UI of Mobile Applications by Marco Torchiano
Testing the UI of Mobile ApplicationsTesting the UI of Mobile Applications
Testing the UI of Mobile Applications
Marco Torchiano337 views
Software Engineering II Course at Politecnico di Torino by Marco Torchiano
Software Engineering II Course at Politecnico di TorinoSoftware Engineering II Course at Politecnico di Torino
Software Engineering II Course at Politecnico di Torino
Marco Torchiano187 views
Espresso vs. EyeAutomate: comparing two generations of Android GUI testing tools by Marco Torchiano
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
Marco Torchiano240 views
Research Activities: past, present, and future. by Marco Torchiano
Research Activities: past, present, and future.Research Activities: past, present, and future.
Research Activities: past, present, and future.
Marco Torchiano185 views
Data Quality - Standards e Applicazioni by Marco Torchiano
Data Quality - Standards e ApplicazioniData Quality - Standards e Applicazioni
Data Quality - Standards e Applicazioni
Marco Torchiano626 views
Data Quality - Standards and Application to Open Data by Marco Torchiano
Data Quality - Standards and Application to Open DataData Quality - Standards and Application to Open Data
Data Quality - Standards and Application to Open Data
Marco Torchiano845 views
Riflessioni su Riforma Costituzionale "Renzi-Boschi" by Marco Torchiano
Riflessioni su Riforma Costituzionale "Renzi-Boschi"Riflessioni su Riforma Costituzionale "Renzi-Boschi"
Riflessioni su Riforma Costituzionale "Renzi-Boschi"
Marco Torchiano205 views
Relevance, Benefits, and Barriers of Software Modelling and Model Driven Tech... by 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...
Marco Torchiano392 views
Relevance, Benefits, and Problems of Software Modelling and Model-Driven Tech... by 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...
Marco Torchiano611 views
A Model-Based Approach to Language Integration by Marco Torchiano
A Model-Based Approach to Language Integration A Model-Based Approach to Language Integration
A Model-Based Approach to Language Integration
Marco Torchiano532 views
On the computation of Truck Factor by Marco Torchiano
On the computation of Truck FactorOn the computation of Truck Factor
On the computation of Truck Factor
Marco Torchiano444 views
Language Interaction and Quality Issues: An Exploratory Study by Marco Torchiano
Language Interaction and Quality Issues: An Exploratory StudyLanguage Interaction and Quality Issues: An Exploratory Study
Language Interaction and Quality Issues: An Exploratory Study
Marco Torchiano928 views
The impact of process maturity on defect density by Marco Torchiano
The impact of process maturity on defect densityThe impact of process maturity on defect density
The impact of process maturity on defect density
Marco Torchiano1.3K views

Recently uploaded

Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... by
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Moses Kemibaro
38 views38 slides
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」 by
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」PC Cluster Consortium
29 views68 slides
Transcript: Redefining the book supply chain: A glimpse into the future - Tec... by
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...BookNet Canada
43 views16 slides
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...ShapeBlue
209 views20 slides
The Power of Heat Decarbonisation Plans in the Built Environment by
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built EnvironmentIES VE
85 views20 slides
CryptoBotsAI by
CryptoBotsAICryptoBotsAI
CryptoBotsAIchandureddyvadala199
42 views5 slides

Recently uploaded(20)

Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... by Moses Kemibaro
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Moses Kemibaro38 views
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」 by PC Cluster Consortium
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
Transcript: Redefining the book supply chain: A glimpse into the future - Tec... by BookNet Canada
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
BookNet Canada43 views
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue209 views
The Power of Heat Decarbonisation Plans in the Built Environment by IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE85 views
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell by Fwdays
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell
Fwdays14 views
GDSC GLAU Info Session.pptx by gauriverrma4
GDSC GLAU Info Session.pptxGDSC GLAU Info Session.pptx
GDSC GLAU Info Session.pptx
gauriverrma415 views
"Running students' code in isolation. The hard way", Yurii Holiuk by Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays38 views
AI + Memoori = AIM by Memoori
AI + Memoori = AIMAI + Memoori = AIM
AI + Memoori = AIM
Memoori15 views
The Coming AI Tsunami.pptx by johnhandby
The Coming AI Tsunami.pptxThe Coming AI Tsunami.pptx
The Coming AI Tsunami.pptx
johnhandby14 views
Initiating and Advancing Your Strategic GIS Governance Strategy by Safe Software
Initiating and Advancing Your Strategic GIS Governance StrategyInitiating and Advancing Your Strategic GIS Governance Strategy
Initiating and Advancing Your Strategic GIS Governance Strategy
Safe Software198 views
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」 by PC Cluster Consortium
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」
What is Authentication Active Directory_.pptx by HeenaMehta35
What is Authentication Active Directory_.pptxWhat is Authentication Active Directory_.pptx
What is Authentication Active Directory_.pptx
HeenaMehta3515 views
Future of AR - Facebook Presentation by Rob McCarty
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
Rob McCarty66 views
AIM102-S_Cognizant_CognizantCognitive by PhilipBasford
AIM102-S_Cognizant_CognizantCognitiveAIM102-S_Cognizant_CognizantCognitive
AIM102-S_Cognizant_CognizantCognitive
PhilipBasford23 views

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%
  • 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?