SlideShare uma empresa Scribd logo
1 de 21
A Model-driven Framework for
                  Guided Design Space Exploration
       Ábel Hegedüs, Ákos Horváth, István Ráth and Dániel Varró

                 Budapest University of Technology and Economics



    ASE 2011
    Lawrence, Kansas,US, November 9th, 2011
Budapest University of Technology and Economics
Department of Measurement and Information Systems
Design Space Exploration

   Goals                                                   Design
                                                        Alternative 1

  Global
                                                           Design
Constraints
                                                        Alternative 2

Operations                                                 Design
                                                        Alternative 3


Initial Design                                             Design
                       Design Space Exploration         Alternative 4

                   Special state space exploration
                   • potentially infinite state space
                   • „dense” solution space
                                     2
Running Example
 Automated cloud infrastructure configuration          Application server
   o Components have prerequisites                     requires at least two
   o Structural constraints                                  database
 „What configuration operations should be                         Storage subsystem
  performed to create the needed                                     is deployed on
  infrastructure?”                                                  clustered servers
   o Find sequence of operations leading to a
     desired state
   o Desired state is not given, only requirements
     and constraints
 Can be solved using Design Space Exploration
   o Evaluate alternatives to find desired solutions
     based on various criteria
   o Potentially infinite state space (worst case)




                                          3
Overview of the framework
 s kind of models
What
are used? What are                                            What is known
     the goals?                                                 already?

                      Model-driven               Guided
                      Design problem
                                                   Hints              How to
                        description
                                                                  interpret hints?
      What are the
        reachable                                Guidance
      alternatives?                                                In which order
                                                                 should alternatives
                       Design Space             Exploration         be explored?
                        Exploration              strategy

                                       Design Space Exploration



                                          4
Overview of the framework


   Model-driven               Guided
   Design problem
                                Hints
     description

                              Guidance


    Design Space             Exploration
     Exploration              strategy

                    Design Space Exploration



                       5
Design problem description
                                                                        deployedOn (dOn)
 Formalization of the                                       Node
  problem domain
   o   Metamodel                            Database (DB) Socket (So) Storage (St) Server (S)
   o   Initial model
   o   Rules / Operations                   Cloud MW (CM) Cluster (Cl) Application (App)

   o   Global constraints
                                                                    SS            S
   o   Goals                 m(DB) >= 5                             Cl So addS    Cl So
                                   DB
                m(App) = 3                                           Node
                               S        S                                                DB
                   App             Cl                                S S addDB       S        S
 Solution:
  Sequence of operations
   o Leads to a model that satisfies all goals
   o Each intermediate model satisfies
     global constraints

                                               6
Overview of the framework


   Model-driven               Guided
   Design problem
                                Hints
     description

                              Guidance


    Design Space             Exploration
     Exploration              strategy

                    Design Space Exploration



                       7
Design Space Exploration (DSE)
 Application of overview
  High-level
  an operation                   Initial model
                 Operation

   Modified model




                                               Goals satisfied
                                    Solution
                                     model
         Constraints
          violated
                             8
Overview of the framework


   Model-driven               Guided
   Design problem
                                Hints
     description

                              Guidance


    Design Space             Exploration
     Exploration              strategy

                    Design Space Exploration



                       9
Hints
 Possible sources                • Simulation
  o System analysis               • Model checking
                                  • Qualitative and
  o Previous experience             quantitative methods
  o Expert knowledge              • Measurements on similar
                                    systems
                                  • Monitoring
                                  • Service Level Agreement

                                  • Domain expert
                                  • User interaction
                                 Not included in design problem
                                           description

                            10
Hints
 Model transformation specific hints                             SS             S
    o Dependency relations                                        Cl So addS     Cl So
      between transformation rules
                                                                      Node             DB
    o Algebraic abstraction and                                       S S addDB    S        S
      quantitative analysis
 Combination of hints                                                 Node CM
    o Dependency graph
      (PNGT’10)                                                         2

0         1         1         addS     addCM     addSt   addS                  add Cluster
    add       add       add                 addCl    addDB addApp
    CM         Cl        St             [0    1     1   3   1    1]    onR Cl
addS         add       add       add        Occurrence vector         Place/Transition net
               S        DB        App
          3         1         1

                                               11
