{"title":"基于庞特里亚金原理的受限计算系统频率调节器","authors":"Sachit Rao;Nishant Malpani;Shrisha Rao","doi":"10.1109/TCST.2024.3373228","DOIUrl":null,"url":null,"abstract":"Management of power is a crucial problem in computing systems where power is finite, processor performance and energy needs are high, and thermal constraints have to be respected. The trade-off between performance and energy expenditure is well recognized. To satisfy these conflicting requirements, in this article, a dynamic system framework is adopted, and results from optimal control theory, notably Pontryagin’s Minimum Principle (PMP), are applied to derive an energy-optimal (EO) time-varying processor speed law, or frequency governor, to execute assigned tasks. PMP is chosen as it allows for system input constraints as well as thermal and power budget constraints to be considered; the PMP-based governor is also compared with a Model Predictive Controller (MPC) implemented by following the Explicit-MPC framework using a linear model. The main contributions of this article are 1) determining an empirical time-invariant nonlinear dynamic model of an Intel CPU with task execution rate, power consumption, and temperature as the outputs, and clock frequency as the input; 2) the Linux implementation of a PMP-based clock frequency governor on the CPU based on a linear model as well as the nonlinear model; and 3) hardware implementation of an Explicit-MPC on the same platform using the frequency schedule derived from linear model simulations. Limits on task completion times and energy savings achieved in the execution of three benchmark tasks: MiBench, LINPACK, and Sorting positive integers, are presented. Experimental results show that it is possible to reduce energy consumption with an increase in task execution time while executing these benchmark tasks; it is also shown that it is possible to tune the PMP and MPC parameters to obtain similar performances. The approach presented in this article can be applied to design optimal controllers for other types of stand-alone or heterogeneous computing systems.","PeriodicalId":13103,"journal":{"name":"IEEE Transactions on Control Systems Technology","volume":"32 4","pages":"1442-1450"},"PeriodicalIF":4.9000,"publicationDate":"2024-03-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Pontryagin Principle-Based Frequency Governor for Constrained Computing Systems\",\"authors\":\"Sachit Rao;Nishant Malpani;Shrisha Rao\",\"doi\":\"10.1109/TCST.2024.3373228\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Management of power is a crucial problem in computing systems where power is finite, processor performance and energy needs are high, and thermal constraints have to be respected. The trade-off between performance and energy expenditure is well recognized. To satisfy these conflicting requirements, in this article, a dynamic system framework is adopted, and results from optimal control theory, notably Pontryagin’s Minimum Principle (PMP), are applied to derive an energy-optimal (EO) time-varying processor speed law, or frequency governor, to execute assigned tasks. PMP is chosen as it allows for system input constraints as well as thermal and power budget constraints to be considered; the PMP-based governor is also compared with a Model Predictive Controller (MPC) implemented by following the Explicit-MPC framework using a linear model. The main contributions of this article are 1) determining an empirical time-invariant nonlinear dynamic model of an Intel CPU with task execution rate, power consumption, and temperature as the outputs, and clock frequency as the input; 2) the Linux implementation of a PMP-based clock frequency governor on the CPU based on a linear model as well as the nonlinear model; and 3) hardware implementation of an Explicit-MPC on the same platform using the frequency schedule derived from linear model simulations. Limits on task completion times and energy savings achieved in the execution of three benchmark tasks: MiBench, LINPACK, and Sorting positive integers, are presented. Experimental results show that it is possible to reduce energy consumption with an increase in task execution time while executing these benchmark tasks; it is also shown that it is possible to tune the PMP and MPC parameters to obtain similar performances. The approach presented in this article can be applied to design optimal controllers for other types of stand-alone or heterogeneous computing systems.\",\"PeriodicalId\":13103,\"journal\":{\"name\":\"IEEE Transactions on Control Systems Technology\",\"volume\":\"32 4\",\"pages\":\"1442-1450\"},\"PeriodicalIF\":4.9000,\"publicationDate\":\"2024-03-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on Control Systems Technology\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10473186/\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AUTOMATION & CONTROL SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Control Systems Technology","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10473186/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
引用次数: 0
摘要
在计算系统中,功率管理是一个关键问题,因为功率是有限的,处理器的性能和能源需求都很高,而且必须遵守热约束。性能与能源消耗之间的权衡已得到广泛认可。为了满足这些相互冲突的要求,本文采用了动态系统框架,并应用最优控制理论的成果,特别是庞特里亚金最小原理(PMP),推导出一种能耗最优(EO)时变处理器速度法则或频率调节器,以执行分配的任务。选择 PMP 是因为它允许考虑系统输入约束以及热和功率预算约束;基于 PMP 的调速器还与模型预测控制器 (MPC) 进行了比较,后者是通过使用线性模型的显式 MPC 框架实现的。本文的主要贡献在于:1)确定了英特尔 CPU 的经验时变非线性动态模型,将任务执行率、功耗和温度作为输出,将时钟频率作为输入;2)基于线性模型和非线性模型,在 CPU 上用 Linux 实现了基于 PMP 的时钟频率调速器;3)使用从线性模型模拟中得出的频率计划,在同一平台上用硬件实现了显式 MPC。在执行三个基准任务时,任务完成时间和节能效果的限制:介绍了 MiBench、LINPACK 和正整数排序。实验结果表明,在执行这些基准任务时,可以通过增加任务执行时间来降低能耗;实验还表明,可以通过调整 PMP 和 MPC 参数来获得类似的性能。本文介绍的方法可用于为其他类型的独立或异构计算系统设计最优控制器。
A Pontryagin Principle-Based Frequency Governor for Constrained Computing Systems
Management of power is a crucial problem in computing systems where power is finite, processor performance and energy needs are high, and thermal constraints have to be respected. The trade-off between performance and energy expenditure is well recognized. To satisfy these conflicting requirements, in this article, a dynamic system framework is adopted, and results from optimal control theory, notably Pontryagin’s Minimum Principle (PMP), are applied to derive an energy-optimal (EO) time-varying processor speed law, or frequency governor, to execute assigned tasks. PMP is chosen as it allows for system input constraints as well as thermal and power budget constraints to be considered; the PMP-based governor is also compared with a Model Predictive Controller (MPC) implemented by following the Explicit-MPC framework using a linear model. The main contributions of this article are 1) determining an empirical time-invariant nonlinear dynamic model of an Intel CPU with task execution rate, power consumption, and temperature as the outputs, and clock frequency as the input; 2) the Linux implementation of a PMP-based clock frequency governor on the CPU based on a linear model as well as the nonlinear model; and 3) hardware implementation of an Explicit-MPC on the same platform using the frequency schedule derived from linear model simulations. Limits on task completion times and energy savings achieved in the execution of three benchmark tasks: MiBench, LINPACK, and Sorting positive integers, are presented. Experimental results show that it is possible to reduce energy consumption with an increase in task execution time while executing these benchmark tasks; it is also shown that it is possible to tune the PMP and MPC parameters to obtain similar performances. The approach presented in this article can be applied to design optimal controllers for other types of stand-alone or heterogeneous computing systems.
期刊介绍:
The IEEE Transactions on Control Systems Technology publishes high quality technical papers on technological advances in control engineering. The word technology is from the Greek technologia. The modern meaning is a scientific method to achieve a practical purpose. Control Systems Technology includes all aspects of control engineering needed to implement practical control systems, from analysis and design, through simulation and hardware. A primary purpose of the IEEE Transactions on Control Systems Technology is to have an archival publication which will bridge the gap between theory and practice. Papers are published in the IEEE Transactions on Control System Technology which disclose significant new knowledge, exploratory developments, or practical applications in all aspects of technology needed to implement control systems, from analysis and design through simulation, and hardware.