Worst-case scheduling of software tasks a constraint optimization model to support performance testing

Stefano Di Alesio, Shiva Nejati, Lionel Briand, Arnaud Gotlieb

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Real-Time Embedded Systems (RTES) in safety-critical domains, such as maritime and energy, must satisfy strict performance requirements to be deemed safe. Therefore, such systems have to be thoroughly tested to ensure their correct behavior even under the worst operating conditions. In this paper, we address the need of deriving worst case scenarios with respect to three common performance requirements, namely task deadlines, response time, and CPU usage. Specifically, we investigate whether this worst-case analysis can be effectively re-expressed as a Constrained Optimization Problem (COP) over the space of possible inputs to the system. Solving this problem means finding the sets of inputs that maximize the chance to violate performance requirements at runtime. Such inputs can in turn be used to test if the target RTES meets the expected performance even in the worst case. We develop an OPL model for IBM ILOG CP Optimizer that implements a task priority-based preemptive scheduling, and apply it to a case study from the maritime and energy domain. Our validation shows that (1) the input to our model can be provided with reasonable effort in an industrial setting, and (2) the COP effectively identifies test cases that maximize deadline misses, response time, and CPU usage.

Original languageEnglish
Title of host publicationPrinciples and Practice of Constraint Programming - 20th International Conference, CP 2014, Proceedings
PublisherSpringer Verlag
Pages813-830
Number of pages18
ISBN (Print)9783319104270
DOIs
Publication statusPublished - 2014
Externally publishedYes
Event20th International Conference on the Principles and Practice of Constraint Programming, CP 2014 - Lyon, France
Duration: 8 Sep 201412 Sep 2014

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume8656 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference20th International Conference on the Principles and Practice of Constraint Programming, CP 2014
Country/TerritoryFrance
CityLyon
Period8/09/1412/09/14

Fingerprint

Dive into the research topics of 'Worst-case scheduling of software tasks a constraint optimization model to support performance testing'. Together they form a unique fingerprint.

Cite this