Bounding Shared-Stack Usage in Systems with Offsets and Precedences

  • Authors:
  • Markus Bohlin;Kaj Hänninen;Jukka Mäki-Turja;Jan Carlson;Mikael Nolin

  • Affiliations:
  • -;-;-;-;-

  • Venue:
  • ECRTS '08 Proceedings of the 2008 Euromicro Conference on Real-Time Systems
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

The paper presents two novel methods to bound the stack memory used in preemptive, shared stack, real-time systems. The first method is based on branch-and-bound search for possible preemption patterns, and the second one approximates the first in polynomial time. The work extends previous methods by considering a more general task-model, in which all tasks can share the same stack. In addition, the new methods account for precedence and offset relations. Thus, the methods give tight bounds for a large set of realistic systems. The methods have been implemented and a comprehensive evaluation, comparing our new methods against each other and against existing methods, is presented. The evaluation shows that our exact method can significantly reduce the amount of stack memory needed.