Title :
A New Generation of Real-Time Systems in the JET Tokamak
Author :
Alves, Diogo ; Neto, Andre C. ; Valcarcel, Daniel F. ; Felton, Robert ; Lopez, J.M. ; Barbalace, Antonio ; Boncagni, L. ; Card, Peter ; De Tommasi, G. ; Goodyear, Alex ; Jachmich, Stefan ; Lomas, Peter J. ; Maviglia, F. ; McCullen, Paul ; Murari, A. ; Rai
Author_Institution :
Inst. de Plasmas e Fusao Nucl., Univ. Tec. de Lisboa, Lisbon, Portugal
Abstract :
Recently, a new recipe for developing and deploying real-time systems has become increasingly adopted in the JET tokamak. Powered by the advent of x86 multi-core technology and the reliability of JET´s well established Real-Time Data Network (RTDN) to handle all real-time I/O, an official Linux vanilla kernel has been demonstrated to be able to provide real-time performance to user-space applications that are required to meet stringent timing constraints. In particular, a careful rearrangement of the Interrupt ReQuests´ (IRQs) affinities together with the kernel´s CPU isolation mechanism allows one to obtain either soft or hard real-time behavior depending on the synchronization mechanism adopted. Finally, the Multithreaded Application Real-Time executor (MARTe) framework is used for building applications particularly optimised for exploring multi-core architectures. In the past year, four new systems based on this philosophy have been installed and are now part of JET´s routine operation. The focus of the present work is on the configuration aspects that enable these new systems´ real-time capability. Details are given about the common real-time configuration of these systems, followed by a brief description of each system together with results regarding their real-time performance. A cycle time jitter analysis of a user-space MARTe based application synchronizing over a network is also presented. The goal is to compare its deterministic performance while running on a vanilla and on a Messaging Real time Grid (MRG) Linux kernel.
Keywords :
Tokamak devices; high energy physics instrumentation computing; jitter; plasma toroidal confinement; real-time systems; synchronisation; CPU isolation mechanism; Interrupt ReQuests; JET tokamak; Linux vanilla kernel; MARTe framework; RTDN; cycle time jitter analysis; hard real-time behavior; messaging real time grid Linux kernel; multicore technology; multithreaded application real-time executor; real-time data network; real-time system; synchronization mechanism; user-space application; Jitter; Kernel; Linux; Plasmas; Real-time systems; Stress; Switches; Linux; nuclear fusion; real-time;
Journal_Title :
Nuclear Science, IEEE Transactions on
DOI :
10.1109/TNS.2014.2308923