Towards a Predictable, High-Performance Instruction Memory Hierarchy in Fixed-Priority Preemptive Real-Time Systems

نویسنده

  • E Tamura
چکیده

Contemporary computing architectures make an extensive use of cache memories to cope with the increasing speed gap between the processing power of the processing element and the bandwidth of the memory subsystem. In a fixed-priority preemptive real-time system, in addition to obtaining logically correct results, it is also mandatory to satisfy timing constraints. Since the contents of the cache memory depend on the history of the execution of all the tasks on the system, as well as the order in which they were scheduled, this cache-inherent behaviour leads to unpredictable execution times. Therefore, exploiting cache memories in the best way by taking full advantage of its tremendous bandwidth (w.r.t. main memory), is thus a challenging problem for real-time systems designers, since the inclusion of cache memories introduce not so easy to solve problems in the schedulability analysis. To contribute to the solution of the unpredictability when using instruction cache memories in fixedpriority preemptive real-time systems, this research proposes using an LSM-based memory hierarchy, a novel instruction memory hierarchy that is predictable by design. It offers a guaranteed predictable and repeatable memory latency by providing a hardware mechanism to discriminate which blocks must be loaded into the instruction cache. Furthermore, this automatic, on-demand storage control method minimises the total time that a task must be stalled waiting for the memory by freeing the software from explicit management of the memory hierarchy. Determinism is achieved in the LSM-based memory hierarchy by protecting and restoring (on-the-fly) instruction cache contents each time there is a context switch. The selection of the instruction cache contents is key to obtain lower worst-case execution/response times. Thus, this dissertation presents sequential and parallel versions of a genetic algorithm, that yield approximate solutions in a competitive amount of computation time. To examine the validity of both the LSM-based memory hierarchy and the estimated worst-case execution/response times resulting from the instruction cache contents selection by the genetic algorithms, several sets of results have been evaluated. The data in these sets come from several sources and allow assessing the performance of the LSM-based memory hierarchy in front of a locking instruction cache used in a dynamic manner as well as with respect to using a conventional instruction cache. In addition, the results make it possible to contrast the sequential and parallel versions of the proposed genetic algorithm to determine their adequacy in selecting the instruction cache contents.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Towards Predictable, High-Performance Memory Hierarchies in Fixed-Priority Preemptive Multitasking Real-Time Systems

Cache memories are crucial to obtain high performance on contemporary computing systems. However, sometimes they have been avoided in real-time systems due to their lack of determinism. Unfortunately, most of the published techniques to attain predictability when using cache memories are complex to apply, precluding their use on real applications. This paper proposes a memory hierarchy such tha...

متن کامل

A Non-Preemptive Two-Class M/M/1 System with Prioritized Real-Time Jobs under Earliest-Deadline-First Policy

This paper introduces an analytical method for approximating the performance of a two-class priority M/M/1 system. The system is fully non-preemptive. More specifically, the prioritized class-1 jobs are real-time and served with the non-preemptive earliest-deadline-first (EDF) policy, but despite their priority cannot preempt any non real-time class-2 job. The waiting class-2 jobs can only be s...

متن کامل

Analysable instruction memories for hard real-time systems

In safety-critical embedded real-time systems the timing behaviour is of highest importance, because applications underlie timing constraints that have to be met. Otherwise the system might fail causing harm to humans, the environment, or the system itself. Therefore, such hard real-time systems have to provide timing guarantees. Since the timing behaviour of the system does not only depend on ...

متن کامل

Tool support for the construction of statically analysable hard real-time Ada systems

This paper maintains that fixed-priority process-based preemptive scheduling is, arguably, more convenient, flexible and responsive than conventional cyclic scheduling for the construction of new-generation software-intensive satellite control systems. Predictable usage of preemptive priority-based scheduling, however, demands the support of mature static analysis techniques. Worst-case respons...

متن کامل

MACS: A Cacheless Architecture for Real Time Systems

Real time applications differ from other programs in that they require not only a predictable level of performance, but the performance of the underlying system (OS and hardware) must guaranteed in order ensure that deadlines are met. Currently, performance optimizations rely on improving average case behavior (i.e., using probabilistic methods), with the result that guaranteed worst case perfo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008