Timing prediction for service-based applications mapped on linux-based multi-core platforms

Onderzoeksoutput: Hoofdstuk in Boek/Rapport/CongresprocedureConferentiebijdrageAcademicpeer review

1 Downloads (Pure)


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%.

Originele taal-2Engels
TitelProceedings - 21st Euromicro Conference on Digital System Design, DSD 2018
RedacteurenNikos Konofaos, Martin Novotny, Amund Skavhaug
Plaats van productiePiscataway
UitgeverijInstitute of Electrical and Electronics Engineers
Aantal pagina's10
ISBN van elektronische versie978-1-5386-7377-5
ISBN van geprinte versie978-1-5386-7378-2
StatusGepubliceerd - 12 okt. 2018
Evenement21st Euromicro Conference on Digital System Design, DSD 2018 - Prague, Tsjechië
Duur: 29 aug. 201831 aug. 2018
Congresnummer: 21


Congres21st Euromicro Conference on Digital System Design, DSD 2018
Verkorte titelDSD 2018
Internet adres


Duik in de onderzoeksthema's van 'Timing prediction for service-based applications mapped on linux-based multi-core platforms'. Samen vormen ze een unieke vingerafdruk.

Citeer dit