Guidance
 Exploiting hints for guiding the exploration
 Decision support
   o Is the current state likely
     to be part of a solution?             Cut-off criteria
   o Which labeling should be             Selection criteria
     applied next in the current state?
                                          Evaluated over the
                                          dependency graph




                                12
Guidance in action

0             1         1                               0          1         1
    add           add       add                             add        add       add
    CM             Cl        St                             CM          Cl        St

                  add       add       add                            add add                   add
                   S        DB        App                          2 S 1 DB                    App
Gd            3         1         1                     Gd’                                1
                               Modify value
          Select                                   Apply               Select
          operation                                operation           operation
                   M                                        M’                                       M’’
DB                                    DB                                     DB
S   S     S                           S   S   S    S                         S   S     S       S     Cl
        CM              addS                  CM                  addCl                CM




                                                       13
Overview of the framework


   Model-driven               Guided
   Design problem
                                Hints
     description

                              Guidance


    Design Space             Exploration
     Exploration              strategy

                    Design Space Exploration



                       14
Guided Design Space Exploration
 High-level overview
                                      Initial model
             Operation

  Modified model                              Selection
                                            criteria used




                   Cut-off criteria      Solution
                      satisfied           model



                                 15
Example: Selection and Cut-off Criterion
 0         1         1                        Permanently disable rule:
     add       add       add
                                              • Rule needs to be applied
     CM         Cl        St
                                              • No other rules can enable it
               add       add       add         (all enablers are disabled
                S        DB        App          permanently)
 Gd        3         1         1



 0         1         1                        Independent rule application
     add       add       add
     CM         Cl        St
                                              • Enabled rule with no
                                               forward dependency
               add     add  add               • Apply it as early as possible
                S
 Gd        3         1 DB 1 App               • Reduce branching factor



                                         16
Implementation
VIATRA2 Model Transformation
         Framework                            Automatically derived from problem
    viatra.inf.mit.bme.hu                          description (PNGT’06)

              Model-driven Guided Design Space Exploration
        VIATRA2 Design problem         Abstraction
                  description                             ILP solver
                                                           (CPLEX)
                      GT               PN       ILP
                                                        Dependency
                         Criteria      Dependency
                                                          analysis
                        definitions    graph (EMF)
                                                         (Condor)

         Design Space    Exploration
                                         Guidance
          Exploration     strategy


     Guided search      Application to calculate      Domain-independent criteria
       strategies       quick fixes (VL/HCC’11)          evaluation algorithm
                                         18
Evaluation
 Main evaluation criteria
  o Guidance decreases traversed design space
  o Relevant solutions are found
  o Representative set of
     • Problem description
     • Hints
 Evaluated case studies
  o Service reconfiguration
  o Cloud infrastructure
  o Quick fixes for graphical editors (BPEL)

                              19
Logarithmic scale!
                          Evaluation results
Fixed: 200 000     Additional constraint introduced: 76 alternative occurrence
Occur.: 900              Clustered databases             vectors evaluated
Full Gui.: 20
                  Number of visited states                           800,000
1,000,000
  100,000                                                            700,000
   10,000
    1,000                                                            600,000
      100
                                                                     500,000
       10
        1                                                            400,000
             Power    Power Clustered RC Small   RC  RC Large
             Small    Large DB (28)      (5)   Medium (21)
              (23)     (66)                      (9)
Good News:                                      „Bad” News (Future Work):
• Guided DSE works for manyOccurrence
             Fixed Priority     problems        • Problematic rule dependencies
                                           Full guidance
                                                      • Unrelated operations
• Hints can really increase efficiency
                                                      • Strongly connected graph
                                           20   • Infeasible occurrence vectors
Future Work
   Extended Dependency Analysis:
   • Analyze dependencies between
       • Rules/Operations
       • Constraints, Goals
Model-driven                Guided
Design problem
                              Hints
  description

                            Guidance


 Design Space              Exploration
  Exploration               strategy

                 Design Space Exploration
    Incremental handling of
    • Criteria evaluation
    • Infeasible occurrence vectors
    • State identification
                     21
