Optimizing Logical Execution Time Model for Both Determinism and Low Latency

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Sen, Li, Dong, Sifat, Ashrarul H., Huang, Shao-Yu, Deng, Xuanliang, Jung, Changhee, Williams, Ryan, Zeng, Haibo
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913257457975296
author Wang, Sen
Li, Dong
Sifat, Ashrarul H.
Huang, Shao-Yu
Deng, Xuanliang
Jung, Changhee
Williams, Ryan
Zeng, Haibo
author_facet Wang, Sen
Li, Dong
Sifat, Ashrarul H.
Huang, Shao-Yu
Deng, Xuanliang
Jung, Changhee
Williams, Ryan
Zeng, Haibo
contents The Logical Execution Time (LET) programming model has recently received considerable attention, particularly because of its timing and dataflow determinism. In LET, task computation appears always to take the same amount of time (called the task's LET interval), and the task reads (resp. writes) at the beginning (resp. end) of the interval. Compared to other communication mechanisms, such as implicit communication and Dynamic Buffer Protocol (DBP), LET performs worse on many metrics, such as end-to-end latency (including reaction time and data age) and time disparity jitter. Compared with the default LET setting, the flexible LET (fLET) model shrinks the LET interval while still guaranteeing schedulability by introducing the virtual offset to defer the read operation and using the virtual deadline to move up the write operation. Therefore, fLET has the potential to significantly improve the end-to-end timing performance while keeping the benefits of deterministic behavior on timing and dataflow. To fully realize the potential of fLET, we consider the problem of optimizing the assignments of its virtual offsets and deadlines. We propose new abstractions to describe the task communication pattern and new optimization algorithms to explore the solution space efficiently. The algorithms leverage the linearizability of communication patterns and utilize symbolic operations to achieve efficient optimization while providing a theoretical guarantee. The framework supports optimizing multiple performance metrics and guarantees bounded suboptimality when optimizing end-to-end latency. Experimental results show that our optimization algorithms improve upon the default LET and its existing extensions and significantly outperform implicit communication and DBP in terms of various metrics, such as end-to-end latency, time disparity, and its jitter.
format Preprint
id arxiv_https___arxiv_org_abs_2310_19699
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Optimizing Logical Execution Time Model for Both Determinism and Low Latency
Wang, Sen
Li, Dong
Sifat, Ashrarul H.
Huang, Shao-Yu
Deng, Xuanliang
Jung, Changhee
Williams, Ryan
Zeng, Haibo
Systems and Control
Operating Systems
Symbolic Computation
The Logical Execution Time (LET) programming model has recently received considerable attention, particularly because of its timing and dataflow determinism. In LET, task computation appears always to take the same amount of time (called the task's LET interval), and the task reads (resp. writes) at the beginning (resp. end) of the interval. Compared to other communication mechanisms, such as implicit communication and Dynamic Buffer Protocol (DBP), LET performs worse on many metrics, such as end-to-end latency (including reaction time and data age) and time disparity jitter. Compared with the default LET setting, the flexible LET (fLET) model shrinks the LET interval while still guaranteeing schedulability by introducing the virtual offset to defer the read operation and using the virtual deadline to move up the write operation. Therefore, fLET has the potential to significantly improve the end-to-end timing performance while keeping the benefits of deterministic behavior on timing and dataflow. To fully realize the potential of fLET, we consider the problem of optimizing the assignments of its virtual offsets and deadlines. We propose new abstractions to describe the task communication pattern and new optimization algorithms to explore the solution space efficiently. The algorithms leverage the linearizability of communication patterns and utilize symbolic operations to achieve efficient optimization while providing a theoretical guarantee. The framework supports optimizing multiple performance metrics and guarantees bounded suboptimality when optimizing end-to-end latency. Experimental results show that our optimization algorithms improve upon the default LET and its existing extensions and significantly outperform implicit communication and DBP in terms of various metrics, such as end-to-end latency, time disparity, and its jitter.
title Optimizing Logical Execution Time Model for Both Determinism and Low Latency
topic Systems and Control
Operating Systems
Symbolic Computation
url https://arxiv.org/abs/2310.19699