Machine Learning-Based Microarchitecture- Level Power Modeling of CPUs

被引:3
|
作者
Kumar, Ajay Krishna Ananda [1 ]
Al-Salamin, Sami [2 ]
Amrouch, Hussam [3 ]
Gerstlauer, Andreas [1 ]
机构
[1] Univ Texas Austin, Dept Elect & Comp Engn, Austin, TX 78712 USA
[2] Hyperstone, D-78467 Constance, Germany
[3] Univ Stuttgart, Elect Engn Fac, Chair Semicond Test & Reliabil STAR Comp Sci, D-70174 Stuttgart, Germany
关键词
Analytical models; Predictive models; Logic gates; Feature extraction; Mathematical models; Training; Out of order; Machine learning; power modeling; micro-architecture simulation; METHODOLOGY;
D O I
10.1109/TC.2022.3185572
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Energy efficiency has emerged as a key concern for modern processor design, especially when it comes to embedded and mobile devices. It is vital to accurately quantify the power consumption of different micro-architectural components in a CPU. Traditional RTL or gate-level power estimation is too slow for early design-space exploration studies. By contrast, existing architecture-level power models suffer from large inaccuracies. Recently, advanced machine learning techniques have been proposed for accurate power modeling. However, existing approaches still require slow RTL simulations, have large training overheads or have only been demonstrated for fixed-function accelerators and simple in-order cores with predictable behavior. In this work, we present a novel machine learning-based approach for microarchitecture-level power modeling of complex CPUs. Our approach requires only high-level activity traces obtained from microarchitecture simulations. We extract representative features and develop low-complexity learning formulations for different types of CPU-internal structures. Cycle-accurate models at the sub-component level are trained from a small number of gate-level simulations and hierarchically composed to build power models for complete CPUs. We apply our approach to both in-order and out-of-order RISC-V cores. Cross-validation results show that our models predict cycle-by-cycle power consumption to within 3% of a gate-level power estimation on average. In addition, our power model for the Berkeley Out-of-Order (BOOM) core trained on micro-benchmarks can predict the cycle-by-cycle power of real-world applications with less than 3.6% mean absolute error.
引用
收藏
页码:941 / 956
页数:16
相关论文
共 50 条
  • [1] McPAT-Calib: A Microarchitecture Power Modeling Framework for Modern CPUs
    Zhai, Jianwang
    Bai, Chen
    Zhu, Binwu
    Cai, Yici
    Zhou, Qiang
    Yu, Bei
    2021 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN (ICCAD), 2021,
  • [2] Machine Learning for Microarchitecture Power Modeling and Design Space Exploration: A Survey
    Zhai, Jianwang
    Ling, Zichao
    Bai, Chen
    Zhao, Kang
    Yu, Bei
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2024, 61 (06): : 1351 - 1369
  • [3] Learning-Based CPU Power Modeling
    Kumar, Ajay Krishna Ananda
    Gerstlauer, Andreas
    2019 ACM/IEEE 1ST WORKSHOP ON MACHINE LEARNING FOR CAD (MLCAD), 2019,
  • [4] Machine Learning-Based Sensor Data Modeling Methods for Power Transformer PHM
    Li, Anyi
    Yang, Xiaohui
    Dong, Huanyu
    Xie, Zihao
    Yang, Chunsheng
    SENSORS, 2018, 18 (12)
  • [5] Machine Learning-based Prediction of Test Power
    Dhotre, Harshad
    Eggersgluess, Stephan
    Chakrabarty, Krishnendu
    Drechsler, Rolf
    2019 IEEE EUROPEAN TEST SYMPOSIUM (ETS), 2019,
  • [6] HL -Pow: A Learning-Based Power Modeling Framework for High -Level Synthesis
    Lin, Zhe
    Zhao, Jieru
    Sinha, Sharad
    Zhang, Wei
    2020 25TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE, ASP-DAC 2020, 2020, : 574 - 580
  • [7] A ROBUST HYBRID MACHINE LEARNING-BASED MODELING TECHNIQUE FOR WIND POWER PRODUCTION ESTIMATES
    Banerjee, Amit
    Abu-Mahfouz, Issam
    Tian, Jianyan
    Rahman, A. H. M. Esfakur
    PROCEEDINGS OF ASME 2022 INTERNATIONAL MECHANICAL ENGINEERING CONGRESS AND EXPOSITION, IMECE2022, VOL 6, 2022,
  • [8] Machine Learning-Based Predictive Modeling of Postpartum Depression
    Shin, Dayeon
    Lee, Kyung Ju
    Adeluwa, Temidayo
    Hur, Junguk
    JOURNAL OF CLINICAL MEDICINE, 2020, 9 (09) : 1 - 14
  • [9] Machine learning-based modeling to predict inhibitors of acetylcholinesterase
    Hardeep Sandhu
    Rajaram Naresh Kumar
    Prabha Garg
    Molecular Diversity, 2022, 26 : 331 - 340
  • [10] Machine learning-based modeling to predict inhibitors of acetylcholinesterase
    Sandhu, Hardeep
    Kumar, Rajaram Naresh
    Garg, Prabha
    MOLECULAR DIVERSITY, 2022, 26 (01) : 331 - 340