Quantitative synthesis for concurrent programs Conference Paper


Author(s): Cerný, Pavol; Chatterjee, Krishnendu; Henzinger, Thomas A; Radhakrishna, Arjun; Singh, Rohit
Title: Quantitative synthesis for concurrent programs
Title Series: LNCS
Affiliation IST Austria
Abstract: We present an algorithmic method for the quantitative, performance-aware synthesis of concurrent programs. The input consists of a nondeterministic partial program and of a parametric performance model. The nondeterminism allows the programmer to omit which (if any) synchronization construct is used at a particular program location. The performance model, specified as a weighted automaton, can capture system architectures by assigning different costs to actions such as locking, context switching, and memory and cache accesses. The quantitative synthesis problem is to automatically resolve the nondeterminism of the partial program so that both correctness is guaranteed and performance is optimal. As is standard for shared memory concurrency, correctness is formalized "specification free", in particular as race freedom or deadlock freedom. For worst-case (average-case) performance, we show that the problem can be reduced to 2-player graph games (with probabilistic transitions) with quantitative objectives. While we show, using game-theoretic methods, that the synthesis problem is Nexp-complete, we present an algorithmic method and an implementation that works efficiently for concurrent programs and performance models of practical interest. We have implemented a prototype tool and used it to synthesize finite-state concurrent programs that exhibit different programming patterns, for several performance models representing different architectures.
Conference Title: CAV: Computer Aided Verification
Volume: 6806
Conference Dates: July 14-20, 2011
Conference Location: Snowbird, UT, USA
Publisher: Springer  
Date Published: 2011-04-21
Start Page: 243
End Page: 259
Sponsor: ERC Advanced Grant QUAREM, FWF NFN Grant S11402-N23, FWF NFN Grant S11407-N23 (RiSE), EU NOE Grant ArtistDesign, Microsoft faculty fellowship.
URL:
DOI: 10.1007/978-3-642-22110-1_20
Open access: yes (repository)
IST Austria Authors
  1. Thomas A. Henzinger
    415 Henzinger
  2. Pavol Černý
    25 Cerný
Related IST Austria Work