The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I...

41
The It and the Self Challenges and Opportunities in CPS Axel Jantsch TU Wien, Vienna, Austria Cyber Physical Systems Summer School 2015

Transcript of The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I...

Page 1: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

The It and the SelfChallenges and Opportunities in CPS

Axel Jantsch

TU Wien, Vienna, Austria

Cyber Physical Systems Summer School 2015

Page 2: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

Why are Selfies Popular?

I People are keenly aware of their own situation

I They are aware how they are perceived by others

I They want to project a specific self-image to others

I In Nature Self-Awareness is functional

Page 3: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

Trends

I Many new technologies underdevelopment

I Heterogeneity and Specialization

I Integration with the physical world

Page 4: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

3D Stacking

Micron 2014: 4 GB package, 4 dies stacked in a 31× 31mm2

package

Page 5: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

Emerging Technologies

I 3D Stacking

I 3D Transistors

I Phase Change RAM

I Spin Torque TransferRAM

I Memristor

I Hybrid MemoryArchitectures

I Carbon Nano Tubes

I Organic Electronics

I Functional Materials

I ...

Page 6: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors
Page 7: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

Non-Invasive Monitoring

Source: MIT Media Lab

Page 8: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

620B

630BI All things contain silicon; The SoC is the atom of IoT.

I Many different things; heterogeneity prevails.

I Once deployed, they must work.

Source: Cisco

Page 9: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

How can we make the Things workin the presence of

I Aging effects ?I Increasing probability of faults and failures ?I Impossibility of thorough validation and test ?I Impossibility of maintenance ?I Partially unknown environments ?I Changing environments ?I Changing expectations ?

There are endless possibilities, but who will design, operate,and maintain those Things?

Page 10: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

We should make the Things smarter !

Self−Optimization

Self−Healing

Self−Protecting

Context AwarenessSelf−Awareness

Self−Configuration

Self−Adaptiveness

The hierarchy of self-* properties in autonomic computing.

Page 11: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

What is Self-Awareness ?

I Is it fault-tolerance? No

I Is it adaptation? No

I Is it self-monitoring? No

Page 12: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

Self-Awareness - A Working Definition

Self-awareness of a system is the capability to cor-rectly assess the system’s own behavior and perfor-mance (self-monitoring or self-awareness in a narrowsense),

the environmental context and events(situation awareness),

and to focus the system’s activities and resources(attention);

all that with proper regard to givengoals and expectations.

Page 13: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

Example Approaches

I HAMSoC: Hierarchical Agent Monitored Systems on Chip

I SEEC: A Framework for Self-Aware Computing

I CPSoC: A Sensor-rich SoC Platform

Page 14: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

HAMSoC - A Hierarchical Agent Monitored System onChip

I Self-monitoring design platform for multi-core SoCsI Three levels of agents: cell, cluster, platformI Dedicated design layer for self-awareness and adaptivityI Application: Power management in NoC based multi-core

SoC

Liang Guang, Ethiopia Nigussie, Pekka Rantala, Jouni Isoaho, andHannu Tenhunen. “Hierarchical agent monitoring design approach towardsself-aware parallel systems-on-chip”. In: ACM Trans. Embed. Comput. Syst.9.3 (2010), pp. 1–24Liang Guang. “Hierarchical Agent-based Adaptation for Self-AwareEmbedded Computing Systems”. PhD thesis. Turku, Finland: University ofTurku, 2012

Page 15: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

HAMSoC - A Hierarchical Agent Monitored SoC

Page 16: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

HAMSoC - A Hierarchical Agent Monitored SoC

Page 17: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

HAMSoC - A Hierarchical Agent Monitored SoC

Page 18: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

HAMSoC - A Hierarchical Agent Monitored SoC

Page 19: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

HAMSoC - A Hierarchical Agent Monitored SoC

Page 20: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

HAMSoC - A Hierarchical Agent Monitored SoC

Page 21: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

HAMSoC - A Hierarchical Agent Monitored SoC

Page 22: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

HAMSoC - A Hierarchical Agent Monitored SoC

Page 23: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

I The applications specify goalsI The platform provides possible actionsI SEEC monitors the application and decides upon actionsI Observe - Decide - Act based control loop

Henry Hoffmann, Martina Maggio, Marco D Santambrogio, Alberto Leva, andAnant Agarwal. Seec: A framework for self-aware computing. Tech. rep.MIT-CSAIL-TR-2010-049. Cambrige, Massachusetts: MIT, Oct. 2010

Page 24: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

Page 25: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

x264 encoder with 30 frames/sec performance goal.

Page 26: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

Roles in the SEEC development framework.

Page 27: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

Page 28: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

Application examples

Page 29: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

Frequency scaling for the swaptions application (PARSECbenchmark)

Page 30: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

Core allocator for swaptions

Page 31: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

Power manager (DRAM controllers, number of cores,frequency) for swaptions

Page 32: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

Memory allocator for STREAM (PARSEC benchmark)

Page 33: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

SEEC - A Framework for Self-Aware Computing

Adaptive video encoder

Page 34: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

CPSoC - A Sensor Rich SoC Platform

I Sensors and actuators at five layers:I Device/ circuit architectureI Hardware architectureI Network/Bus communication architectureI Operating systemI Application

I Observe-decide-act paradigmI Codesign of control, communication and computing

Santanu Sarma, Nikil Dutt, N. Venkatasubramaniana, A. Nicolau, andP. Gupta. CyberPhysical-System-On-Chip (CPSoC): Sensor-Actuator RichSelf-Aware Computational Platform. Tech. rep. CECS Technical Report No:CECS TR–13–06. Irvine, CA 92697-2620, USA: Center for EmbeddedComputer Systems University of California, Irvine, May 2013

Page 35: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

CPSoC - A Sensor Rich SoC Platform

Page 36: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

CPSoC - A Sensor Rich SoC Platform

Page 37: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

CPSoC - A Sensor Rich SoC Platform

Page 38: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

CPSoC - A Sensor Rich SoC Platform

Virtual sensing reduces the area overhead for 1000 sensorsfrom 7.3% to 0.6%.

Page 39: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

CPSoC - A Sensor Rich SoC Platform

Virtual sensing reduces the power overhead for 1000 sensorsfrom 1.7% to 0.3%.

Page 40: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

CPSoC - A Sensor Rich SoC Platform

Page 41: The It and the Self - Välkommen till KTH | KTH · SEEC - A Framework for Self-Aware Computing I The applications specify goals I The platform provides possible actions I SEEC monitors

Are these systems aware ?