arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.09555cs.NEcs.OS
收藏

一种用于优化嵌入式系统中动态内存管理器的并行进化算法

A parallel evolutionary algorithm to optimize dynamic memory managers in embedded systems

José L. Risco-Martín, David Atienza, J. Manuel Colmenar, Oscar Garnica

AI总结:

针对嵌入式系统动态内存管理器选择难、现有遗传编程优化方法计算耗时长的问题,提出基于SOA框架下DEVS形式化的并行进化算法,实现86.40倍加速比且DMM整体质量提升36.36%。

摘要:

在过去三十年中,研究人员已提出多种动态内存管理器(Dynamic Memory Managers,DMMs),包括首次适配、最佳适配、隔离适配和伙伴系统等。由于不同DMM的性能、内存使用率和能耗存在差异,软件工程师在为应用选择最合适的方案时往往面临困难抉择。这一问题在便携式消费级嵌入式系统领域影响尤为突出,这类系统需运行数量有限的多媒体应用(如3D游戏、视频播放器和信号处理软件等),要求在低能耗下实现高性能和大内存使用量。\n近期,我们开发了一种基于遗传编程的新方法,可自动设计定制化DMM,实现性能、内存使用率和能耗的优化。然而,尽管该过程是自动化的,且速度优于现有最先进的优化方法,但它需要密集的计算量,导致过程耗时较长。因此,并行处理可在相同时间内探索更多解决方案,同时还能实现新算法,具有很高的实用价值。\n本文提出一种面向嵌入式系统DMM优化的新型并行进化算法,该算法基于面向服务架构(Service Oriented Architecture,SOA)框架上的离散事件规范(Discrete Event Specification,DEVS)形式化方法构建。并行性显著提升了串行探索算法的性能:一方面,当两种方法的代数相同时,我们的并行优化框架相比其他现有最先进方法可达到86.40倍的加速比;另一方面,相较于两种知名的通用DMM和两种现有最先进的优化方法,该框架将最终得到的DMM的整体质量(即性能水平、低内存使用率和低能耗)提升了36.36%。

英文摘要:

For the last thirty years, several Dynamic Memory Managers (DMMs) have been proposed. Such DMMs include first fit, best fit, segregated fit and buddy systems. Since the performance, memory usage and energy consumption of each DMM differs, software engineers often face difficult choices in selecting the most suitable approach for their applications. This issue has special impact in the field of portable consumer embedded systems, that must execute a limited amount of multimedia applications (e.g., 3D games, video players and signal processing software, etc.), demanding high performance and extensive memory usage at a low energy consumption. Recently, we have developed a novel methodology based on genetic programming to automatically design custom DMMs, optimizing performance, memory usage and energy consumption. However, although this process is automatic and faster than state-of-the-art optimizations, it demands intensive computation, resulting in a time consuming process. Thus, parallel processing can be very useful to enable to explore more solutions spending the same time, as well as to implement new algorithms. In this paper we present a novel parallel evolutionary algorithm for DMMs optimization in embedded systems, based on the Discrete Event Specification (DEVS) formalism over a Service Oriented Architecture (SOA) framework. Parallelism significantly improves the performance of the sequential exploration algorithm. On the one hand, when the number of generations are the same in both approaches, our parallel optimization framework is able to reach a speed-up of 86.40x when compared with other state-of-the-art approaches. On the other, it improves the global quality (i.e., level of performance, low memory usage and low energy consumption) of the final DMM obtained in a 36.36% with respect to two well-known general-purpose DMMs and two state-of-the-art optimization methodologies.

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

↑