• DocumentCode
    1820337
  • Title

    Delayed Interrupt Processing Technique for Reducing Latency of Timer Interrupt in Embedded Linux

  • Author

    Dai, Maobing ; Ishikawa, Yutaka

  • Author_Institution
    Grad. Sch. of Inf. Sci. & Technol., Univ. of Tokyo, Tokyo, Japan
  • Volume
    2
  • fYear
    2009
  • fDate
    29-31 Aug. 2009
  • Firstpage
    388
  • Lastpage
    393
  • Abstract
    In real-time operating systems, timer interrupts are usually used for indicating when a real-time task should be started. Critical sections with interrupts disabled can, however, cause an unacceptable delay in the execution of these tasks. Existing approaches for overcoming this issue either require modifications to many places in the kernel source or introduce a new structural design. In this paper, we propose a simple interrupt management technique for reducing the latency of timer interrupts. The locking mechanism and the timer interrupt handler have been modified so that timer interrupts are not disabled during critical sections, allowing the execution of emergency jobs requested by real-time tasks. We implemented a prototype system in Linux 2.6.20. Experimental results showed that the timer interrupt latency is reduced to 2.2% of the original Linux kernel and the latency time for executing an emergency real-time job is 27.9 mus in the worst case. Comparing to existing real-time systems, the results showed that proposed technique is efficient enough for a future real-time operating system.
  • Keywords
    Linux; embedded systems; interrupts; operating system kernels; critical section; delayed interrupt processing technique; embedded Linux; emergency job execution; interrupt management technique; kernel source; latency reduction; locking mechanism; real-time operating system; structural design; timer interrupt handler; Delay; Disaster management; Embedded computing; Information science; Job shop scheduling; Kernel; Linux; Operating systems; Real time systems; Switches; Linux; critical section; interrupt handling; real-time OS;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computational Science and Engineering, 2009. CSE '09. International Conference on
  • Conference_Location
    Vancouver, BC
  • Print_ISBN
    978-1-4244-5334-4
  • Electronic_ISBN
    978-0-7695-3823-5
  • Type

    conf

  • DOI
    10.1109/CSE.2009.221
  • Filename
    5284042