Conclusions
Problem Description:                               Hints:
• Extensive use of model-based techniques          • Exploit hints from system analysis
     • Metamodelling, pattern matching,                 • Dependency analysis
       model transformation                             • Algebraic abstraction
                       Model-driven                     Guided
                      Design problem
                                                          Hints
                        description

                                                        Guidance


                        Design Space                   Exploration
                         Exploration                    strategy

                                       Design Space Exploration
Exploration:                                       Guided DSE Framework:
• Guided exploration to increase efficiency        • Implemented over VIATRA2
    • Cut-off criteria                             • Evaluated on multiple domains
    • Selection criteria                      22     using different strategies

Mais conteúdo relacionado

Destaque

Faster Evolutionary Multi-Objective Optimization via GALE: the Geometric Acti...
Faster Evolutionary Multi-Objective Optimization via GALE: the Geometric Acti...Faster Evolutionary Multi-Objective Optimization via GALE: the Geometric Acti...
Faster Evolutionary Multi-Objective Optimization via GALE: the Geometric Acti...
Joe Krall
 
Hybrid Multi-Gradient Explorer Algorithm for Global Multi-Objective Optimization
Hybrid Multi-Gradient Explorer Algorithm for Global Multi-Objective OptimizationHybrid Multi-Gradient Explorer Algorithm for Global Multi-Objective Optimization
Hybrid Multi-Gradient Explorer Algorithm for Global Multi-Objective Optimization
eArtius, Inc.
 
Multi-Objective WindFarm Optimization Simultaneously Optimizing COE and Land ...
Multi-Objective WindFarm Optimization Simultaneously Optimizing COE and Land ...Multi-Objective WindFarm Optimization Simultaneously Optimizing COE and Land ...
Multi-Objective WindFarm Optimization Simultaneously Optimizing COE and Land ...
Weiyang Tong
 
Of Machines and Men: AI and Decision Making
Of Machines and Men: AI and Decision MakingOf Machines and Men: AI and Decision Making
Of Machines and Men: AI and Decision Making
Abdel Salam Sayyad
 
Multi-Objective Optimization of Solar Cells Thermal Uniformity Using Combined...
Multi-Objective Optimization of Solar Cells Thermal Uniformity Using Combined...Multi-Objective Optimization of Solar Cells Thermal Uniformity Using Combined...
Multi-Objective Optimization of Solar Cells Thermal Uniformity Using Combined...
eArtius, Inc.
 
Gary Yen: "Multi-objective Optimization and Performance Metrics Ensemble"
Gary Yen: "Multi-objective Optimization and Performance Metrics Ensemble" Gary Yen: "Multi-objective Optimization and Performance Metrics Ensemble"
Gary Yen: "Multi-objective Optimization and Performance Metrics Ensemble"
ieee_cis_cyprus
 
Dominance-Based Pareto-Surrogate for Multi-Objective Optimization
Dominance-Based Pareto-Surrogate for Multi-Objective OptimizationDominance-Based Pareto-Surrogate for Multi-Objective Optimization
Dominance-Based Pareto-Surrogate for Multi-Objective Optimization
Ilya Loshchilov
 
Multi-Objective Evolutionary Algorithms
Multi-Objective Evolutionary AlgorithmsMulti-Objective Evolutionary Algorithms
Multi-Objective Evolutionary Algorithms
Song Gao
 
Multi-Objective Optimization in Rule-based Design Space Exploration (ASE 2014)
Multi-Objective Optimization in Rule-based Design Space Exploration (ASE 2014)Multi-Objective Optimization in Rule-based Design Space Exploration (ASE 2014)
Multi-Objective Optimization in Rule-based Design Space Exploration (ASE 2014)
hani_abdeen
 

Destaque (20)

Graphical Closure Rules for Unsupervised Load Classification in NILM Systems
Graphical Closure Rules for Unsupervised Load Classification in NILM SystemsGraphical Closure Rules for Unsupervised Load Classification in NILM Systems
Graphical Closure Rules for Unsupervised Load Classification in NILM Systems
 
Multi objective optimization & evolutionary algorithm
Multi objective optimization & evolutionary algorithmMulti objective optimization & evolutionary algorithm
Multi objective optimization & evolutionary algorithm
 
Faster Evolutionary Multi-Objective Optimization via GALE: the Geometric Acti...
Faster Evolutionary Multi-Objective Optimization via GALE: the Geometric Acti...Faster Evolutionary Multi-Objective Optimization via GALE: the Geometric Acti...
Faster Evolutionary Multi-Objective Optimization via GALE: the Geometric Acti...
 
