Prioritized Access Arbitration to Shared Resources on Integrated Software Systems in Multicore Environments 14th December 2012, Liverpool Andreas Knirsch , Pierre Schnarz, Joachim Wietzke
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences In-Car Multimedia Systems Motivation M C SHARB I • standard equipment Summary • heterogeneous functionalities • influences from Consumer Electronics (CE) fbi Fachbereich Informatik Faculty of Computer Science icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 2
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences ICM provides bridge to "outside world" Motivation SHARB Summary infrastructure 3G LTE ICM Head Unit fieldbus ECU ECU ECU provide sensors fbi and actuators Fachbereich Informatik Faculty of Computer Science icm ECU=Electronic Control Unit In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 3
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Automotive Environment Motivation SHARB Summary reliability challenging maintenance harsh environment long lifetime fbi Fachbereich Informatik Faculty of Computer Science icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 4
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Parallel Development Motivation SHARB • division of labour follows system's Summary breakdown structure • many parties involved with different domain knowledge/background 9 companies 13 locations 235 developers fbi -> 20M loc Fachbereich Informatik Faculty of Computer Science -> 45 variants icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 5
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Heterogeneous Applications Motivation SHARB Summary Assist HMI Entertain Control air- navigation displays fm-tuner condition rear/side voice streaming seat view camera recognition media position breakdown input internet door lock help devices ... ... ... ... >500 parallel/async. tasks fbi 2-5 displays Fachbereich Informatik Faculty of Computer Science icm multi-user system In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 6
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences From Federated Systems to Integrated Execution Domains (ED) Motivation SHARB Summary navi. media phone ... fieldbus fbi Fachbereich Informatik Faculty of Computer Science icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 7
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences From Federated Systems to Integrated Execution Domains (ED) Motivation SHARB Execution Summary Domains media navi. phone ... e u r t u c r s t a f r n i fieldbus prioritized and preemptive fbi Fachbereich Informatik scheduling domains Faculty of Computer Science icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 7
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences I/O Resources Motivation SHARB Summary Operation Touch Displays Knobs Speech BT User Interface USB-Flash Application Connectivity Media Player Phone Tuner WIFI Storage Navigation Browser ... SD-Flash 3G/LTE Infrastructure Software-Framework iPod Operating System GSM fbi MOST GPS CAN Fachbereich Informatik Faculty of Computer Science Fieldbus and Sensors icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 8
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Issue: Unprioritized Access to Resources Motivation SHARB Summary software different importance ED ED ED ... Operating System prioritize tasks hardware core 1 core 2 core n ... compute parallel res. res. res. res. res. res. unprioritized access unprioritized access fbi non-deterministic temporal behavior Fachbereich Informatik Faculty of Computer Science icm affects behavior of the overall system In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 9
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Shared Resource Arbiter (SHARB) Motivation SHARB Summary to achieve a more deterministic temporal behavior when accessing shared resources that do not support parallel usage to improve composability fbi Fachbereich Informatik Faculty of Computer Science icm In-Car Multimedia Labs IN-CAR MULTIMEDIA LABS, Andreas Knirsch 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) 10
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Requirements Motivation SHARB • predictable latency for access Summary • no modification of applications is necessary • access can be ordered using static priorities • portable to different software platforms • appear transparent to application programmer • configurable to be used only for selected resources fbi Fachbereich Informatik Faculty of Computer Science icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 11
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Scope of SHARB Motivation SHARB • multicore hardware platforms Summary • operating system with priority based SMP scheduler • component based application • components with different temporal requirements • resources that require exclusive access Execution Domains (ED) fbi Fachbereich Informatik Faculty of Computer Science icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 12
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Architectural Layers of SHARB Motivation SHARB Summary determines Application Application redirect POSIX Context User Space priority calls Device Manager SHARB assign effective Service Driver priority Device Instance allow resource fbi Resource specific Fachbereich Informatik Faculty of Computer Science implementation icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 13
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Dependencies (Exemplary Scenario) Motivation SHARB Summary ED 1 ED 2 ED 3 Device Manager SHARB SD 1.A SD 2.A SD 2.B SD 3.B Device Instance A Device Instance B fbi Fachbereich Informatik Faculty of Computer Science Resource A Resource B icm In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 14
h_da Prioritized Access Arbitration to Shared Resources Hochschule Darmstadt University of Applied Sciences Integration into a Automotive Software Framework Motivation SHARB • utilize existing ED abstraction Summary • provides relation of task to ED to identify accessor • enables integrator to define static access priorities along with the task priorities GNU/LINUX Application Application Context User Space Device Manager OpenICM SHARB Service Driver fbi Fachbereich Informatik Device Instance Faculty of Computer Science icm Resource QNX RTOS In-Car Multimedia Labs 3rd IEEE International Conference on Networked Embedded Systems for Every Application (NESEA 2012) IN-CAR MULTIMEDIA LABS, Andreas Knirsch 15
Recommend
More recommend