Pushing Performance Isolation Boundaries into Application with pBox

Pushing Performance Isolation Boundaries into Application with pBox
复制标题

DOI:
10.1145/3600006.3613159
复制
发表时间:
2023-10
期刊:
Proceedings of the 29th Symposium on Operating Systems Principles
影响因子:
--
通讯作者:
Yigong Hu;Gongqi Huang;Peng Huang
Yigong Hu;Gongqi Huang;Peng Huang
中科院分区:
其他
文献类型:
--
作者:
Yigong Hu;Gongqi Huang;Peng Huang

文献摘要

相似文献

现代应用程序与各种活动高度并发。一个活动可能会对应用程序中其他活动的性能产生不利影响,从而导致应用程序内干扰。需要提供细粒度的性能隔离。不幸的是,目前广泛的性能隔离解决方案都集中在减轻多个应用程序之间的粗粒度干扰上。它们不能很好地解决应用内干扰,因为此类问题通常不是由硬件资源争用引起的。本文提出了一种称为pBox的抽象,供开发人员在应用程序中系统地实现强大的性能隔离。我们的见解是,应用程序内的干扰涉及应用程序级的虚拟资源,这往往是不可见的操作系统。我们定义的pBox API,允许应用程序通知操作系统关于一些一般类型的状态事件。利用这些信息,我们设计的算法可以有效地预测即将发生的干扰,并仔细地对有噪声的pBox应用惩罚,以实现指定的隔离目标。我们将pBox应用于五个大型应用程序。我们评估的pBox增强的应用程序与16个现实世界的性能干扰的情况下。pBox成功缓解了15种情况,平均减少了86.3%的干扰。
Modern applications are highly concurrent with a diverse mix of activities. One activity can adversely impact the performance of other activities in an application, leading to intra-application interference. Providing fine-grained performance isolation is desirable. Unfortunately, the extensive performance isolation solutions today focus on mitigating coarse-grained interference among multiple applications. They cannot well address intra-app interference, because such issues are typically not caused by contention on hardware resources. This paper presents an abstraction called pBox for developers to systematically achieve strong performance isolation within an application. Our insight is that intra-app interference involves application-level virtual resources, which are often invisible to the OS. We define pBox APIs that allow an application to inform the OS about a few general types of state events. Leveraging this information, we design algorithms that effectively predict imminent interference and carefully apply penalties to the noisy pBoxes to achieve a specified isolation goal. We apply pBox on five large applications. We evaluate the pBox-enhanced applications with 16 real-world performance interference cases. pBox successfully mitigates 15 cases, with an average of 86.3% reduction of the interference.