• DocumentCode
    2415960
  • Title

    Using SMT to Hide Context Switch Times of Large Real-Time Tasksets

  • Author

    Mische, Jörg ; Uhrig, Sascha ; Kluge, Florian ; Ungerer, Theo

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Augsburg, Augsburg, Germany
  • fYear
    2010
  • fDate
    23-25 Aug. 2010
  • Firstpage
    255
  • Lastpage
    264
  • Abstract
    Theoretical real-time research generally neglects context switch times. But in recent embedded applications which consist of dozens of threads with very short execution times, their impact is too serious to be ignored. We present a hard real-time scheduling algorithm that perfectly hides the context switch times of an arbitrary number of threads. It requires a Simultaneous Multithreaded (SMT) processor with at least two hardware thread slots and achieves a utilisation of 100%. The schedulability test is the same as for Earliest Deadline First (EDF) with a context switch time of zero. The hard real-time threads are executed alternately in the two slots of the processor. The inactive slot is used to unload the preceding thread context to memory and to load the subsequent thread context from memory. By hardware the active slot is completely isolated, in order to avoid any influence of the context switch on the execution of the active thread. This isolation is extensive, hence if further SMT thread slots are available, they can be used to execute threads with lower real-time demands. Even the context switch hardware can be re-used for them, enabling a very high throughput of mixed real-time tasksets.
  • Keywords
    multi-threading; multiprocessing systems; processor scheduling; SMT thread slots; context switch times; earliest deadline first; hardware thread slots; real-time scheduling algorithm; real-time tasksets; simultaneous multithreaded processor; Context; Hardware; Instruction sets; Pipelines; Real time systems; Registers; Switches; SMT; context switch; hard real-time; hardware scheduler; in-order multithreading;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Embedded and Real-Time Computing Systems and Applications (RTCSA), 2010 IEEE 16th International Conference on
  • Conference_Location
    Macau SAR
  • ISSN
    1533-2306
  • Print_ISBN
    978-1-4244-8480-5
  • Type

    conf

  • DOI
    10.1109/RTCSA.2010.33
  • Filename
    5591657