• DocumentCode
    3721550
  • Title

    A predictable interrupt management policy for real-time operating systems

  • Author

    Javad Ebrahimian Amiri;Mehdi Kargahi

  • Author_Institution
    School of Electrical and Computer Engineering University of Tehran Tehran, Iran
  • fYear
    2015
  • fDate
    10/1/2015 12:00:00 AM
  • Firstpage
    1
  • Lastpage
    8
  • Abstract
    Real-time operating systems play important roles in developing many of today´s embedded systems. Majority of these embedded systems have intense interactions with the environment through I/O devices, namely sensors and actuators. Interrupts are often used by the operating systems to handle these interactions through executing the corresponding interrupt service routines (ISRs). ISRs are usually executed non-preemptively at some priorities higher than system tasks. Depending on the interrupt frequency, this prioritization can result in problems like unresponsiveness and unpredictability in the system, even for the high priority tasks. This incurs a type of priority inversion which we call it ISR-task priority inversion (ITPI). This paper uses threaded interrupts and employs the priority inheritance protocol (PIP) to enforce each interrupt service thread (IST) to be executed at its owner´s priority, causing less interference with higher priority tasks. Two PIP-based approaches are proposed and implemented: 1) Static priority linked list, which uses PIP only when a task starts; experimental results show that this approach can tolerate some simple forms of ITPI, and 2) Dynamic priority bitmap, which employs PIP whenever a task needs an IST; experiments show that more complex forms of ITPI can be tolerated with this approach. The almost extensive experimental results show that using the dynamic priority approach enhances the real-time system predictability compared to the common approaches.
  • Keywords
    "Real-time systems","Embedded systems","Instruction sets","Timing","Kernel","Protocols"
  • Publisher
    ieee
  • Conference_Titel
    Real-Time and Embedded Systems and Technologies (RTEST), 2015 CSI Symposium on
  • Type

    conf

  • DOI
    10.1109/RTEST.2015.7369843
  • Filename
    7369843