Search arXiv⌕ Search

arXiv subjects

Maryline Zhang

Publications and source records attributed to Maryline Zhang.

2 recordsLinked to original sources

The MAY-preorder for Timed Systems with Asynchronous Communication

In operational semantics after having defined how programs compute, one usually defines suitable preorders (or equivalences) to reason on programs. When reasoning on concurrent programs, typical refinements are Hennessy and De Nicola MAY-preorder and MUST-preorder. The theory of MUST-preorder recently underwent a constructive overhaul which, thanks to an axiomatic approach, showed that the standard results for synchronous communication hold also for asynchronous communication, and in fact the synchronous theory is a special case of the asynchronous one. These results, though, pertain to a semantic model that does not account for time. Since timeouts are crucial to program distributed systems, not accounting for time is a serious limitation, which calls for an axiomatic study of testing preorders for (models of) systems with both time and communication via some shared medium (i.e. asynchronous communication). This paper is a first step in this axiomatic study. Technically, to reason on time we first enrich the framework presented in recent works by Bernardi et al., and then we show that the MAY-preorder coincides with inclusion of weak timed traces. We also show that this is not the case in a stronger model where we assume a typical property called maximal progress. This problem is independent from asynchronous communication, and it suggests that the standard techniques of testing theory do not work in a number of timed settings. In turn, this calls for a deeper study of this theory.

cs.LO↗

Scalable Computation of Inter-Core Bounds Through Exact Abstractions

Real-time systems (RTSs) are at the heart of numerous safety-critical applications. An RTS typically consists of a set of real-time tasks (the software) that execute on a multicore shared-memory platform (the hardware) following a scheduling policy. In an RTS, computing inter-core bounds, i.e., bounds separating events produced by tasks on different cores, is crucial. While efficient techniques to over-approximate such bounds exist, little has been proposed to compute their exact values. Given an RTS with a set of cores C and a set of tasks T , under partitioned fixed-priority scheduling with limited preemption, a recent work by Foughali, Hladik and Zuepke (FHZ) models tasks with affinity c (i.e., allocated to core c in C) as a Uppaal timed automata (TA) network Nc. For each core c in C, Nc integrates blocking (due to data sharing) using tight analytical formulae. Through compositional model checking, FHZ achieved a substantial gain in scalability for bounds local to a core. However, computing inter-core bounds for some events of interest E, produced by a subset of tasks TE with different affinities CE, requires model checking the parallel composition of all TA networks Nc for each c in CE, which produces a large, often intractable, state space. In this paper, we present a new scalable approach based on exact abstractions to compute exact inter-core bounds in a schedulable RTS, under the assumption that tasks in TE have distinct affinities. We develop a novel algorithm, leveraging a new query that we implement in Uppaal, that computes for each TA network Nc in NE an abstraction A(Nc) preserving the exact intervals within which events occur on c, therefore drastically reducing the state space. The scalability of our approach is demonstrated on the WATERS 2017 industrial challenge, for which we efficiently compute various types of inter-core bounds where FHZ fails to scale.

cs.FL↗