arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.19434cs.OScs.LG
收藏

边缘计算中面向多任务系统的基于深度强化学习的DVFS节能计算

Energy-Efficient Computation with DVFS using Deep Reinforcement Learning for Multi-Task Systems in Edge Computing

Department of Computer Science, St. Francis Xavier University, Canada(计算机科学系,圣弗朗西斯大学,加拿大)

Xinyi Li, Ti Zhou, Haoyu Wang, Man Lin

AI总结:

本研究针对边缘设备多任务场景的节能需求,提出两种基于系统利用率的编码方法,结合强化学习生成DVFS策略,在Jetson Nano上实现了比Linux内置调控器高3%-10%的功耗节省。

摘要:

找到既能适配底层边缘设备、又能满足任务截止期限的最优节能策略一直是一项挑战。本研究针对边缘设备上的周期性软实时应用,研究了采用基于强化学习的动态电压频率调节(DVFS)的多任务、多截止期限通用系统,以实现节能。\n本工作解决了以往研究将周期性系统建模为单任务、单截止期限场景的局限性——这类建模过于简化,无法应对复杂场景。所提方法将Linux内核中的时间序列数据编码为强化学习易于解读的信息,使系统能够生成DVFS策略,根据通用工作负载适配系统模式。针对编码环节,我们提出了两种不同方法用于对比,两种方法均仅使用一个性能计数器:系统利用率,且内核仅需从用户空间获取极少信息。\n我们在Jetson Nano Board(2GB)上实现了该方法,并用三种固定多任务工作负载进行测试,工作负载分别包含3个、5个和8个任务。为验证随机性与泛化性,我们还设计了一个随机工作负载生成器,构建不同的多任务工作负载进行测试。测试结果显示,与Linux内置调控器相比,本方法可节省3%-10%的功耗。

英文摘要:

Finding an optimal energy-efficient policy that is adaptable to underlying edge devices while meeting deadlines for tasks has always been challenging. This research studies generalized systems with multi-task, multi-deadline scenarios with reinforcement learning-based DVFS for energy saving for periodic soft real-time applications on edge devices. This work addresses the limitation of previous work that models a periodic system as a single task and single-deadline scenario, which is too simplified to cope with complex situations. The method encodes time series data in the Linux kernel into information that is easy to interpret for reinforcement learning, allowing the system to generate DVFS policies to adapt system patterns based on the general workload. For encoding, we present two different methods for comparison. Both methods use only one performance counter: system utilization, and the kernel only needs minimal information from the userspace. Our method is implemented on Jetson Nano Board (2GB) and is tested with three fixed multitask workloads, which are three, five, and eight tasks in the workload, respectively. For randomness and generalization, we also designed a random workload generator to build different multitask workloads to test. Based on the test results, our method could save 3%-10% power compared to Linux built-in governors.

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

↑