CoSMIC: A Model Driven CoSMIC: A Model Driven Middleware for Provisioning Middleware for Provisioning Large-scale Distributed Real- Large-scale Distributed Real- time and Embedded Systems time and Embedded Systems Dr. Aniruddha Gokhale [email protected]www.dre.vanderbilt.edu/~gokhale Assistant Professor (EECS & ISIS) Vanderbilt University Nashville, TN 37203 Work supported by AFRL contract# F33615-03- C-4112 for DARPA PCES Program
36
Embed
Dr. Aniruddha Gokhale a.gokhale@vanderbilt dre.vanderbilt/~gokhale
CoSMIC: A Model Driven Middleware for Provisioning Large-scale Distributed Real-time and Embedded Systems. Dr. Aniruddha Gokhale [email protected] www.dre.vanderbilt.edu/~gokhale Assistant Professor (EECS & ISIS) Vanderbilt University Nashville, TN 37203. - PowerPoint PPT Presentation
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
CoSMIC: A Model Driven Middleware for CoSMIC: A Model Driven Middleware for Provisioning Large-scale Distributed Provisioning Large-scale Distributed Real-time and Embedded SystemsReal-time and Embedded Systems
Assistant Professor (EECS & ISIS)Vanderbilt UniversityNashville, TN 37203
Work supported by AFRL contract# F33615-03-C-4112 for DARPA PCES Program
2
Aniruddha Gokhale CoSMIC
Research Synopsis
Develop, validate, & help to standardize technologies that:
(1) Model(2) Analyze(3) Synthesize &(4) Provision
multiple layers of middleware for distributed real-time and embedded (DRE) systems that require simultaneous control of multiple quality of service properties end-to-end
Model Driven Approach for Distributed Real-time & Embedded MiddlewareModel Driven Approach for Distributed Real-time & Embedded MiddlewareModel Driven Approach for Distributed Real-time & Embedded MiddlewareModel Driven Approach for Distributed Real-time & Embedded Middleware
Focus on infrastructure support for composition of the following aspects CIDL compiler to synthesize component descriptor metadata & stubs/skeletons RT event channel integration with CIAO containers Assembly & deployment framework Collaboration with Washington University
RT EventChannel
RT EventChannel
12
Aniruddha Gokhale CoSMIC
Boeing Bold Stroke: Our Research Vehicle
•Avionics Product Line Component Model
•DRE system with 3,000+ domain-specific software components, 3-5 million lines of C++ code
•100+ developers
•Mission-control software for Boeing military aircraft, e.g., F-18 E/F, Harrier, UCAV
•Leverages the ACE+TAO middleware
•Used as Avionics Open Experimental Platform (OEP) for DARPA/IXO PCES & MoBIES programs
•Moving towards using CIAO CCM
13
Aniruddha Gokhale CoSMIC
Bold Stroke Architectural Elements
•Hardware organization
•ACE+TAO real-time CORBA distribution middleware
•Push-based event model•Pull-based data model
•This common usage simplifies assembly complexity
•Application components (consumer)
•Application components (supplier)
14
Aniruddha Gokhale CoSMIC
Bold Stroke Illustrative Example
Basic Modal Single Process Product Scenario (2 operational modes)
Determining the right assembly and deployment
Determining the right assignment of priorities
Determining the right concurrency strategy
Adapting to changing operating conditions
15
Aniruddha Gokhale CoSMIC
Research Thrusts of CoSMICApplying MDA to address
1.the end-to-end deployment aspect of DRE applications
•CoSMIC = Component Synthesis using Model Integrated Computing
Middleware Bus
SecurityReplication NotificationPersistence
16
Aniruddha Gokhale CoSMIC
Challenge 1: Component Assembly & Deployment
•Application components are assembled and then deployed in a way that provides optimum resource utilization & delivers required QoS to the application•e.g., Bold Stroke scenarios involve assembling & deploying hundreds of components
•Assembly & deployment can be scripted by using XML descriptors & deployment tools
PROBLEMSXML file in excess of 3,000 lines for medium sized scenarios
Existing practices involve handcrafting the XML descriptors
Partitioning, Distribution and Deployment done in ad hoc manner
Modifications in assembly requires modifying XML file
18
Aniruddha Gokhale CoSMIC
• ESML developed by Dr. Gabor Karsai et. al for DARPA/IXO MoBIES program
• CIDL compiler developed by our group at ISIS
•A domain-specific Component Descriptor Modeling Language (CDML)Currently leverages ESML for synthesis of assembly descriptors
ESML allows modeling component behavior & interactions in Bold Stroke
•Analyze component requirements and synthesize deployment scripts
•Synthesize component glue code to interact with environment
SOLUTION
Challenge 1: Component Assembly & Deployment
19
Aniruddha Gokhale CoSMIC
Challenge 1: Component Assembly & Deployment
Next StepsDevelop a component descriptor modeling language (CDML)
Synthesize assembly descriptor metadata
Synthesize platform-specific metadata
Synthesizecustom strategiese.g., lazy or eager
Determine appropriate assembly & deployment
21
Aniruddha Gokhale CoSMIC
Challenge 2: Configuring Container Policies
•Components execute in containers that decouple runtime configuration from the component implementation e.g.,Priority propagation modelsThreading modelsSecurity, replication, persistence policies
Internal buffer sizese.g., Boldstroke components run in a multithreaded environment with different end-to-end priorities
•Usually specified by the deployer using XML-based metadata
TIMER20Hz
GPS
TIMER1 Hz
PILOTCONTROL
NAV DISP
TIMER5 Hz
NAVIG-ATOR
Highpriority
Mediumpriority
Lowpriority
CONTEXT
22
Aniruddha Gokhale CoSMIC
server object management middleware
Challenge 2: Configuring Container Policies
•Existing techniques for metadata configurations rely on ad hoc manual configurations e.g., CORBA server-side programming
PROBLEMS
Determine the server object management policies
Determine right buffer sizes
Determine thread pool sizes; how are they shared; number of lanes and their priorities; if borrowing is enabled
Determine various middleware policies for server objects e.g., security, lifetime, replication
•This “glue code” is traditionally handcrafted
Ensure semantic compatibility among chosen configurations
Determine end-to-end priority propagation model to use
23
Aniruddha Gokhale CoSMIC
• Develop a domain-specific Container Policy Modeling Language (CPML)
• Current version restricted to container configuration glue code generation in the CORBA environment
•Extend CPML to capture application QoS requirements in a platform independent form
•Design model transformers to desired platforms
•Develop tools that will determine the right values for various platform-specific parameters
server object management middleware
26
Aniruddha Gokhale CoSMIC
Challenge 3: Configuring Middleware End-to-End
I/O Subsystem
M/WBus
SkeletonStub
20 10 5 1 20 10 5 1
•Middleware must be configured with the appropriate systemic metadata end-to-end•e.g., in Bold Stroke example, appropriate priority banded connections must be set between application services
NAV DISPGPSNAV
STEERINGPILOT
CONTROL
CONTEXT
27
Aniruddha Gokhale CoSMIC
Challenge 3: Configuring Middleware End-to-End
I/O Subsystem
M/W Bus
SkeletonStub
20 10 5 1 20 10 5 1
PROBLEMSDetermine right concurrency strategy
Determine right demux strategy
Determine right marshaling optimizations
Determine right connection mgmt policy
Configuring subset of underlying transports
•Highly flexible middleware tend to provide numerous configuration knobs that can be configured to deliver required systemic properties to applications
•Existing techniques of metadata configurations rely on ad hoc manual selection of configuration parameters
Domain specific modeling language for QoS metadata
Domain specific modeling language for middleware models
Develop model weaver
Develop generators
34
Aniruddha Gokhale CoSMIC
Research Impact & Future Work•Current progress stems from years of iteration, refinement, & successful use
Year1970 2010
ARPAnet
RPC
Micro-kernels
CORBA & DCOM
Real-time (RT)CORBA
Component Models (EJB)
CORBA ComponentModel (CCM)
RT/CCM
DCE
CoSMIC
Future Research Directions•High confidence, geographically distributed DRE systems
•Grid applications•Large enterprise systems•Focus on platform-independent models
Future Research Directions•High confidence, geographically distributed DRE systems
•Grid applications•Large enterprise systems•Focus on platform-independent models
Model integratedmiddleware
Shape the standards e.g., OMG’s Model Driven Architecture (MDA)
Advance
d MDA
ACE/TAO
2000 2005
35
Aniruddha Gokhale CoSMIC
Concluding RemarksModel, analyze, synthesize, and provision middleware technologies at multiple layers for distributed real-time and embedded systems that require simultaneous control of multiple quality of service properties end-to-end
1. Configure and deploy DRE applications end-to-end
2. Configure application component containers
3. Synthesize middleware-specific configurations
4. Synthesize dynamic QoS provisioning and adaptation logic
Model Driven Approach to:
www.dre.vanderbilt.edu/~gokhale/cosmic.html
36
Aniruddha Gokhale CoSMIC
Vanderbilt DRE DOC Group Capabilities
• Faculty: Dr. Douglas C. Schmidt• Research Scientist: Dr. Aniruddha Gokhale• Research Engineers: Bala Natarajan, Jeff Parsons, Boris Kolpakov, Tao Lu• Grad/UGrad Students: B. Krishnakumar, George Edwards, Emre Turkay,
Arvind Krishna, J. Balasubramaniam, Gan Geng
Pa
tter
ns
& P
atte
rn
La
ng
ua
ge
s
ACE Host Infrastructure Middleware
ConfigurableCommunication
Systems
Mission CriticalDoD Systems
IndustrialProcessControl
MedicalImagingSystems
TAO CORBA Distribution Middleware
CIAO CORBA Component Middleware
CoSMIC Model Driven Architecture
37
Aniruddha Gokhale CoSMIC
Downloading the Middleware & Tools
• http://www.dre.vanderbilt.edu/cosmic
• Beta and Stable release can be accessed from http://www.dre.vanderbilt.edu/Download.html
38
Aniruddha Gokhale CoSMIC
•Patterns & frameworks for concurrent & networked objects•www.posa.uci.edu•www.ace.uci.edu
•ACE & TAO open-source middleware•www.cs.wustl.edu/~schmidt/ACE.html•www.cs.wustl.edu/~schmidt/TAO.html
•DRE research papers•www.cs.wustl.edu/~schmidt/research.html