Qiang Wang, Laiyi Li, Weile Luo, Yijia Zhang, Bingqiang Wang
{"title":"DSO: A GPU Energy Efficiency Optimizer by Fusing Dynamic and Static Information","authors":"Qiang Wang, Laiyi Li, Weile Luo, Yijia Zhang, Bingqiang Wang","doi":"arxiv-2407.13096","DOIUrl":null,"url":null,"abstract":"Increased reliance on graphics processing units (GPUs) for high-intensity\ncomputing tasks raises challenges regarding energy consumption. To address this\nissue, dynamic voltage and frequency scaling (DVFS) has emerged as a promising\ntechnique for conserving energy while maintaining the quality of service (QoS)\nof GPU applications. However, existing solutions using DVFS are hindered by\ninefficiency or inaccuracy as they depend either on dynamic or static\ninformation respectively, which prevents them from being adopted to practical\npower management schemes. To this end, we propose a novel energy efficiency\noptimizer, called DSO, to explore a light weight solution that leverages both\ndynamic and static information to model and optimize the GPU energy efficiency.\nDSO firstly proposes a novel theoretical energy efficiency model which reflects\nthe DVFS roofline phenomenon and considers the tradeoff between performance and\nenergy. Then it applies machine learning techniques to predict the parameters\nof the above model with both GPU kernel runtime metrics and static code\nfeatures. Experiments on modern DVFS-enabled GPUs indicate that DSO can enhance\nenergy efficiency by 19% whilst maintaining performance within a 5% loss\nmargin.","PeriodicalId":501291,"journal":{"name":"arXiv - CS - Performance","volume":"17 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Performance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.13096","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Increased reliance on graphics processing units (GPUs) for high-intensity
computing tasks raises challenges regarding energy consumption. To address this
issue, dynamic voltage and frequency scaling (DVFS) has emerged as a promising
technique for conserving energy while maintaining the quality of service (QoS)
of GPU applications. However, existing solutions using DVFS are hindered by
inefficiency or inaccuracy as they depend either on dynamic or static
information respectively, which prevents them from being adopted to practical
power management schemes. To this end, we propose a novel energy efficiency
optimizer, called DSO, to explore a light weight solution that leverages both
dynamic and static information to model and optimize the GPU energy efficiency.
DSO firstly proposes a novel theoretical energy efficiency model which reflects
the DVFS roofline phenomenon and considers the tradeoff between performance and
energy. Then it applies machine learning techniques to predict the parameters
of the above model with both GPU kernel runtime metrics and static code
features. Experiments on modern DVFS-enabled GPUs indicate that DSO can enhance
energy efficiency by 19% whilst maintaining performance within a 5% loss
margin.