234 research outputs found

    Analysis of Dynamic Memory Bandwidth Regulation in Multi-core Real-Time Systems

    Full text link
    One of the primary sources of unpredictability in modern multi-core embedded systems is contention over shared memory resources, such as caches, interconnects, and DRAM. Despite significant achievements in the design and analysis of multi-core systems, there is a need for a theoretical framework that can be used to reason on the worst-case behavior of real-time workload when both processors and memory resources are subject to scheduling decisions. In this paper, we focus our attention on dynamic allocation of main memory bandwidth. In particular, we study how to determine the worst-case response time of tasks spanning through a sequence of time intervals, each with a different bandwidth-to-core assignment. We show that the response time computation can be reduced to a maximization problem over assignment of memory requests to different time intervals, and we provide an efficient way to solve such problem. As a case study, we then demonstrate how our proposed analysis can be used to improve the schedulability of Integrated Modular Avionics systems in the presence of memory-intensive workload.Comment: Accepted for publication in the IEEE Real-Time Systems Symposium (RTSS) 2018 conferenc

    Mixed-Criticality Systems on Commercial-Off-the-Shelf Multi-Processor Systems-on-Chip

    Get PDF
    Avionics and space industries are struggling with the adoption of technologies like multi-processor system-on-chips (MPSoCs) due to strict safety requirements. This thesis propose a new reference architecture for MPSoC-based mixed-criticality systems (MCS) - i.e., systems integrating applications with different level of criticality - which are a common use case for aforementioned industries. This thesis proposes a system architecture capable of granting partitioning - which is, for short, the property of fault containment. It is based on the detection of spatial and temporal interference, and has been named the online detection of interference (ODIn) architecture. Spatial partitioning requires that an application is not able to corrupt resources used by a different application. In the architecture proposed in this thesis, spatial partitioning is implemented using type-1 hypervisors, which allow definition of resource partitions. An application running in a partition can only access resources granted to that partition, therefore it cannot corrupt resources used by applications running in other partitions. Temporal partitioning requires that an application is not able to unexpectedly change the execution time of other applications. In the proposed architecture, temporal partitioning has been solved using a bounded interference approach, composed of an offline analysis phase and an online safety net. The offline phase is based on a statistical profiling of a metric sensitive to temporal interference’s, performed in nominal conditions, which allows definition of a set of three thresholds: 1. the detection threshold TD; 2. the warning threshold TW ; 3. the α threshold. Two rules of detection are defined using such thresholds: Alarm rule When the value of the metric is above TD. Warning rule When the value of the metric is in the warning region [TW ;TD] for more than α consecutive times. ODIn’s online safety-net exploits performance counters, available in many MPSoC architectures; such counters are configured at bootstrap to monitor the selected metric(s), and to raise an interrupt request (IRQ) in case the metric value goes above TD, implementing the alarm rule. The warning rule is implemented in a software detection module, which reads the value of performance counters when the monitored task yields control to the scheduler and reset them if there is no detection. ODIn also uses two additional detection mechanisms: 1. a control flow check technique, based on compile-time defined block signatures, is implemented through a set of watchdog processors, each monitoring one partition. 2. a timeout is implemented through a system watchdog timer (SWDT), which is able to send an external signal when the timeout is violated. The recovery actions implemented in ODIn are: ‱ graceful degradation, to react to IRQs of WDPs monitoring non-critical applications or to warning rule violations; it temporarily stops non-critical applications to grant resources to the critical application; ‱ hard recovery, to react to the SWDT, to the WDP of the critical application, or to alarm rule violations; it causes a switch to a hot stand-by spare computer. Experimental validation of ODIn was performed on two hardware platforms: the ZedBoard - dual-core - and the Inventami board - quad-core. A space benchmark and an avionic benchmark were implemented on both platforms, composed by different modules as showed in Table 1 Each version of the final application was evaluated through fault injection (FI) campaigns, performed using a specifically designed FI system. There were three types of FI campaigns: 1. HW FI, to emulate single event effects; 2. SW FI, to emulate bugs in non-critical applications; 3. artificial bug FI, to emulate a bug in non-critical applications introducing unexpected interference on the critical application. Experimental results show that ODIn is resilient to all considered types of faul

    Timing Predictability in Future Multi-Core Avionics Systems

    Full text link

    Analyse et optimisation des réseaux avioniques hétérogÚnes

    Get PDF
    La complexitĂ© des architectures de communication avioniques ne cesse de croĂźtre avec l’augmentation du nombre des terminaux interconnectĂ©s et l’expansion de la quantitĂ© des donnĂ©es Ă©changĂ©es. Afin de rĂ©pondre aux besoins Ă©mergents en terme de bande passante, latence et modularitĂ©, l’architecture de communication avionique actuelle consiste Ă  utiliser le rĂ©seau AFDX (Avionics Full DupleX Switched Ethernet) pour connecter les calculateurs et utiliser des bus d’entrĂ©e/sortie (par exemple le bus CAN (Controller Area Network)) pour connecter les capteurs et les actionneurs. Les rĂ©seaux ainsi formĂ©s sont connectĂ©s en utilisant des Ă©quipements d’interconnexion spĂ©cifiques, appelĂ©s RDC (Remote Data Concentrators) et standardisĂ© sous la norme ARINC655. Les RDCs sont des passerelles de communication modulaires qui sont reparties dans l’avion afin de gĂ©rer l’hĂ©tĂ©rogĂ©nĂ©itĂ© entre le rĂ©seau cƓur AFDX et les bus d’entrĂ©e/sortie. Certes, les RDCs permettent d’amĂ©liorer la modularitĂ© du systĂšme avionique et de rĂ©duire le coĂ»t de sa maintenance; mais, ces Ă©quipements sont devenus un des dĂ©fis majeurs durant la conception de l’architecture avionique afin de garantir les performances requises du systĂšme. Les implĂ©mentations existantes du RDC effectuent souvent une translation direct des trames et n’implĂ©mentent aucun mĂ©canisme de gestion de ressources. Or, une utilisation efficace des ressources est un besoin important dans le contexte avionique afin de faciliter l’évolution du systĂšme et l’ajout de nouvelles fonctions. Ainsi, l’objectif de cette thĂšse est la conception et la validation d’un RDC optimisĂ© implĂ©mentant des mĂ©canismes de gestion des ressources afin d’amĂ©liorer les performances de l’architecture de communication avionique tout en respectant les contraintes temporelles du systĂšme. Afin d’atteindre cet objectif, un RDC pour les architectures rĂ©seaux de type CAN-AFDX est conçu, intĂ©grant les fonctions suivantes: (i) groupement des trames appliquĂ© aux flux montants, i.e., flux gĂ©nĂ©rĂ©s par les capteurs et destinĂ©s Ă  l’AFDX, pour minimiser le coĂ»t des communication sur l’AFDX; (ii) la rĂ©gulation des flux descendants, i.e., flux gĂ©nĂ©rĂ©s par des terminaux AFDX et destinĂ©s aux actionneurs, pour rĂ©duire les contentions sur le bus CAN. Par ailleurs, notre RDC permet de connecter plusieurs bus CAN Ă  la fois tout en garantissant une isolation entre les flux. Par la suite, afin d’analyser l’impact de ce nouveau RDC sur les performances du systĂšme avionique, nous procĂ©dons Ă  la modĂ©lisation de l’architecture CAN-AFDX, et particuliĂšrement le RDC et ses nouvelles fonctions. Ensuite, nous introduisons une mĂ©thode d’analyse temporelle pour calculer des bornes maximales sur les dĂ©lais de bout en bout et vĂ©rifier le respect des contraintes temps-rĂ©el. Plusieurs configurations du RDC peuvent rĂ©pondre aux exigences du systĂšme avionique tout en offrant des Ă©conomies de ressources. Nous procĂ©dons donc au paramĂ©trage du RDC afin de minimiser la consommation de bande passante sur l’AFDX tout en respectant les contraintes temporelles. Ce problĂšme d’optimisation est considĂ©rĂ© comme NP-complet, et l’introduction des heuristiques adĂ©quates s’est avĂ©rĂ©e nĂ©cessaire afin de trouver la meilleure configuration possible du RDC. Enfin, les performances de ce nouveau RDC sont validĂ©es Ă  travers une architecture CAN-AFDX rĂ©aliste, avec plusieurs bus CAN et des centaines de flux Ă©changĂ©s. DiffĂ©rents niveaux d’utilisation des bus CAN ont Ă©tĂ© considĂ©rĂ©s et les rĂ©sultats obtenus ont montrĂ© l’efficacitĂ© de notre RDC Ă  amĂ©liorer la gestion des ressources du systĂšme avionique tout en respectant les contraintes temporelles de communication. En particulier, notre RDC offre une rĂ©duction de la bande passante AFDX allant jusqu’à 40% en comparaison avec le RDC actuellement utilisĂ©. ABSTRACT : The aim of my thesis is to provide a resources-efficient gateway to connect Input/Output (I/O) CAN buses to a backbone network based on AFDX technology, in modern avionics communication architectures. Currently, the Remote Data Concentrator (RDC) is the main standard for gateways in avionics; and the existing implementations do not integrate any resource management mechanism. To handle these limitations, we design an enhanced CAN-AFDX RDC integrating new functions: (i) Frame Packing (FP) allowing to reduce communication overheads with reference to the currently used "1 to 1" frame conversion strategy; (ii) Hierarchical Traffic Shaping (HTS) to reduce contention on the CAN bus. Furthermore, our proposed RDC allows the connection of multiple I/O CAN buses to AFDX while guaranteeing isolation between different criticality levels, using a software partitioning mechanism. To analyze the performance guarantees offered by our proposed RDC, we considered two metrics: the end-to-end latency and the induced AFDX bandwidth consumption. Furthermore, an optimization process was proposed to achieve an optimal configuration of our proposed RDC, i.e., minimizing the bandwidth utilization while meeting the real-time constraints of communication. Finally, the capacity of our proposed RDC to meet the emerging avionics requirements has been validated through a realistic avionics case study

    Ethernet - a survey on its fields of application

    Get PDF
    During the last decades, Ethernet progressively became the most widely used local area networking (LAN) technology. Apart from LAN installations, Ethernet became also attractive for many other fields of application, ranging from industry to avionics, telecommunication, and multimedia. The expanded application of this technology is mainly due to its significant assets like reduced cost, backward-compatibility, flexibility, and expandability. However, this new trend raises some problems concerning the services of the protocol and the requirements for each application. Therefore, specific adaptations prove essential to integrate this communication technology in each field of application. Our primary objective is to show how Ethernet has been enhanced to comply with the specific requirements of several application fields, particularly in transport, embedded and multimedia contexts. The paper first describes the common Ethernet LAN technology and highlights its main features. It reviews the most important specific Ethernet versions with respect to each application field’s requirements. Finally, we compare these different fields of application and we particularly focus on the fundamental concepts and the quality of service capabilities of each proposal

    Analysis and optimiozation of heterogeneous avionics networks

    Get PDF
    The aim of my thesis is to provide a resources-efficient gateway to connect Input/Output (I/O) CAN buses to a backbone network based on AFDX technology, in modern avionics communication architectures. Currently, the Remote Data Concentrator (RDC) is the main standard for gateways in avionics; and the existing implementations do not integrate any resource management mechanism. To handle these limitations, we design an enhanced CAN-AFDX RDC integrating new functions: (i) Frame Packing (FP) allowing to reduce communication overheads with reference to the currently used "1 to 1" frame conversion strategy; (ii) Hierarchical Traffic Shaping (HTS) to reduce contention on the CAN bus. Furthermore, our proposed RDC allows the connection of multiple I/O CAN buses to AFDX while guaranteeing isolation between different criticality levels, using a software partitioning mechanism. To analyze the performance guarantees offered by our proposed RDC, we considered two metrics: the end-to-end latency and the induced AFDX bandwidth consumption. Furthermore, an optimization process was proposed to achieve an optimal configuration of our proposed RDC, i.e., minimizing the bandwidth utilization while meeting the real-time constraints of communication. Finally, the capacity of our proposed RDC to meet the emerging avionics requirements has been validated through a realistic avionics case study

    Model-based optimization of ARINC-653 partition scheduling

    Get PDF
    • 

    corecore