Abstract
We develop a model-based approach to predict timing of service-based software applications on Linux-based multi-core platforms for alternative mappings (affinity and priority settings). Service-based applications consist of communicating sequential (Linux) processes. These processes execute functions (also called services), but can only execute them one at a time. Models are inferred automatically from execution traces to enable timing optimization of existing (legacy) systems. Our approach relies on a linear progress approximation of functions. We compute the expected share of each function based on the mapping (affinity and priority) parameters and the functions that are currently active. We validate our models by carrying out a controlled lab experiment consisting of a multi-process pipelined application mapped in different ways on a quadcore Intel i7 processor. A broad class of affinity and priority settings is fundamentally unpredictable due to Linux binding policies. We show that predictability can be achieved if the platform is partitioned in disjoint clusters of cores such that i) each process is bound to such a cluster, ii) processes with non real-time priorities are bound to singleton clusters, and iii) all processes bound to a non-singleton cluster have different real-time priorities. For mappings using singleton clusters with niceness priorities only, our model predicts execution latencies (for each pipeline iteration) with errors less than 5% relative to the measured execution times. For mappings using a non-singleton cluster (with different real-time priorities) relative errors of less than 2% are obtained. When real-time and niceness priorities are mixed, we predict with errors of 7%.
Original language | English |
---|---|
Title of host publication | Proceedings - 21st Euromicro Conference on Digital System Design, DSD 2018 |
Editors | Nikos Konofaos, Martin Novotny, Amund Skavhaug |
Place of Publication | Piscataway |
Publisher | Institute of Electrical and Electronics Engineers |
Pages | 130-139 |
Number of pages | 10 |
ISBN (Electronic) | 978-1-5386-7377-5 |
ISBN (Print) | 978-1-5386-7378-2 |
DOIs | |
Publication status | Published - 12 Oct 2018 |
Event | 21st Euromicro Conference on Digital System Design, DSD 2018 - Prague, Czech Republic Duration: 29 Aug 2018 → 31 Aug 2018 Conference number: 21 http://dsd-seaa2018.fit.cvut.cz/dsd/ |
Conference
Conference | 21st Euromicro Conference on Digital System Design, DSD 2018 |
---|---|
Abbreviated title | DSD 2018 |
Country/Territory | Czech Republic |
City | Prague |
Period | 29/08/18 → 31/08/18 |
Internet address |
Keywords
- Fair Share Scheduling
- Linux multi-core platform
- Software-Oriented Architecture
- Y-chart model