Greedy Tuning Algorithm for Resource Scheduling of PISA Chips

Yikai Guo, Jie Liu, Zhiyu Duan, Zhizhao Luo, Wei Li, Bowei Ning
{"title":"Greedy Tuning Algorithm for Resource Scheduling of PISA Chips","authors":"Yikai Guo, Jie Liu, Zhiyu Duan, Zhizhao Luo, Wei Li, Bowei Ning","doi":"10.1109/IDITR57726.2023.10145929","DOIUrl":null,"url":null,"abstract":"PISA (Protocol Independent Switch Architecture) is one of the mainstream programmable chip architectures, allowing users to define the functions and behaviors of the data plane with PISA language. The PISA chip optimizes robot design by providing flexible data processing capabilities, reducing the difficulty of robot maintenance, and enhancing the interoperability of the robot with other devices or systems. However, the application of the PISA chip faces two challenges. (1) Due to the complex dependencies and constraints in the chip, the current chip resource allocation algorithms waste a lot of pipeline stages when executing basic blocks of programs. (2) The time complexity of existing resource scheduling algorithms is high, which affects the efficiency of the chip. To tackle these challenges, we introduce a low-complexity greedy tuning algorithm to schedule the resource of the chip. Firstly, we unify the data dependencies and control dependencies as path constraints, which are derived from the program flowchart and variable read-write information. Then the initial feasible schedule scheme is constructed under the given constraints. Finally, we optimize the initial feasible solution by designing a new data structure, namely segment flowchart, which efficiently solves the resource-sharing problem among basic blocks within the same pipeline stage. In a practical example, basic blocks are successfully placed into the pipeline under given constraints, saving 14.9% of pipeline stages compared with the sequential approach. Our code and dataset are publicly available.","PeriodicalId":272880,"journal":{"name":"2023 2nd International Conference on Innovations and Development of Information Technologies and Robotics (IDITR)","volume":"47 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 2nd International Conference on Innovations and Development of Information Technologies and Robotics (IDITR)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IDITR57726.2023.10145929","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

PISA (Protocol Independent Switch Architecture) is one of the mainstream programmable chip architectures, allowing users to define the functions and behaviors of the data plane with PISA language. The PISA chip optimizes robot design by providing flexible data processing capabilities, reducing the difficulty of robot maintenance, and enhancing the interoperability of the robot with other devices or systems. However, the application of the PISA chip faces two challenges. (1) Due to the complex dependencies and constraints in the chip, the current chip resource allocation algorithms waste a lot of pipeline stages when executing basic blocks of programs. (2) The time complexity of existing resource scheduling algorithms is high, which affects the efficiency of the chip. To tackle these challenges, we introduce a low-complexity greedy tuning algorithm to schedule the resource of the chip. Firstly, we unify the data dependencies and control dependencies as path constraints, which are derived from the program flowchart and variable read-write information. Then the initial feasible schedule scheme is constructed under the given constraints. Finally, we optimize the initial feasible solution by designing a new data structure, namely segment flowchart, which efficiently solves the resource-sharing problem among basic blocks within the same pipeline stage. In a practical example, basic blocks are successfully placed into the pipeline under given constraints, saving 14.9% of pipeline stages compared with the sequential approach. Our code and dataset are publicly available.
PISA芯片资源调度的贪心调优算法
PISA (Protocol Independent Switch Architecture)是目前主流的可编程芯片架构之一,允许用户用PISA语言定义数据平面的功能和行为。PISA芯片通过提供灵活的数据处理能力、降低机器人维护的难度以及增强机器人与其他设备或系统的互操作性来优化机器人设计。然而,PISA芯片的应用面临两个挑战。(1)由于芯片内部复杂的依赖关系和约束,目前的芯片资源分配算法在执行程序的基本块时浪费了大量的流水线阶段。(2)现有资源调度算法的时间复杂度较高,影响了芯片的效率。为了解决这些问题,我们引入了一种低复杂度的贪心调优算法来调度芯片的资源。首先,根据程序流程图和可变读写信息,将数据依赖关系和控制依赖关系统一为路径约束;然后在给定约束条件下构造初始可行调度方案。最后,通过设计一种新的数据结构,即段流程图,对初始可行解进行优化,有效地解决了同一管道阶段内基本块之间的资源共享问题。在一个实际的例子中,在给定的约束条件下,基本区块被成功地放置到管道中,与顺序方法相比,节省了14.9%的管道阶段。我们的代码和数据集是公开的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信