Title :
Bounding Shared-Stack Usage in Systems with Offsets and Precedences
Author :
Bohlin, Markus ; Hanninen, Kenneth ; Maki-Turja, Jukka ; Carlson, Jan ; Nolin, Mikael
Author_Institution :
Malardalen Real-Time Res. Centre, Vasteras
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.
Keywords :
computational complexity; random-access storage; tree searching; branch-and-bound search; polynomial time; shared-stack usage; stack memory; Computer science; Embedded system; Performance analysis; Polynomials; Protocols; Random access memory; Read-write memory; Real time systems; Silicon carbide; Upper bound;
Conference_Titel :
Real-Time Systems, 2008. ECRTS '08. Euromicro Conference on
Conference_Location :
Prague
Print_ISBN :
978-0-7695-3298-1
DOI :
10.1109/ECRTS.2008.29