Hybrid Multi-Gradient Explorer Algorithm for Global Multi-Objective Optimization
Hybrid Multi-Gradient Explorer Algorithm for Global Multi-Objective OptimizationHybrid Multi-Gradient Explorer Algorithm for Global Multi-Objective Optimization
Hybrid Multi-Gradient Explorer Algorithm for Global Multi-Objective Optimization
 
Multi-Objective WindFarm Optimization Simultaneously Optimizing COE and Land ...
Multi-Objective WindFarm Optimization Simultaneously Optimizing COE and Land ...Multi-Objective WindFarm Optimization Simultaneously Optimizing COE and Land ...
Multi-Objective WindFarm Optimization Simultaneously Optimizing COE and Land ...
 
Of Machines and Men: AI and Decision Making
Of Machines and Men: AI and Decision MakingOf Machines and Men: AI and Decision Making
Of Machines and Men: AI and Decision Making
 
Gradient-Based Multi-Objective Optimization Technology
Gradient-Based Multi-Objective Optimization TechnologyGradient-Based Multi-Objective Optimization Technology
Gradient-Based Multi-Objective Optimization Technology
 
A Pareto-Compliant Surrogate Approach for Multiobjective Optimization
A Pareto-Compliant Surrogate Approach  for Multiobjective OptimizationA Pareto-Compliant Surrogate Approach  for Multiobjective Optimization
A Pareto-Compliant Surrogate Approach for Multiobjective Optimization
 
Multi-Objective Optimization of Solar Cells Thermal Uniformity Using Combined...
Multi-Objective Optimization of Solar Cells Thermal Uniformity Using Combined...Multi-Objective Optimization of Solar Cells Thermal Uniformity Using Combined...
Multi-Objective Optimization of Solar Cells Thermal Uniformity Using Combined...
 
Gary Yen: "Multi-objective Optimization and Performance Metrics Ensemble"
Gary Yen: "Multi-objective Optimization and Performance Metrics Ensemble" Gary Yen: "Multi-objective Optimization and Performance Metrics Ensemble"
Gary Yen: "Multi-objective Optimization and Performance Metrics Ensemble"
 
Dominance-Based Pareto-Surrogate for Multi-Objective Optimization
Dominance-Based Pareto-Surrogate for Multi-Objective OptimizationDominance-Based Pareto-Surrogate for Multi-Objective Optimization
Dominance-Based Pareto-Surrogate for Multi-Objective Optimization
 
Harmony Search for Multi-objective Optimization - SBRN 2012
Harmony Search for Multi-objective Optimization - SBRN 2012Harmony Search for Multi-objective Optimization - SBRN 2012
Harmony Search for Multi-objective Optimization - SBRN 2012
 
Multi-Objective Evolutionary Algorithms
Multi-Objective Evolutionary AlgorithmsMulti-Objective Evolutionary Algorithms
Multi-Objective Evolutionary Algorithms
 
Multi-Objective Optimization in Rule-based Design Space Exploration (ASE 2014)
Multi-Objective Optimization in Rule-based Design Space Exploration (ASE 2014)Multi-Objective Optimization in Rule-based Design Space Exploration (ASE 2014)
Multi-Objective Optimization in Rule-based Design Space Exploration (ASE 2014)
 
Multi objective optimization and Benchmark functions result
Multi objective optimization and Benchmark functions resultMulti objective optimization and Benchmark functions result
Multi objective optimization and Benchmark functions result
 
Visualization of pareto front for multi objective optimization
Visualization of pareto front for multi objective optimizationVisualization of pareto front for multi objective optimization
Visualization of pareto front for multi objective optimization
 
Multiobjective optimization and trade offs using pareto optimality
Multiobjective optimization and trade offs using pareto optimalityMultiobjective optimization and trade offs using pareto optimality
Multiobjective optimization and trade offs using pareto optimality
 
Multi Objective Optimization
Multi Objective OptimizationMulti Objective Optimization
Multi Objective Optimization
 
