• DocumentCode
    3209747
  • Title

    Compiling for fine-grain concurrency: planning and performing software thread integration

  • Author

    Dean, Alexander G.

  • Author_Institution
    Dept. of Electr. & Comput. Eng., North Carolina State Univ., Raleigh, NC, USA
  • fYear
    2002
  • fDate
    2002
  • Firstpage
    103
  • Lastpage
    113
  • Abstract
    Embedded systems require control of many concurrent real-time activities, leading to system designs which feature multiple hardware peripherals with each providing a specific, dedicated service. These peripherals increase system size, cost, weight, power and design time. Software thread integration (STI) provides low-cost thread concurrency on general-purpose processors by automatically interleaving multiple (potentially real-time) threads of control into one. This simplifies hardware to software migration (which eliminates dedicated hardware) and can help embedded system designers meet design constraints. This paper introduces automated methods for planning and performing the code transformations needed for integration of functions with more sophisticated control flows than in previous work. We demonstrate the methods by using Thrint, our post-pass thread-integrating compiler, to automatically integrate multiple threads for a sample real-time embedded system with fine-grain concurrency. The sample application generates an NTSC monochrome video signal (sending out a stream of pixels to a video DAC) with STI to replace a video refresh controller IC Using Thrint reduces integration time from days to minutes and, by reclaiming idle time, speeds up graphics rendering by 3.2× to 3.8× in the three functions examined.
  • Keywords
    concurrency control; embedded systems; planning; program compilers; rendering (computer graphics); video signal processing; NTSC monochrome video signal; Thrint; automated methods; automatic multiple control thread interleaving; code transformations; compiling; concurrent real-time activities; embedded systems; fine-grain concurrency; general-purpose processors; graphics rendering; hardware to software migration; low-cost thread concurrency; multiple hardware peripherals; post-pass thread-integrating compiler; software thread integration planning; Automatic control; Concurrent computing; Control systems; Costs; Embedded system; Hardware; Power system planning; Real time systems; Software performance; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Real-Time Systems Symposium, 2002. RTSS 2002. 23rd IEEE
  • ISSN
    1052-8725
  • Print_ISBN
    0-7695-1851-6
  • Type

    conf

  • DOI
    10.1109/REAL.2002.1181566
  • Filename
    1181566