The document presents a search strategy called GA+CP that combines genetic algorithms and constraint programming to identify scenarios likely to violate task deadlines in real-time embedded systems. GA+CP casts the generation of stress test cases as an optimization problem to find arrival times that maximize the chance of deadline violations. GA is efficient and generates diverse test cases, while CP is effective at finding test cases more likely to violate deadlines. The approach uses GA to evolve potential solutions and CP to improve the most promising ones in each generation.
The Prediction Of Time Trending Techniques. Is It A Reasonable Estimate?Gan Chun Chet
ย
Time prediction (modelling) techniques use to analyze machine setup (performance) time. These time series techniques are compared with probability and categorization method, found to be coherent.
Also with reference to Noise Prevention in Factories training dated 20 March 2012 at IEM Penang (noise calculation).
The Prediction Of Time Trending Techniques. Is It A Reasonable Estimate?Gan Chun Chet
ย
Time prediction (modelling) techniques use to analyze machine setup (performance) time. These time series techniques are compared with probability and categorization method, found to be coherent.
Also with reference to Noise Prevention in Factories training dated 20 March 2012 at IEM Penang (noise calculation).
Moodle is a very flexible application with a large number of variables and roles. Testing upgrades and changes can be a challenge. This presentation should help attendees focus testing at their own workplace.
Software Testing and Quality Assurance Assignment 2Gurpreet singh
ย
Short questions :
Q1: What is stress testing?
Q2: What is Cyclomatic complexity?
Q3: Define Object Oriented Testing
Q4: What is regression testing? When it is done?
Q5: How loop testing is different from the path testing?
Q6: What is client server environment?
Q7: What is graph based testing?
Q8: How security testing is useful in real applications?
Q9: What are main characteristics of real time system?
Q10: What are the benefits of data flow testing?
Long Questions:
Q1: Design test case for: ERP, Traffic controller and university management system?
Q2: Assuming a real time system of your choice, discuss the concepts. Analysis and design factors of same, elaborate
Q3: How testing in multiplatform environment is performed?
Q4: Explain graph based testing in detail
Q5: Differentiate between Equivalence partitioning and boundary value analysis
International Refereed Journal of Engineering and Science (IRJES)irjes
ย
The core of the vision IRJES is to disseminate new knowledge and technology for the benefit of all, ranging from academic research and professional communities to industry professionals in a range of topics in computer science and engineering. It also provides a place for high-caliber researchers, practitioners and PhD students to present ongoing research and development in these areas.
Keynote: Building and Operating A Serverless Streaming Runtime for Apache Bea...Flink Forward
ย
Apache Beam is Flinkโs sibling in the Apache family of streaming processing frameworks. The Beam and Flink teams work closely together on advancing what is possible in streaming processing, including Streaming SQL extensions and code interoperability on both platforms.
Beam was originally developed at Google as the amalgamation of its internal batch and streaming frameworks to power the exabyte-scale data processing for Gmail, YouTube and Ads. It now powers a fully-managed, serverless service Google Cloud Dataflow, as well as is available to run in other Public Clouds and on-premises when deployed in portability mode on Apache Flink, Spark, Samza and other runners. Users regularly run distributed data processing jobs on Beam spanning tens of thousands of CPU cores and processing millions of events per second.
In this session, Sergei Sokolenko, Cloud Dataflow product manager, and Reuven Lax, the founding member of the Dataflow and Beam team, will share Googleโs learnings from building and operating a global streaming processing infrastructure shared by thousands of customers, including:
safe deployment to dozens of geographic locations,
resource autoscaling to minimize processing costs,
separating compute and state storage for better scaling behavior,
dynamic work rebalancing of work items away from overutilized worker nodes,
offering a throughput-optimized batch processing capability with the same API as streaming,
grouping and joining of 100s of Terabytes in a hybrid in-memory/on-desk file system,
integrating with the Google Cloud security ecosystem, and other lessons.
Customers benefit from these advances through faster execution of jobs, resource savings, and a fully managed data processing environment that runs in the Cloud and removes the need to manage infrastructure.
ESTIMATING HANDLING TIME OF SOFTWARE DEFECTScsandit
ย
The problem of accurately predicting handling time for software defects is of great practical
importance. However, it is difficult to suggest a practical generic algorithm for such estimates,
due in part to the limited information available when opening a defect and the lack of a uniform
standard for defect structure. We suggest an algorithm to address these challenges that is
implementable over different defect management tools. Our algorithm uses machine learning
regression techniques to predict the handling time of defects based on past behaviour of similar
defects. The algorithm relies only on a minimal set of assumptions about the structure of the
input data. We show how an implementation of this algorithm predicts defect handling time with
promising accuracy results
Software Testing: Test Design and the Project Life CycleDerek Callaway
ย
The software development process consists of an indeterminate number of fundamental steps that together comprise the project life cycle. All of these steps carry out software testing in one form or another. Some organizations have an entire team delegated exclusively to software testing. (Royer 16-17,20) As a result, a substantial amount of a software development projectโs budget is allocated solely toward testing. This establishes the need to utilize formal techniques in order to trim cost. (Amman and Black, Coverage 20) Such techniques are the subject of an ample amount of scholarly investigation and are generally classified into two complementary integration approaches (top-down and bottom-up) and fall into one of a pair of distinct methods (black-box and white-box). In this report, the distinguishing characteristics and merits of each are presented, as well as their relative disadvantages and ways to mitigate their limitations.
Similar to Combining genetic algoriths and constraint programming to support stress testing of task deadlines (20)
May Marketo Masterclass, London MUG May 22 2024.pdfAdele Miller
ย
Can't make Adobe Summit in Vegas? No sweat because the EMEA Marketo Engage Champions are coming to London to share their Summit sessions, insights and more!
This is a MUG with a twist you don't want to miss.
AI Genie Review: Worldโs First Open AI WordPress Website CreatorGoogle
ย
AI Genie Review: Worldโs First Open AI WordPress Website Creator
๐๐ Click Here To Get More Info ๐๐
https://sumonreview.com/ai-genie-review
AI Genie Review: Key Features
โ Creates Limitless Real-Time Unique Content, auto-publishing Posts, Pages & Images directly from Chat GPT & Open AI on WordPress in any Niche
โ First & Only Google Bard Approved Software That Publishes 100% Original, SEO Friendly Content using Open AI
โ Publish Automated Posts and Pages using AI Genie directly on Your website
โ 50 DFY Websites Included Without Adding Any Images, Content Or Doing Anything Yourself
โ Integrated Chat GPT Bot gives Instant Answers on Your Website to Visitors
โ Just Enter the title, and your Content for Pages and Posts will be ready on your website
โ Automatically insert visually appealing images into posts based on keywords and titles.
โ Choose the temperature of the content and control its randomness.
โ Control the length of the content to be generated.
โ Never Worry About Paying Huge Money Monthly To Top Content Creation Platforms
โ 100% Easy-to-Use, Newbie-Friendly Technology
โ 30-Days Money-Back Guarantee
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
#AIGenieApp #AIGenieBonus #AIGenieBonuses #AIGenieDemo #AIGenieDownload #AIGenieLegit #AIGenieLiveDemo #AIGenieOTO #AIGeniePreview #AIGenieReview #AIGenieReviewandBonus #AIGenieScamorLegit #AIGenieSoftware #AIGenieUpgrades #AIGenieUpsells #HowDoesAlGenie #HowtoBuyAIGenie #HowtoMakeMoneywithAIGenie #MakeMoneyOnline #MakeMoneywithAIGenie
Atelier - Innover avec lโIA Gรฉnรฉrative et les graphes de connaissancesNeo4j
ย
Atelier - Innover avec lโIA Gรฉnรฉrative et les graphes de connaissances
Allez au-delร du battage mรฉdiatique autour de lโIA et dรฉcouvrez des techniques pratiques pour utiliser lโIA de maniรจre responsable ร travers les donnรฉes de votre organisation. Explorez comment utiliser les graphes de connaissances pour augmenter la prรฉcision, la transparence et la capacitรฉ dโexplication dans les systรจmes dโIA gรฉnรฉrative. Vous partirez avec une expรฉrience pratique combinant les relations entre les donnรฉes et les LLM pour apporter du contexte spรฉcifique ร votre domaine et amรฉliorer votre raisonnement.
Amenez votre ordinateur portable et nous vous guiderons sur la mise en place de votre propre pile dโIA gรฉnรฉrative, en vous fournissant des exemples pratiques et codรฉs pour dรฉmarrer en quelques minutes.
Utilocate offers a comprehensive solution for locate ticket management by automating and streamlining the entire process. By integrating with Geospatial Information Systems (GIS), it provides accurate mapping and visualization of utility locations, enhancing decision-making and reducing the risk of errors. The system's advanced data analytics tools help identify trends, predict potential issues, and optimize resource allocation, making the locate ticket management process smarter and more efficient. Additionally, automated ticket management ensures consistency and reduces human error, while real-time notifications keep all relevant personnel informed and ready to respond promptly.
The system's ability to streamline workflows and automate ticket routing significantly reduces the time taken to process each ticket, making the process faster and more efficient. Mobile access allows field technicians to update ticket information on the go, ensuring that the latest information is always available and accelerating the locate process. Overall, Utilocate not only enhances the efficiency and accuracy of locate ticket management but also improves safety by minimizing the risk of utility damage through precise and timely locates.
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
ย
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Navigating the Metaverse: A Journey into Virtual Evolution"Donna Lenk
ย
Join us for an exploration of the Metaverse's evolution, where innovation meets imagination. Discover new dimensions of virtual events, engage with thought-provoking discussions, and witness the transformative power of digital realms."
GraphSummit Paris - The art of the possible with Graph TechnologyNeo4j
ย
Sudhir Hasbe, Chief Product Officer, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges โ from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
ย
JASMIN is the UKโs high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERCโs long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
Understanding Nidhi Software Pricing: A Quick Guide ๐
Choosing the right software is vital for Nidhi companies to streamline operations. Our latest presentation covers Nidhi software pricing, key factors, costs, and negotiation tips.
๐ What Youโll Learn:
Key factors influencing Nidhi software price
Understanding the true cost beyond the initial price
Tips for negotiating the best deal
Affordable and customizable pricing options with Vector Nidhi Software
๐ Learn more at: www.vectornidhisoftware.com/software-for-nidhi-company/
#NidhiSoftwarePrice #NidhiSoftware #VectorNidhi
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
Quarkus Hidden and Forbidden ExtensionsMax Andersen
ย
Quarkus has a vast extension ecosystem and is known for its subsonic and subatomic feature set. Some of these features are not as well known, and some extensions are less talked about, but that does not make them less interesting - quite the opposite.
Come join this talk to see some tips and tricks for using Quarkus and some of the lesser known features, extensions and development techniques.
First Steps with Globus Compute Multi-User EndpointsGlobus
ย
In this presentation we will share our experiences around getting started with the Globus Compute multi-user endpoint. Working with the Pharmacology group at the University of Auckland, we have previously written an application using Globus Compute that can offload computationally expensive steps in the researcher's workflows, which they wish to manage from their familiar Windows environments, onto the NeSI (New Zealand eScience Infrastructure) cluster. Some of the challenges we have encountered were that each researcher had to set up and manage their own single-user globus compute endpoint and that the workloads had varying resource requirements (CPUs, memory and wall time) between different runs. We hope that the multi-user endpoint will help to address these challenges and share an update on our progress here.
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
ย
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. Itโs here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
ย
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
Zoom is a comprehensive platform designed to connect individuals and teams efficiently. With its user-friendly interface and powerful features, Zoom has become a go-to solution for virtual communication and collaboration. It offers a range of tools, including virtual meetings, team chat, VoIP phone systems, online whiteboards, and AI companions, to streamline workflows and enhance productivity.
Combining genetic algoriths and constraint programming to support stress testing of task deadlines
1. ESEC/FSE 2015
Bergamo, 02/09/2015
Combining Genetic Algorithms and Constraint Programming
to Support Stress Testing of Task Deadlines
Stefano Di Alesio 1,2
Lionel Briand 2
Shiva Nejati 2
Arnaud Gotlieb 1
1 Certus Centre for Software V&V
Simula Research Laboratory
Norway
2 Interdisciplinary Centre for Reliability, Security and Trust (SnT)
University of Luxembourg
Luxembourg
1 2
2. We present GA+CP: a search strategy to identify
scenarios likely to violate task deadlines in RTES
Stefano Di Alesio โ 2/21
Problem Statement: Stress Testing of Task
Deadlines in Real Time Embedded Systems (RTES)
Key Results: Efficiency, Effectiveness,
Diversity and Scalability
Proposed Solution: Search for worst-case
schedules with a combined GA+CP strategy
3. Safety-critical RTES have to meet strict Performance
Requirements to be deemed safe for operation
Real-Time Embedded System (RTES)
Embedded SoftwareSensors Actuators
Operating
Environment
Computing Platform
Stefano Di Alesio โ 3/21
4. Systematic stress and performance testing is highly
recommended when certifying safety-critical RTES
IEC 61508 deems stress testing as
highly recommended for SIL 3-4
Stress Testing: โTesting in which a system is subjected to [โฆ]
harsh inputs [โฆ] with the intention of breaking itโ
โ Boris Beizer
Arrival times for aperiodic tasks Worst-case scenarios
Stefano Di Alesio โ 4/21
5. 0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
RTES usually have concurrent interdependent tasks
executed by a priority-driven preemptive scheduler
๐ ๐
๐๐ ๐๐
๐ ๐ ๐๐
๐ ๐
๐๐ ๐๐
๐ ๐ ๐๐
๐ ๐
๐๐ ๐๐
๐ ๐ ๐๐
๐ ๐๐
๐๐ ๐๐๐๐ ๐๐
๐ ๐ ๐๐
๐๐ ๐๐
๐ = ๐
๐๐๐๐๐๐๐
๐๐๐๐
๐๐๐๐๐๐๐
๐๐๐๐
๐๐๐๐
๐๐๐๐
Stefano Di Alesio โ 5/21
Tasks can trigger other tasks, or share
computational resources with them
Each task has a deadline (i.e., latest
finishing time) w.r.t. its arrival time
Some task properties depend on the
environment, others are design choices
Periodic Triggered Resource Aperiodic
6. 0
1
2
3
4
5
6
7
8
9
Particular sequences of arrival times may
determine scenarios violating task deadlines
๐ ๐, ๐ ๐, ๐ ๐ arrive at ๐๐ ๐, ๐๐ ๐, ๐๐ ๐ and
must finish before ๐ ๐ ๐, ๐ ๐ ๐, ๐ ๐ ๐
๐ ๐ can miss its deadline ๐ ๐ ๐
depending on when ๐๐ ๐ occurs!
0
1
2
3
4
5
6
7
8
9
๐ ๐
๐๐ ๐
๐ ๐ ๐
๐ ๐
๐๐ ๐
๐ ๐ ๐
๐ ๐
๐๐ ๐
๐ ๐ ๐
๐ = ๐
๐๐๐๐๐๐๐
๐ ๐
๐๐ ๐
๐ ๐ ๐
๐ ๐
๐๐ ๐
๐ ๐ ๐
๐ ๐
๐๐ ๐
๐ ๐ ๐
๐ = ๐
๐๐๐๐๐๐๐
A sequence of arrival times which is likely to violate
a task deadline characterizes a stress test case
Stefano Di Alesio โ 6/21
Periodic Triggered Aperiodic Periodic Triggered Aperiodic
7. Several techniques have been used for solving this
problem, but each has its own drawbacks
Formal Verification Testing
Scheduling
Theory
Model
Checking
Performance
Engineering
Genetic
Algorithms
Constraint
Programming
Background
Queuing
Theory
Fixed-point
Computation
Practice and
Tools
Metaheuristics
Artificial
Intelligence
Key
Features
Theorems
Symbolic
Execution
Dynamic
Analysis
Randomized
Search
Complete
Search
Drawbacks Assumptions
Complex
Modeling
Non
Systematic
Ineffective [1]
Inefficient [1],
Low diversity
Stefano Di Alesio โ 7/21
[1] Di Alesio, S., Nejati, S., Briand, L., and Gotlieb, A. (2013). Stress Testing of Task Deadlines: A Constraint Programming Approach. In
Software Reliability Engineering (ISSRE), 2013 IEEE 24th International Symposium on, pages 158โ167. IEEE.
GA is efficient and diverse: quickly generates test
cases involving different interactions between tasks
CP is effective: generates test cases that
are more likely to violate task deadlines
GA + CP
8. Stefano Di Alesio โ 8/21
[2] Nejati, S., Di Alesio, S., Sabetzadeh, M., Briand, L.: Modeling and Analysis of CPU Usage in Safety-critical Embedded Systems to
Support Stress Testing. In: Model Driven Engineering Languages and Systems (MODELS), pp. 759โ775. Springer (2012)
Automated Search
Optimization Problem
Find arrival times that maximize the chance of
violating task deadlines
Solutions
Task arrival times likely to violate
task deadlines
Deadline Misses
Analysis
System Platform
System Design Design and Platform Models
Timing and concurrency information about
the RTES software and computing platform
INPUT
OUTPUT
๐๐ ๐ = ๐๐
๐๐ ๐ = ๐๐
โฆ
Stress Test Cases
UML/MARTE Modeling [2]
We cast the generation of stress test cases as an
Optimization Problem over the task arrival times
Genetic Algorithms (GA) +
Constraint Programming (CP)
9. โข Triggering Relationship:
๐๐๐๐๐๐๐๐ ๐ ๐, ๐ ๐
โข Dependency Relationship:
๐ ๐๐๐๐๐ ๐๐๐ ๐ ๐, ๐ ๐ , ๐ ๐๐๐๐๐ ๐๐๐(๐ ๐, ๐ ๐)
โข Impacting Relationship:
๐๐๐๐๐๐๐ ๐ ๐, ๐ ๐ , ๐๐๐๐๐๐๐ ๐ ๐, ๐ ๐ ,
๐ฐ ๐ ๐ = {๐ ๐, ๐ ๐}
โข Observation Interval: ๐ป = ๐, ๐
โข Number of cores: ๐ = ๐
โข Set of Tasks: ๐ฑ = {๐ ๐, ๐ ๐, ๐ ๐, ๐ ๐}
โข Priority of Tasks: ๐๐๐๐๐๐๐๐ ๐๐ = ๐
โข Period of Tasks: ๐๐๐๐๐๐ ๐ ๐ = ๐
โข Min/Max Inter-arrival time of Tasks:
๐๐๐_๐๐ ๐ ๐ = ๐, ๐๐๐_๐๐ ๐ ๐ = ๐๐
โข Duration of Tasks: ๐ ๐๐๐๐๐๐๐ ๐ ๐ = ๐
โข Deadline of Tasks: ๐ ๐๐๐ ๐๐๐๐ ๐ ๐ = ๐
0
1
2
3
4
5
6
7
8
9
๐๐๐๐๐๐๐
๐ ๐ ๐ ๐ ๐ ๐๐ ๐๐ ๐ ๐
๐๐๐๐
๐๐๐๐
๐๐๐๐
Static Properties depend on the RTES design (are
known), and express constraints on task execution
Stefano Di Alesio โ 9/21
Assumption 1: Time is discretized in time quanta
Assumption 2: The time for switching context between
tasks is negligible w.r.t. a time quantum
๐ = ๐
Aperiodic Triggered Resource Periodic Aperiodic
10. Independent Properties
โข Number of Task Executions:
๐๐๐๐_๐๐๐๐๐๐๐๐๐๐ ๐ ๐ = ๐,
๐๐๐๐_๐๐๐๐๐๐๐๐๐๐ ๐ ๐ = ๐
โข Arrival time of Aperiodic Task Exec.:
๐๐๐๐๐๐๐_๐๐๐๐ ๐ ๐, ๐ = ๐,
๐๐๐๐๐๐๐_๐๐๐๐ ๐ ๐, ๐ = ๐
Dynamic Properties depend on the RTES runtime
behavior, and are not known prior to the analysis
Stefano Di Alesio โ 10/21
Dependent Properties
โข Active time of Task Executions:
๐๐๐๐๐๐ ๐ ๐, ๐, ๐ = ๐, ๐๐๐๐๐๐ ๐ ๐, ๐, ๐ = ๐
โข Start/End time of Task Executions:
๐๐๐๐๐ ๐ ๐, ๐ = ๐, ๐๐๐ ๐ ๐, ๐ = ๐
โข Preempted Time Quanta in :
๐๐๐๐๐๐๐๐๐ ๐ ๐, ๐, ๐ = ๐ โ ๐ โ ๐ = ๐
โข System Load: ๐๐๐๐ ๐ = ๐
โข Deadline Miss of Task Executions:
๐ ๐๐๐ ๐๐๐๐_๐๐๐๐ ๐ ๐, ๐ = ๐ โ ๐ = โ๐
Independent Properties characterize stress test cases
Dependent Properties characterize the expected reaction of the
system to the events modeled by the Independent properties
0
1
2
3
4
5
6
7
8
9
๐๐๐๐๐๐๐
๐ ๐ ๐ ๐ ๐ ๐๐ ๐๐ ๐ ๐
๐๐๐๐
๐๐๐๐
๐๐๐๐
๐ = ๐
Aperiodic Triggered Resource Periodic Aperiodic
11. Stefano Di Alesio โ 11/21
Both GA and CP cast the search for arrival times that
violate task deadlines as an optimization problem
[3] L. Briand, Y. Labiche, and M. Shousha, โUsing Genetic Algorithms for Early Schedulability Analysis and Stress Testing in Real-Time
Systemsโ, Genetic Programming and Evolvable Machines, vol. 7 no. 2, pp. 145-170, 2006
[4] Di Alesio, S., Nejati, S., Briand, L., and Gotlieb, A. (2014). Worst-Case Scheduling of Software Tasks โ A Constraint Optimization
Model to Support Performance Testing. In Principles and Practice of Constraint Programming (CP 2014)
Properly rewards scenarios
with deadline misses [3]
Genetic Algorithms [3] Constraint Programming [4]
Static Properties of Tasks Chromosomes Properties Constants
Dynamic Properties of Tasks Chromosomes Genes Variables
OS Scheduler Behavior Chromosomes Evaluation Constraints
Deadline Misses Requirement Fitness Function Objective Function
Efficient and diverse,
but ineffective
Effective, but inefficient
and non-diverse
๐ญ ๐ซ๐ด =
๐,๐
๐ ๐ ๐๐๐ ๐๐๐๐_๐๐๐๐(๐,๐)
12. Stefano Di Alesio โ 12/21
Therefore, we looked into a way to retain the
practical advantages of GA and CP in isolation
Search Space
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐
๐ ๐๐โ
๐โ
1. GA-step: ๐ ๐, ๐ ๐, ๐ ๐ evolve into ๐ ๐, ๐ ๐, ๐ ๐
2. CP-step: ๐ ๐, ๐ ๐, ๐ ๐ are optimized into ๐โ, ๐โ, ๐โ
= ๐โ
The key idea behind GA+CP is to run complete searches
with CP in the neighborhood of solutions found by GA
2-steps strategy
13. Stefano Di Alesio โ 13/21
GA+CP only looks in the neighborhood of tasks that
can have an impact on task deadlines in a solution
๐ ๐ and ๐ ๐ have an indirect impact on ๐ ๐
because they have higher priority than ๐ ๐
๐ฑโ
๐ = ๐ ๐
๐ฐ๐ ๐
๐ = ๐ ๐ , ๐ ๐, ๐ ๐, ๐ ๐
๐๐๐๐๐๐๐_๐๐๐๐ ๐ ๐, ๐ = ๐
๐ โ ๐ซ โค ๐๐๐๐๐๐๐_๐๐๐๐(๐ ๐, ๐) โค ๐ + ๐ซ
๐ โ ๐ซ โค ๐๐๐๐๐๐๐_๐๐๐๐(๐ ๐, ๐) โค ๐ + ๐ซ
๐ โ ๐ซ โค ๐๐๐๐๐๐๐_๐๐๐๐(๐ ๐, ๐) โค ๐ + ๐ซ
๐ โ ๐ซ โค ๐๐๐๐๐๐๐_๐๐๐๐(๐ ๐, ๐) โค ๐ + ๐ซ
๐ ๐ฎ๐จ = ๐ , ๐ , ๐ , ๐ , ๐ ๐ ๐ฎ๐จ+๐ช๐ท = ๐ , ๐ , ๐ , ๐ , ๐
๐ ๐ has a direct impact on ๐ ๐
because it depends on ๐ ๐
Dependent tasks Dependent tasks
14. Stefano Di Alesio โ 14/21
We compared GA+CP with GA and CP in isolation
on 5 systems from safety-critical domains
RQ1 โ Efficiency: time needed
to generate test cases
RQ2 โ Effectiveness: revealing
power of worst-case scenarios
RQ3 โ Diversity: capability to exercise the
system w.r.t. different patterns (i.e., coverage)
Domain
Tasks
Logsize
Periodic Aperiodic
ICS: Ignition Control System Automotive 3 3 446.7
CCS: Cruise Control System Automotive 8 3 551.6
UAV: Unmanned Air Vehicle Avionics 12 4 671.5
GAP: Generic Avionics Platform Avionics 15 8 709.4
HPSS: Herschel-Planck Satellite System Aerospace 23 9 836.6
RQ4 โ Scalability: extent to which the
system size affects the efficiency
15. Stefano Di Alesio โ 15/21
Metrics
โขComputation time ๐(๐) of a solution ๐ โ ๐ฟ
โขSum ๐(๐) of time quanta in deadline misses
๐โ
๐ ๐
โ
๐ฟ ๐
โ
โขNumber ๐(๐) of tasks that miss a deadline
๐โ
๐ ๐
โ
๐ฟ ๐
โ
โขNumber ๐(๐) of task execs. that miss a deadline
๐โ
๐ ๐
โ
๐ฟ ๐
โ
0
1
2
3
4
5
6
7
8
9
๐ ๐
๐๐ ๐
๐ ๐ ๐
๐ ๐
๐๐ ๐
๐ ๐ ๐
๐ ๐
๐๐ ๐
๐ ๐ ๐
๐ = ๐
๐๐๐๐๐๐๐
๐ฟ = ๐
๐ = ๐ , ๐ , ๐
๐ = ๐
๐ = ๐
๐ = ๐
Attributes
โขRQ1 โ Efficiency ๐ผ: computation time of the best solution
๐ผ ๐ = ๐ ๐ ๐
โ
๐ผ ๐ = ๐ ๐ ๐
โ
๐ผ ๐ = ๐ ๐ ๐
โ
โขRQ2 โ Effectiveness ๐ฟ: metric value of the best solution
๐ฟ ๐ = ๐โ
๐ฟ ๐ = ๐โ
๐ฟ ๐ = ๐โ
โขRQ3 โ Number ๐ต of best solutions
๐ต ๐ = ๐ฟ ๐
โ
๐ต ๐ = ๐ฟ ๐
โ
๐ต ๐ = ๐ฟ ๐
โ
โขRQ3 โ Diversity ๐น: extent to which solutions exercise the
system in different ways
We formalize aspects of practical interest related to
the Research Questions as metrics and attributes
Periodic Triggered Aperiodic
17. Stefano Di Alesio โ 17/21
In GA+CP, we instructed CP to terminate the local
search after two hours
The time taken by CP to terminate the local searches was not significant
with respect to the time taken by GA to generate its solutions
18. Stefano Di Alesio โ 18/21
GA+CP achieves trade-off between the efficiency
and diversity of GA, and the effectiveness of CP
Wilcoxon rank-sum test (GA+CP vs GA)
Wilcoxon signed-rank test (GA+CP vs CP)
๐ผ ๐ฎ๐จ + ๐ช๐ท โ ๐ผ ๐ฎ๐จ > ๐ผ(๐ช๐ท)
๐ฟ ๐ฎ๐จ + ๐ช๐ท โ ๐ฟ ๐ช๐ท > ๐ฟ(๐ฎ๐จ)
๐น ๐ฎ๐จ + ๐ช๐ท โ ๐น ๐ฎ๐จ > ๐น(๐ช๐ท)
19. Stefano Di Alesio โ 19/21
The effect the system size has over the efficiency of
GA+CP (RQ4 โ Scalability) is similar to that of GA
Our experiment was performed on 5 case studies
โ No quantitative scalability study
In our experiments, ๐ซ โ
๐ป
๐๐๐
proved to yield satisfactory results
โ But in larger case studies ๐ซ might also have to be larger
CP (โข) GA (โ ) GA+CP (โฒ)
ICS CCS UAV GAP HPSS ICS CCS UAV GAP HPSS ICS CCS UAV GAP HPSS
20. Stefano Di Alesio โ 20/21
Future directions include investigating test suite
reduction strategies and multiobjective optimization
Deadline Misses Response TimeCPU Usage
Multiobjective optimization allows to investigate scenarios
where multiple requirements are close to be violated
Find the minimal set of test cases that retain some relevant property
(e.g.: cover all the task executions predicted to miss a deadline)
Execution 1 Execution 2 Execution 3 Execution 4 Execution 5
Test Case 1 X X
Test Case 2 X X
Test Case 3 X X
Test Case 4 X X
21. In summary, GA+CP casts stress testing of task
deadlines misses as an optimization problem
GA explores the search space, and CP
exploits the solutions found by GA
The CP search is complete, but only along
โpromisingโ directions (impacting tasks)
Stefano Di Alesio โ 21/21
Questions?
This design yields trade-off in efficiency,
diversity (GA) and effectiveness (CP)