arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.19699eess.SYcs.OScs.SCcs.SY
收藏

面向确定性与低延迟的逻辑执行时间模型优化

Optimizing Logical Execution Time Model for Both Determinism and Low Latency

Sen Wang, Dong Li, Ashrarul H. Sifat, Shao-Yu Huang, Xuanliang Deng, Changhee Jung, Ryan Williams, Haibo Zeng

AI总结:

针对LET模型端到端延迟等指标表现不佳的问题,本文提出fLET模型虚拟偏移与截止时间的优化算法,在保留确定性的同时显著提升多维度时序性能。

摘要:

逻辑执行时间(Logical Execution Time,LET)编程模型近年来受到广泛关注,这主要得益于其时序与数据流确定性。在LET模型中,任务计算的耗时始终固定(该时长称为任务的LET区间),且任务在区间起始时读取数据、在区间结束时写入数据。与隐式通信、动态缓冲区协议(Dynamic Buffer Protocol,DBP)等其他通信机制相比,LET在端到端延迟(含反应时间与数据寿命)、时间差抖动等多项指标上表现更差。与默认LET设置相比,灵活LET(flexible LET,fLET)模型通过引入虚拟偏移推迟读操作、利用虚拟截止时间提前写操作,在保证可调度性的前提下缩短了LET区间。因此,fLET有望在保留时序与数据流确定性优势的同时,显著提升端到端时序性能。\n为充分挖掘fLET的潜力,本文研究其虚拟偏移与截止时间的分配优化问题。我们提出了描述任务通信模式的新抽象,以及可高效探索解空间的新型优化算法。该算法利用通信模式的线性一致性,借助符号运算实现高效优化,同时提供理论保证。该框架支持多性能指标优化,且在优化端到端延迟时可保证有界次优性。实验结果表明,本文的优化算法优于默认LET及其现有扩展方案,在端到端延迟、时间差及其抖动等多项指标上显著优于隐式通信与DBP。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