Resource-limited mobile embedded systems can benefit greatly from dynamic adaptation of sys- tem parameters. We propose a novel approach that employs iterative tuning using light-weight formal verification at runtime with feedback for dynamic adaptation. One objective of this ap- proach is to enable tradeoff analysis across multiple layers (e.g., application, middleware, OS) and predict the possible property violations as the system evolves dynamically over time. Specif- ically, an executable formal specification is developed for each layer of the mobile system under consideration. The formal specification is then analyzed using statistical property checking and statistical quantitative analysis, to determine the impact of various resource management policies for achieving desired timing/QoS properties. Integration of formal analysis with dynamic behav- ior from system execution results in a feedback loop that enables model refinement and further optimization of policies and parameters. We demonstrate the applicability of this approach to the adaptive provisioning of resource-limited distributed real-time systems using a mobile multimedia case study.
Keywords: Cross-Layer Optimization, Iterative Tuning, Formal Methods