Evolutionary Search Techniques with Strong Heuristics for Multi-Objective Fea...
Evolutionary Search Techniques with Strong Heuristics for Multi-Objective Fea...Evolutionary Search Techniques with Strong Heuristics for Multi-Objective Fea...
Evolutionary Search Techniques with Strong Heuristics for Multi-Objective Fea...
 
PhD Dissertation Powerpoint
PhD Dissertation PowerpointPhD Dissertation Powerpoint
PhD Dissertation Powerpoint
 

Semelhante a Model-driven framework for Guided Design Space Exploration presented at ASE 2011

Best practices for building and deploying predictive models over big data pre...
Best practices for building and deploying predictive models over big data pre...Best practices for building and deploying predictive models over big data pre...
Best practices for building and deploying predictive models over big data pre...
Kun Le
 

Semelhante a Model-driven framework for Guided Design Space Exploration presented at ASE 2011 (20)

Introduction to Domain Driven Design
Introduction to Domain Driven DesignIntroduction to Domain Driven Design
Introduction to Domain Driven Design
 
Quick fix generation for DSMLs
Quick fix generation for DSMLsQuick fix generation for DSMLs
Quick fix generation for DSMLs
 
Linking CSCL script design patterns: connections between assessment
Linking CSCL script design patterns: connections between assessmentLinking CSCL script design patterns: connections between assessment
Linking CSCL script design patterns: connections between assessment
 
Modeling: the holy grail for designing complex systems?
Modeling: the holy grail for designing complex systems?Modeling: the holy grail for designing complex systems?
Modeling: the holy grail for designing complex systems?
 
Software Design
Software DesignSoftware Design
Software Design
 
Devnology back toschool software reengineering
Devnology back toschool software reengineeringDevnology back toschool software reengineering
Devnology back toschool software reengineering
 
OO Development 2 - Software Development Methodologies
OO Development 2 - Software Development MethodologiesOO Development 2 - Software Development Methodologies
OO Development 2 - Software Development Methodologies
 
Best practices for building and deploying predictive models over big data pre...
Best practices for building and deploying predictive models over big data pre...Best practices for building and deploying predictive models over big data pre...
Best practices for building and deploying predictive models over big data pre...
 
Design Patterns - General Introduction
Design Patterns - General IntroductionDesign Patterns - General Introduction
Design Patterns - General Introduction
 
Solid Principles Of Design (Design Series 01)
Solid Principles Of Design (Design Series 01)Solid Principles Of Design (Design Series 01)
Solid Principles Of Design (Design Series 01)
 
Unit IV Software Engineering
Unit IV Software EngineeringUnit IV Software Engineering
Unit IV Software Engineering
 
Model-Driven Physical-Design for Future Nanoscale Architectures
Model-Driven Physical-Design for Future Nanoscale ArchitecturesModel-Driven Physical-Design for Future Nanoscale Architectures
Model-Driven Physical-Design for Future Nanoscale Architectures
 
Online TechTalk  "Patterns in Embedded SW Design"
Online TechTalk  "Patterns in Embedded SW Design"Online TechTalk  "Patterns in Embedded SW Design"
Online TechTalk  "Patterns in Embedded SW Design"
 
Code Craftsmanship Checklist
Code Craftsmanship ChecklistCode Craftsmanship Checklist
Code Craftsmanship Checklist
 
Requirements Engineering - Domain Models
Requirements Engineering - Domain ModelsRequirements Engineering - Domain Models
Requirements Engineering - Domain Models
 
CS6201 Software Reuse - Design Patterns
CS6201 Software Reuse - Design PatternsCS6201 Software Reuse - Design Patterns
CS6201 Software Reuse - Design Patterns
 
The secret life of rules in Software Engineering
The secret life of rules in Software EngineeringThe secret life of rules in Software Engineering
The secret life of rules in Software Engineering
 
E3 chap-06
E3 chap-06E3 chap-06
E3 chap-06
 
Documenting Software Architectures
Documenting Software ArchitecturesDocumenting Software Architectures
Documenting Software Architectures
 
Expert Recommendation with Usage Expertise
Expert Recommendation with Usage ExpertiseExpert Recommendation with Usage Expertise
Expert Recommendation with Usage Expertise
 

Mais de Ábel Hegedüs

Mais de Ábel Hegedüs (6)

