Placement Inference for a Client-Server Calculus

  • Authors:
  • Matthias Neubauer;Peter Thiemann

  • Affiliations:
  • Institut für Informatik, Universität Freiburg, Freiburg, Germany 79110;Institut für Informatik, Universität Freiburg, Freiburg, Germany 79110

  • Venue:
  • ICALP '08 Proceedings of the 35th international colloquium on Automata, Languages and Programming, Part II
  • Year:
  • 2008

Quantified Score

Hi-index 0.01

Visualization

Abstract

Placement inference assigns locations to operations in a distributed program under the constraints that some operations can only execute on particular locations and that values may not be transferred arbitrarily between locations. An optimal choice of locations additionally minimizes the run time of the program, given that operations take different time on different locations and that a cost is associated to transferring a value from one location to another.We define a language with a time- and location-aware semantics, formalize placement inference in terms of constraints, and show that solving these constraints is an NP-complete problem. We then show that optimal placements are computable via a reformulation of the semantics in terms of matrices and an application of the max-plus spectral theory. A prototype implementation validates our results.