SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
Energy Awareness : The Next Step
Carlos Lloret (I/OnDroiD)
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Next Step
● Who we are
● Where do we come from?
● Where are we at?
● Where do we want to be?
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Past
On October 2007 the Completely Fair Scheduler by Ingo
Molnár was released (2.6.23).
The main goals of CFS were :
● To maximize overall CPU utilization and interactive
performance.
● To balance runnable tasks across available resources
(cores) and minimize the idling of cores.
At the time, CFS had no notion of energy cost.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Past
On October 2008 the HTC Dream with a 528 MHz
Qualcomm MSM7201A (ARM11) processor running Android
1.6* was released.
● The Scheduler had only one core/queue to manage.
On February 2011 the Samsung Galaxy S2 with a 1.2 GHz
dual core Exynos (ARM Cortex A9) processor running
Android 2.3 was released.
● The scheduler had to balance runnable tasks across two
identical cores.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Past
On April 2013 the Samsung Galaxy S4 with an Exynos 5
Octa 5410 CPU – Quad-core 1.6 GHz Cortex-A15 & quad-
core 1.2 GHz Cortex A7 – running Android 4.2.2 was
introduced.
● The scheduler could only see one (big.LITTLE) cluster at a
time depending on the load.
IKS was a further improvement of Cluster Migration where
each pair of a 'Big' & 'Little' core (virtual core) was visible to
the scheduler.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Past
Heterogeneous multi-processing (HMP) was the latest
improvement to big.LITTLE where all cores are available to
the scheduler at the same time.
The asymmetric SMP design posed unique problems to the
scheduler :
● Still tried to balance runnable tasks across available
cores, without knowing the big.LITTLE performance
difference.
● Still didn’t know the energetic cost of it's decision.
This led to some performance issue and wasted energy.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Past
To further complicate matters, the scheduler, cpufreq,
cpuidle & hotplug decision centres were :
● Periodically running to gauge the (past) cpu utilization.
● Independently deciding the best course of action.
● Not taking into account the big picture (perf + power).
● Fighting over control of the platform.
● Not communicating among them.
● Not sharing a common strategy.
● Undoing each other’s work.
● Working in total isolation.
● Reactive in nature.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Present
In 2013 with the advent of aSMP SoCs there was a
reckoning to further improve the scheduler’s decision
making by :
● Fully integrating CPUFREQ & CPUIDLE into the scheduler
itself.
● Creating a new scale invariance load tracking (0…1024).
● Creating a new Power Model for the most energy efficient
decisions.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Present
The goals of EAS is to allow sophisticated load balancing
heuristics by :
● Tuning the scheduler to optimise for energy savings
without affecting performance.
● Correctly scheduling on big.LITTLE (aSMP) systems.
● Improving power management on SMP systems.
● Providing proper mechanisms for thermal management.
● Tightly integrating all important decision making centres
(CPUFREQ, CPUIDLE) into the scheduler.
● Making the scheduler aware of the idle state of the CPU.
● Revamp how the CPU capacity is handled by the
scheduler with a scale invariance load tracking.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Present
To come up with an EAS Power Model the engineer has to
select a random SoC and go through the painstaking
process of getting the data by hand in the lab.
This kind of handcrafted data poses the following problems:
● Creates a very simplistic & error prone Power Model
based on static measurement of a random SoC.
● Power Model does not adapt to the changing SoC
circumstances like frequency & temperature.
● Doesn’t take into account static power, idle discharge, L2
Cache among others.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Future
“Accurate Real Time Information is POWER”
We need to start building a new generation of self aware
systems that automagically adapt to the unique
characteristics of the platform they're running on without
any kind of maintenance or “magic knob” tuning from
engineering or users.
Furthermore we need to take away the complexity of
creating a proper Power Model so it can be useful to the
EAS subsystem.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Future
The AURORA Chip (Phase #1)
The AURORA chip is a hardware tailored component that
monitors & reports the power readings of all key SoC
systems to it’s kernel part that in turn will feed EAS with the
most accurate Power Model in real time.
This uniquely adapted & accurate Power Model will take
away the complexity and enable EAS to make the most
adequate energy wise decisions without compromising
performance.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Future
Key benefits of the AURORA Chip (Phase #1) :
● The most accurate Power Model precisely adapted to the
specifics of the platform it is running on.
● Factors in key Power Model data such as L2 Cache
(freq/temp), per Core Frequency/Temperature/Voltage
combination and Static Power (C-states & Idle).
● Adapts to the unique characteristics of every single SoC
that comes out of the FAB.
● Takes away all the manual & intensive engineering lab
labour of coming up with a (generic) Power Model.
ENGINEERS
AND DEVICES
WORKING
TOGETHER
Energy Awareness :: The Future
The AURORA Chip (Phase #2) :
The next iteration of the AURORA Chip will take on a more
prominent role by offloading some of the calculations that
the scheduler has to periodically do among other things.
This in turn would usher in a new way of computing where
all the strenuous demands will be met in the most advanced
independent and self optimizing way possible.
Thank You
Carlos Lloret
[carlos.lloret@iondroid.com | @CeKMTL]
#BUD17
For further information: www.linaro.org
BUD17 keynotes and videos on: connect.linaro.org

Weitere ähnliche Inhalte

Mehr von Linaro

It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...
It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...
It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...Linaro
 
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...Linaro
 
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...Linaro
 
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...Linaro
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineLinaro
 
HKG18-100K1 - George Grey: Opening Keynote
HKG18-100K1 - George Grey: Opening KeynoteHKG18-100K1 - George Grey: Opening Keynote
HKG18-100K1 - George Grey: Opening KeynoteLinaro
 
HKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP WorkshopHKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP WorkshopLinaro
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineLinaro
 
HKG18-315 - Why the ecosystem is a wonderful thing, warts and all
HKG18-315 - Why the ecosystem is a wonderful thing, warts and allHKG18-315 - Why the ecosystem is a wonderful thing, warts and all
HKG18-315 - Why the ecosystem is a wonderful thing, warts and allLinaro
 
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse HypervisorHKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse HypervisorLinaro
 
HKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMUHKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMULinaro
 
HKG18-113- Secure Data Path work with i.MX8M
HKG18-113- Secure Data Path work with i.MX8MHKG18-113- Secure Data Path work with i.MX8M
HKG18-113- Secure Data Path work with i.MX8MLinaro
 
HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation Linaro
 
HKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted bootHKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted bootLinaro
 
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...Linaro
 
HKG18-317 - Arm Server Ready Program
HKG18-317 - Arm Server Ready ProgramHKG18-317 - Arm Server Ready Program
HKG18-317 - Arm Server Ready ProgramLinaro
 
HKG18-312 - CMSIS-NN
HKG18-312 - CMSIS-NNHKG18-312 - CMSIS-NN
HKG18-312 - CMSIS-NNLinaro
 
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...Linaro
 
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...Linaro
 
HKG18-212 - Trusted Firmware M: Introduction
HKG18-212 - Trusted Firmware M: IntroductionHKG18-212 - Trusted Firmware M: Introduction
HKG18-212 - Trusted Firmware M: IntroductionLinaro
 

Mehr von Linaro (20)

It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...
It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...
It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...
 
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
 
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
 
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
 
HKG18-100K1 - George Grey: Opening Keynote
HKG18-100K1 - George Grey: Opening KeynoteHKG18-100K1 - George Grey: Opening Keynote
HKG18-100K1 - George Grey: Opening Keynote
 
HKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP WorkshopHKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP Workshop
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
 
HKG18-315 - Why the ecosystem is a wonderful thing, warts and all
HKG18-315 - Why the ecosystem is a wonderful thing, warts and allHKG18-315 - Why the ecosystem is a wonderful thing, warts and all
HKG18-315 - Why the ecosystem is a wonderful thing, warts and all
 
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse HypervisorHKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
 
HKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMUHKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMU
 
HKG18-113- Secure Data Path work with i.MX8M
HKG18-113- Secure Data Path work with i.MX8MHKG18-113- Secure Data Path work with i.MX8M
HKG18-113- Secure Data Path work with i.MX8M
 
HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation
 
HKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted bootHKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted boot
 
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
 
HKG18-317 - Arm Server Ready Program
HKG18-317 - Arm Server Ready ProgramHKG18-317 - Arm Server Ready Program
HKG18-317 - Arm Server Ready Program
 
HKG18-312 - CMSIS-NN
HKG18-312 - CMSIS-NNHKG18-312 - CMSIS-NN
HKG18-312 - CMSIS-NN
 
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
HKG18-301 - Dramatically Accelerate 96Board Software via an FPGA with Integra...
 
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
HKG18-300K2 - Keynote: Tomas Evensen - All Programmable SoCs? – Platforms to ...
 
HKG18-212 - Trusted Firmware M: Introduction
HKG18-212 - Trusted Firmware M: IntroductionHKG18-212 - Trusted Firmware M: Introduction
HKG18-212 - Trusted Firmware M: Introduction
 

Kürzlich hochgeladen

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Kürzlich hochgeladen (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

BUD17-222: Energy Awareness: The Next Step

  • 1. Energy Awareness : The Next Step Carlos Lloret (I/OnDroiD)
  • 2. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Next Step ● Who we are ● Where do we come from? ● Where are we at? ● Where do we want to be?
  • 3. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Past On October 2007 the Completely Fair Scheduler by Ingo Molnár was released (2.6.23). The main goals of CFS were : ● To maximize overall CPU utilization and interactive performance. ● To balance runnable tasks across available resources (cores) and minimize the idling of cores. At the time, CFS had no notion of energy cost.
  • 4. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Past On October 2008 the HTC Dream with a 528 MHz Qualcomm MSM7201A (ARM11) processor running Android 1.6* was released. ● The Scheduler had only one core/queue to manage. On February 2011 the Samsung Galaxy S2 with a 1.2 GHz dual core Exynos (ARM Cortex A9) processor running Android 2.3 was released. ● The scheduler had to balance runnable tasks across two identical cores.
  • 5. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Past On April 2013 the Samsung Galaxy S4 with an Exynos 5 Octa 5410 CPU – Quad-core 1.6 GHz Cortex-A15 & quad- core 1.2 GHz Cortex A7 – running Android 4.2.2 was introduced. ● The scheduler could only see one (big.LITTLE) cluster at a time depending on the load. IKS was a further improvement of Cluster Migration where each pair of a 'Big' & 'Little' core (virtual core) was visible to the scheduler.
  • 6. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Past Heterogeneous multi-processing (HMP) was the latest improvement to big.LITTLE where all cores are available to the scheduler at the same time. The asymmetric SMP design posed unique problems to the scheduler : ● Still tried to balance runnable tasks across available cores, without knowing the big.LITTLE performance difference. ● Still didn’t know the energetic cost of it's decision. This led to some performance issue and wasted energy.
  • 7. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Past To further complicate matters, the scheduler, cpufreq, cpuidle & hotplug decision centres were : ● Periodically running to gauge the (past) cpu utilization. ● Independently deciding the best course of action. ● Not taking into account the big picture (perf + power). ● Fighting over control of the platform. ● Not communicating among them. ● Not sharing a common strategy. ● Undoing each other’s work. ● Working in total isolation. ● Reactive in nature.
  • 8. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Present In 2013 with the advent of aSMP SoCs there was a reckoning to further improve the scheduler’s decision making by : ● Fully integrating CPUFREQ & CPUIDLE into the scheduler itself. ● Creating a new scale invariance load tracking (0…1024). ● Creating a new Power Model for the most energy efficient decisions.
  • 9. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Present The goals of EAS is to allow sophisticated load balancing heuristics by : ● Tuning the scheduler to optimise for energy savings without affecting performance. ● Correctly scheduling on big.LITTLE (aSMP) systems. ● Improving power management on SMP systems. ● Providing proper mechanisms for thermal management. ● Tightly integrating all important decision making centres (CPUFREQ, CPUIDLE) into the scheduler. ● Making the scheduler aware of the idle state of the CPU. ● Revamp how the CPU capacity is handled by the scheduler with a scale invariance load tracking.
  • 10. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Present To come up with an EAS Power Model the engineer has to select a random SoC and go through the painstaking process of getting the data by hand in the lab. This kind of handcrafted data poses the following problems: ● Creates a very simplistic & error prone Power Model based on static measurement of a random SoC. ● Power Model does not adapt to the changing SoC circumstances like frequency & temperature. ● Doesn’t take into account static power, idle discharge, L2 Cache among others.
  • 11. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Future “Accurate Real Time Information is POWER” We need to start building a new generation of self aware systems that automagically adapt to the unique characteristics of the platform they're running on without any kind of maintenance or “magic knob” tuning from engineering or users. Furthermore we need to take away the complexity of creating a proper Power Model so it can be useful to the EAS subsystem.
  • 12. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Future The AURORA Chip (Phase #1) The AURORA chip is a hardware tailored component that monitors & reports the power readings of all key SoC systems to it’s kernel part that in turn will feed EAS with the most accurate Power Model in real time. This uniquely adapted & accurate Power Model will take away the complexity and enable EAS to make the most adequate energy wise decisions without compromising performance.
  • 13. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Future Key benefits of the AURORA Chip (Phase #1) : ● The most accurate Power Model precisely adapted to the specifics of the platform it is running on. ● Factors in key Power Model data such as L2 Cache (freq/temp), per Core Frequency/Temperature/Voltage combination and Static Power (C-states & Idle). ● Adapts to the unique characteristics of every single SoC that comes out of the FAB. ● Takes away all the manual & intensive engineering lab labour of coming up with a (generic) Power Model.
  • 14. ENGINEERS AND DEVICES WORKING TOGETHER Energy Awareness :: The Future The AURORA Chip (Phase #2) : The next iteration of the AURORA Chip will take on a more prominent role by offloading some of the calculations that the scheduler has to periodically do among other things. This in turn would usher in a new way of computing where all the strenuous demands will be met in the most advanced independent and self optimizing way possible.
  • 15. Thank You Carlos Lloret [carlos.lloret@iondroid.com | @CeKMTL] #BUD17 For further information: www.linaro.org BUD17 keynotes and videos on: connect.linaro.org