LAPSE:2023.30404
Published Article
LAPSE:2023.30404
Reducing WCET Overestimations in Multi-Thread Loops with Critical Section Usage
Simona Ramanauskaite, Asta Slotkiene, Kornelija Tunaityte, Ivan Suzdalev, Andrius Stankevicius, Saulius Valentinavicius
April 14, 2023
Abstract
Worst-case execution time (WCET) is an important metric in real-time systems that helps in energy usage modeling and predefined execution time requirement evaluation. While basic timing analysis relies on execution path identification and its length evaluation, multi-thread code with critical section usage brings additional complications and requires analysis of resource-waiting time estimation. In this paper, we solve a problem of worst-case execution time overestimation reduction in situations when multiple threads are executing loops with the same critical section usage in each iteration. The experiment showed the worst-case execution time does not take into account the proportion between computational and critical sections; therefore, we proposed a new worst-case execution time calculation model to reduce the overestimation. The proposed model results prove to reduce the overestimation on average by half in comparison to the theoretical model. Therefore, this leads to more accurate execution time and energy consumption estimation.
Keywords
critical section, loop, overestimation, threads, WCET analysis, worst-case execution path
Suggested Citation
Ramanauskaite S, Slotkiene A, Tunaityte K, Suzdalev I, Stankevicius A, Valentinavicius S. Reducing WCET Overestimations in Multi-Thread Loops with Critical Section Usage. (2023). LAPSE:2023.30404
Author Affiliations
Ramanauskaite S: Department of Information Technology, Vilnius Gediminas Technical University, LT-10223 Vilnius, Lithuania [ORCID]
Slotkiene A: Department of Information Systems, Vilnius Gediminas Technical University, LT-10223 Vilnius, Lithuania
Tunaityte K: Department of Aeronautical Engineering, Vilnius Gediminas Technical University, LT-10223 Vilnius, Lithuania
Suzdalev I: Department of Aeronautical Engineering, Vilnius Gediminas Technical University, LT-10223 Vilnius, Lithuania
Stankevicius A: Department of Aeronautical Engineering, Vilnius Gediminas Technical University, LT-10223 Vilnius, Lithuania
Valentinavicius S: Department of Information Technology, Vilnius Gediminas Technical University, LT-10223 Vilnius, Lithuania
Journal Name
Energies
Volume
14
Issue
6
First Page
1747
Year
2021
Publication Date
2021-03-21
ISSN
1996-1073
Version Comments
Original Submission
Other Meta
PII: en14061747, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2023.30404
This Record
External Link

https://doi.org/10.3390/en14061747
Publisher Version
Download
Files
Apr 14, 2023
Main Article
License
CC BY 4.0
Meta
Record Statistics
Record Views
543
Version History
[v1] (Original Submission)
Apr 14, 2023
 
Verified by curator on
Apr 14, 2023
This Version Number
v1
Citations
Most Recent
This Version
URL Here
https://psecommunity.org/LAPSE:2023.30404
 
Record Owner
Auto Uploader for LAPSE
Links to Related Works
Directly Related to This Work
Publisher Version
(0.09 seconds)

[0.1 s]