ReQoS: reactive static/dynamic compilation for QoS in warehouse scale computers

Lingjia Tang, Jason Mars, Wei Wang, Tanima Dey, M. Soffa
{"title":"ReQoS: reactive static/dynamic compilation for QoS in warehouse scale computers","authors":"Lingjia Tang, Jason Mars, Wei Wang, Tanima Dey, M. Soffa","doi":"10.1145/2451116.2451126","DOIUrl":null,"url":null,"abstract":"As multicore processors with expanding core counts continue to dominate the server market, the overall utilization of the class of datacenters known as warehouse scale computers (WSCs) depends heavily on colocation of multiple workloads on each server to take advantage of the computational power provided by modern processors. However, many of the applications running in WSCs, such as websearch, are user-facing and have quality of service (QoS) requirements. When multiple applications are co-located on a multicore machine, contention for shared memory resources threatens application QoS as severe cross-core performance interference may occur. WSC operators are left with two options: either disregard QoS to maximize WSC utilization, or disallow the co-location of high-priority user-facing applications with other applications, resulting in low machine utilization and millions of dollars wasted.\n This paper presents ReQoS, a static/dynamic compilation approach that enables low-priority applications to adaptively manipulate their own contentiousness to ensure the QoS of high-priority co-runners. ReQoS is composed of a profile guided compilation technique that identifies and inserts markers in contentious code regions in low-priority applications, and a lightweight runtime that monitors the QoS of high-priority applications and reactively reduces the pressure low-priority applications generate to the memory subsystem when cross-core interference is detected. In this work, we show that ReQoS can accurately diagnose contention and significantly reduce performance interference to ensure application QoS. Applying ReQoS to SPEC2006 and SmashBench workloads on real multicore machines, we are able to improve machine utilization by more than 70% in many cases, and more than 50% on average, while enforcing a 90% QoS threshold. We are also able to improve the energy efficiency of modern multicore machines by 47% on average over a policy of disallowing co-locations.","PeriodicalId":89892,"journal":{"name":"ASPLOS ... proceedings. International Conference on Architectural Support for Programming Languages and Operating Systems","volume":"29 1","pages":"89-100"},"PeriodicalIF":0.0000,"publicationDate":"2013-03-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"61","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ASPLOS ... proceedings. International Conference on Architectural Support for Programming Languages and Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2451116.2451126","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 61

Abstract

As multicore processors with expanding core counts continue to dominate the server market, the overall utilization of the class of datacenters known as warehouse scale computers (WSCs) depends heavily on colocation of multiple workloads on each server to take advantage of the computational power provided by modern processors. However, many of the applications running in WSCs, such as websearch, are user-facing and have quality of service (QoS) requirements. When multiple applications are co-located on a multicore machine, contention for shared memory resources threatens application QoS as severe cross-core performance interference may occur. WSC operators are left with two options: either disregard QoS to maximize WSC utilization, or disallow the co-location of high-priority user-facing applications with other applications, resulting in low machine utilization and millions of dollars wasted. This paper presents ReQoS, a static/dynamic compilation approach that enables low-priority applications to adaptively manipulate their own contentiousness to ensure the QoS of high-priority co-runners. ReQoS is composed of a profile guided compilation technique that identifies and inserts markers in contentious code regions in low-priority applications, and a lightweight runtime that monitors the QoS of high-priority applications and reactively reduces the pressure low-priority applications generate to the memory subsystem when cross-core interference is detected. In this work, we show that ReQoS can accurately diagnose contention and significantly reduce performance interference to ensure application QoS. Applying ReQoS to SPEC2006 and SmashBench workloads on real multicore machines, we are able to improve machine utilization by more than 70% in many cases, and more than 50% on average, while enforcing a 90% QoS threshold. We are also able to improve the energy efficiency of modern multicore machines by 47% on average over a policy of disallowing co-locations.
ReQoS:仓库规模计算机中QoS的响应式静态/动态编译
随着核心数量不断增加的多核处理器继续主导服务器市场,被称为仓库规模计算机(wsc)的这类数据中心的总体利用率严重依赖于每个服务器上多个工作负载的托管,以利用现代处理器提供的计算能力。然而,在wsc中运行的许多应用程序(如websearch)是面向用户的,并且具有服务质量(QoS)要求。当多个应用程序位于多核机器上时,共享内存资源的争用可能会对应用程序的QoS造成威胁,因为可能会出现严重的跨核性能干扰。WSC运营商有两个选择:要么无视QoS以最大限度地利用WSC,要么不允许高优先级面向用户的应用程序与其他应用程序共存,导致机器利用率低,浪费数百万美元。本文提出了一种静态/动态编译方法ReQoS,该方法使低优先级应用程序能够自适应地操纵自己的争用性,以确保高优先级协同运行程序的QoS。ReQoS由配置文件引导的编译技术组成,该技术在低优先级应用程序的有争议的代码区域中识别和插入标记,以及一个轻量级运行时,该运行时监视高优先级应用程序的QoS,并在检测到跨核干扰时响应性地减少低优先级应用程序对内存子系统产生的压力。在这项工作中,我们证明了ReQoS可以准确地诊断争用,并显着减少性能干扰,以确保应用程序的QoS。在实际多核机器上对SPEC2006和SmashBench工作负载应用ReQoS,我们能够在许多情况下将机器利用率提高70%以上,平均提高50%以上,同时强制执行90%的QoS阈值。我们还能够将现代多核机器的能源效率平均提高47%,而不是采用不允许共址的策略。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
15.60
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书