arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.10451eess.SYcs.ARcs.LGcs.PFcs.SY
收藏

SCOPE:动态计算机系统优化的安全探索

SCOPE: Safe Exploration for Dynamic Computer Systems Optimization

MIT(麻省理工学院);University of Chicago(芝加哥大学)

Hyunji Kim, Ahsan Pervaiz, Henry Hoffmann, Michael Carbin, Yi Ding

摘要:

现代计算机系统需要在严格的安全约束下执行(例如,功率限制),但是这样做常常与它们提供高性能(即,最小延迟)的能力相冲突。先前的工作使用机器学习来自动调整硬件资源,以便系统执行最佳地满足安全约束。这样的解决方案监视过去的系统执行,以在动态地调整资源以优化应用执行之前学习系统在不同硬件资源分配下的行为。然而,系统行为可以在不同的应用程序之间,甚至在相同应用程序的不同输入之间发生显著变化。因此,使用先验收集的数据学习的模型通常是次优的,并且在与新的应用和输入一起使用时违反安全约束。为了解决这个问题,我们引入了执行空间的概念,它是硬件资源,输入功能和应用程序的交叉产品。为了动态和安全地分配硬件资源的执行空间,我们提出了范围,资源管理器,利用一种新的安全探索框架。我们评估SCOPE的能力,以提供更好的延迟,同时通过动态配置硬件,同时运行各种Apache Spark应用程序,最大限度地减少功率约束的违规行为。与最小化功率约束违规的先前方法相比,SCOPE消耗相当的功率,同时将延迟提高高达9.5倍。与最小化延迟的先前方法相比,SCOPE实现了类似的延迟,但将功率约束违反率降低了高达45.88倍,在所有应用中实现了几乎为零的安全约束违反。

英文摘要:

Modern computer systems need to execute under strict safety constraints (e.g., a power limit), but doing so often conflicts with their ability to deliver high performance (i.e. minimal latency). Prior work uses machine learning to automatically tune hardware resources such that the system execution meets safety constraints optimally. Such solutions monitor past system executions to learn the system's behavior under different hardware resource allocations before dynamically tuning resources to optimize the application execution. However, system behavior can change significantly between different applications and even different inputs of the same applications. Hence, the models learned using data collected a priori are often suboptimal and violate safety constraints when used with new applications and inputs. To address this limitation, we introduce the concept of an execution space, which is the cross product of hardware resources, input features, and applications. To dynamically and safely allocate hardware resources from the execution space, we present SCOPE, a resource manager that leverages a novel safe exploration framework. We evaluate SCOPE's ability to deliver improved latency while minimizing power constraint violations by dynamically configuring hardware while running a variety of Apache Spark applications. Compared to prior approaches that minimize power constraint violations, SCOPE consumes comparable power while improving latency by up to 9.5X. Compared to prior approaches that minimize latency, SCOPE achieves similar latency but reduces power constraint violation rates by up to 45.88X, achieving almost zero safety constraint violations across all applications.

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

↑