• DocumentCode
    271415
  • Title

    Parallel Task Management Library for MARTe

  • Author

    Valcárcel, Daniel F. ; Alves, Diogo ; Neto, Augusto ; Reux, Cédric ; Carvalho, B.B. ; Felton, Robert ; Lomas, Peter J. ; Sousa, J. ; Zabeo, Luca

  • Author_Institution
    Inst. de Plasmas e Fusao Nucl., Univ. Tec. de Lisboa, Lisbon, Portugal
  • Volume
    61
  • Issue
    3
  • fYear
    2014
  • fDate
    Jun-14
  • Firstpage
    1222
  • Lastpage
    1227
  • Abstract
    The Multithreaded Application Real-Time executor (MARTe) is a real-time framework with increasing popularity and support in the thermonuclear fusion community. It allows modular code to run in a multi-threaded environment leveraging on the current multi-core processor (CPU) technology. One application that relies on the MARTe framework is the Joint European Torus (JET) tokamak WAll Load Limiter System (WALLS). It calculates and monitors the temperature on metal tiles and plasma facing components (PFCs) that can melt or flake if their temperature gets too high when exposed to power loads. One of the main time consuming tasks in WALLS is the calculation of thermal diffusion models in real-time. These models tend to be described by very large state-space models thus making them perfect candidates for parallelisation. MARTe´s traditional approach for task parallelisation is to split the problem into several Real-Time Threads, each responsible for a self-contained sequential execution of an input-to-output chain. This is usually possible, but it might not always be practical for algorithmic or technical reasons. Also, it might not be easily scalable with an increase in the number of available CPU cores. The WorkLibrary introduces a “GPU-like approach” of splitting work among the available cores of modern CPUs that is (i) straightforward to use in an application, (ii) scalable with the availability of cores and all of this (iii) without rewriting or recompiling the source code. The first part of this article explains the motivation behind the library, its architecture and implementation. The second part presents a real application for WALLS, a parallel version of a large state-space model describing the 2D thermal diffusion on a JET tile.
  • Keywords
    Tokamak devices; graphics processing units; multi-threading; multiprocessing systems; nuclear engineering computing; nuclear fusion; software libraries; thermal diffusion; 2D thermal diffusion; CPU cores; GPU-like approach; JET tile; MARTe; PFC; WALLS; WorkLibrary; input-to-output chain; joint European torus tokamak wall load limiter system; metal tiles; modular code; multicore processor technology; multithreaded application real-time executor; parallel processing; parallel task management library; plasma facing components; power loads; real-time framework; real-time threads; self-contained sequential execution; state-space model; temperature calculation; temperature monitoring; thermonuclear fusion community; Central Processing Unit; Instruction sets; Libraries; Load modeling; Parallel processing; Real-time systems; Parallel processing; real time computer applications; real time software systems;
  • fLanguage
    English
  • Journal_Title
    Nuclear Science, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9499
  • Type

    jour

  • DOI
    10.1109/TNS.2014.2321194
  • Filename
    6825920