Patching the gap in collaborating on models
Patching the gap in collaborating on modelsPatching the gap in collaborating on models
Patching the gap in collaborating on models
 
Eclipse Neon Democamp Budapest - VIATRA 1.3 release
Eclipse Neon Democamp Budapest - VIATRA 1.3 releaseEclipse Neon Democamp Budapest - VIATRA 1.3 release
Eclipse Neon Democamp Budapest - VIATRA 1.3 release
 
VIATRA 3: A Reactive Model Transformation Platform
VIATRA 3: A Reactive Model Transformation PlatformVIATRA 3: A Reactive Model Transformation Platform
VIATRA 3: A Reactive Model Transformation Platform
 
Query-driven soft interconnection of EMF models
Query-driven soft interconnection of EMF modelsQuery-driven soft interconnection of EMF models
Query-driven soft interconnection of EMF models
 
Guided Trajectory Exploration of GT systems presented at PNGT 2010
Guided Trajectory Exploration of GT systems presented at PNGT 2010Guided Trajectory Exploration of GT systems presented at PNGT 2010
Guided Trajectory Exploration of GT systems presented at PNGT 2010
 
Back-annotation of Simulation Traces with Change-Driven Model Transformations
Back-annotation of Simulation Traces with Change-Driven Model TransformationsBack-annotation of Simulation Traces with Change-Driven Model Transformations
Back-annotation of Simulation Traces with Change-Driven Model Transformations
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Model-driven framework for Guided Design Space Exploration presented at ASE 2011

  • 1. A Model-driven Framework for Guided Design Space Exploration Ábel Hegedüs, Ákos Horváth, István Ráth and Dániel Varró Budapest University of Technology and Economics ASE 2011 Lawrence, Kansas,US, November 9th, 2011 Budapest University of Technology and Economics Department of Measurement and Information Systems
  • 2. Design Space Exploration Goals Design Alternative 1 Global Design Constraints Alternative 2 Operations Design Alternative 3 Initial Design Design Design Space Exploration Alternative 4 Special state space exploration • potentially infinite state space • „dense” solution space 2
  • 3. Running Example  Automated cloud infrastructure configuration Application server o Components have prerequisites requires at least two o Structural constraints database  „What configuration operations should be Storage subsystem performed to create the needed is deployed on infrastructure?” clustered servers o Find sequence of operations leading to a desired state o Desired state is not given, only requirements and constraints  Can be solved using Design Space Exploration o Evaluate alternatives to find desired solutions based on various criteria o Potentially infinite state space (worst case) 3
  • 4. Overview of the framework  s kind of models What are used? What are What is known the goals? already? Model-driven Guided Design problem Hints How to description interpret hints? What are the reachable Guidance alternatives? In which order should alternatives Design Space Exploration be explored? Exploration strategy Design Space Exploration 4
  • 5. Overview of the framework Model-driven Guided Design problem Hints description Guidance Design Space Exploration Exploration strategy Design Space Exploration 5
  • 6. Design problem description deployedOn (dOn)  Formalization of the Node problem domain o Metamodel Database (DB) Socket (So) Storage (St) Server (S) o Initial model o Rules / Operations Cloud MW (CM) Cluster (Cl) Application (App) o Global constraints SS S o Goals m(DB) >= 5 Cl So addS Cl So DB m(App) = 3 Node S S DB App Cl S S addDB S S  Solution: Sequence of operations o Leads to a model that satisfies all goals o Each intermediate model satisfies global constraints 6
  • 7. Overview of the framework Model-driven Guided Design problem Hints description Guidance Design Space Exploration Exploration strategy Design Space Exploration 7
  • 8. Design Space Exploration (DSE)  Application of overview High-level an operation Initial model Operation Modified model Goals satisfied Solution model Constraints violated 8
  • 9. Overview of the framework Model-driven Guided Design problem Hints description Guidance Design Space Exploration Exploration strategy Design Space Exploration 9
  • 10. Hints  Possible sources • Simulation o System analysis • Model checking • Qualitative and o Previous experience quantitative methods o Expert knowledge • Measurements on similar systems • Monitoring • Service Level Agreement • Domain expert • User interaction Not included in design problem description 10
  • 11. Hints  Model transformation specific hints SS S o Dependency relations Cl So addS Cl So between transformation rules Node DB o Algebraic abstraction and S S addDB S S quantitative analysis  Combination of hints Node CM o Dependency graph (PNGT’10) 2 0 1 1 addS addCM addSt addS add Cluster add add add addCl addDB addApp CM Cl St [0 1 1 3 1 1] onR Cl addS add add add Occurrence vector Place/Transition net S DB App 3 1 1 11
  • 12. Guidance  Exploiting hints for guiding the exploration  Decision support o Is the current state likely to be part of a solution? Cut-off criteria o Which labeling should be Selection criteria applied next in the current state? Evaluated over the dependency graph 12
  • 13. Guidance in action 0 1 1 0 1 1 add add add add add add CM Cl St CM Cl St add add add add add add S DB App 2 S 1 DB App Gd 3 1 1 Gd’ 1 Modify value Select Apply Select operation operation operation M M’ M’’ DB DB DB S S S S S S S S S S S Cl CM addS CM addCl CM 13
  • 14. Overview of the framework Model-driven Guided Design problem Hints description Guidance Design Space Exploration Exploration strategy Design Space Exploration 14
  • 15. Guided Design Space Exploration  High-level overview Initial model Operation Modified model Selection criteria used Cut-off criteria Solution satisfied model 15
  • 16. Example: Selection and Cut-off Criterion 0 1 1 Permanently disable rule: add add add • Rule needs to be applied CM Cl St • No other rules can enable it add add add (all enablers are disabled S DB App permanently) Gd 3 1 1 0 1 1 Independent rule application add add add CM Cl St • Enabled rule with no forward dependency add add add • Apply it as early as possible S Gd 3 1 DB 1 App • Reduce branching factor 16
  • 17. Implementation VIATRA2 Model Transformation Framework Automatically derived from problem viatra.inf.mit.bme.hu description (PNGT’06) Model-driven Guided Design Space Exploration VIATRA2 Design problem Abstraction description ILP solver (CPLEX) GT PN ILP Dependency Criteria Dependency analysis definitions graph (EMF) (Condor) Design Space Exploration Guidance Exploration strategy Guided search Application to calculate Domain-independent criteria strategies quick fixes (VL/HCC’11) evaluation algorithm 18
  • 18. Evaluation  Main evaluation criteria o Guidance decreases traversed design space o Relevant solutions are found o Representative set of • Problem description • Hints  Evaluated case studies o Service reconfiguration o Cloud infrastructure o Quick fixes for graphical editors (BPEL) 19
  • 19. Logarithmic scale! Evaluation results Fixed: 200 000 Additional constraint introduced: 76 alternative occurrence Occur.: 900 Clustered databases vectors evaluated Full Gui.: 20 Number of visited states 800,000 1,000,000 100,000 700,000 10,000 1,000 600,000 100 500,000 10 1 400,000 Power Power Clustered RC Small RC RC Large Small Large DB (28) (5) Medium (21) (23) (66) (9) Good News: „Bad” News (Future Work): • Guided DSE works for manyOccurrence Fixed Priority problems • Problematic rule dependencies Full guidance • Unrelated operations • Hints can really increase efficiency • Strongly connected graph 20 • Infeasible occurrence vectors
  • 20. Future Work Extended Dependency Analysis: • Analyze dependencies between • Rules/Operations • Constraints, Goals Model-driven Guided Design problem Hints description Guidance Design Space Exploration Exploration strategy Design Space Exploration Incremental handling of • Criteria evaluation • Infeasible occurrence vectors • State identification 21
  • 21. Conclusions Problem Description: Hints: • Extensive use of model-based techniques • Exploit hints from system analysis • Metamodelling, pattern matching, • Dependency analysis model transformation • Algebraic abstraction Model-driven Guided Design problem Hints description Guidance Design Space Exploration Exploration strategy Design Space Exploration Exploration: Guided DSE Framework: • Guided exploration to increase efficiency • Implemented over VIATRA2 • Cut-off criteria • Evaluated on multiple domains • Selection criteria 22 using different strategies

Notas do Editor

  1. A stepintheexploration is theapplication of a syntax-driveneditingoperationonthemodel
  2. additionalconstraint:Databasesarealsodeployedonclustered serversOccurrencevectors tested in RC large: 1+3+10+22+35+5 =76