Mjolnir: A framework agnostic auto-tuning system with deep reinforcement learning

被引:2
|
作者
Ben Slimane, Nourchene [1 ]
Sagaama, Houssem [1 ]
Marwani, Maher [1 ]
Skhiri, Sabri [2 ]
机构
[1] EURA NOVA, R&D Dept, Tunis, Tunisia
[2] EURA NOVA, R&D Dept, Mont St Guibert, Belgium
关键词
Auto-tuning system; Deep reinforcement learning; Big data frameworks; Apache spark; Performance optimization; DATABASE TUNING SYSTEM;
D O I
10.1007/s10489-022-03956-9
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Choosing the right setting for big data frameworks is an important yet difficult task. These frameworks come with a complex set of parameters that need to be tuned to achieve the best performance in terms of throughput and latency. Learning-based auto-tuning methods using traditional machine learning models might not be effective for the task because they require huge amounts of high-quality training data, which is time-consuming and very expensive. A good alternative would be to consider reinforcement learning methods to train an intelligent agent through trial and error. In this context, we propose a framework-agnostic auto-tuning system implementing an actor-critic algorithm namely TD3 (Twin Delayed Deep Deterministic Policy Gradient). We show that the agent can find an optimal configuration in a continuous high-dimensional search space with a limited number of steps. We conducted extensive experiments on Apache Spark, under different workloads from the HiBench, TPC-DS and TPC-H benchmarking tools. In this paper, we give a detailed representation of the reinforcement learning environment and show the best design through experiments. Results showed that our approach outperforms the state-of-the-art tuning methods and can improve the performance of spark workloads over the default configurations by up to similar to 77% with an average of similar to 45%. It also showed a promising adaptation behaviour to workload variation during evaluation.
引用
收藏
页码:14008 / 14022
页数:15
相关论文
共 50 条
  • [1] Mjolnir: A framework agnostic auto-tuning system with deep reinforcement learning
    Nourchene Ben Slimane
    Houssem Sagaama
    Maher Marwani
    Sabri Skhiri
    Applied Intelligence, 2023, 53 : 14008 - 14022
  • [2] Auto-Tuning with Reinforcement Learning for Permissioned Blockchain Systems
    Li, Mingxuan
    Wang, Yazhe
    Ma, Shuai
    Liu, Chao
    Huo, Dongdong
    Wang, Yu
    Xu, Zhen
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2023, 16 (05): : 1000 - 1012
  • [3] ATF: A Generic Auto-Tuning Framework
    Rasch, Ari
    Haidl, Michael
    Gorlatch, Sergei
    2017 19TH IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS (HPCC) / 2017 15TH IEEE INTERNATIONAL CONFERENCE ON SMART CITY (SMARTCITY) / 2017 3RD IEEE INTERNATIONAL CONFERENCE ON DATA SCIENCE AND SYSTEMS (DSS), 2017, : 64 - 71
  • [4] ATF: A Generic Auto-Tuning Framework
    Rasch, Ari
    Gorlatch, Sergei
    HPDC '18: PROCEEDINGS OF THE 27TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE PARALLEL AND DISTRIBUTED COMPUTING: POSTERS/DOCTORAL CONSORTIUM, 2018, : 3 - 4
  • [5] Deep Reinforcement Learning Based Dynamic Proportional-Integral (PI) Gain Auto-Tuning Method for a Robot Driver System
    Park, Joonghoo
    Kim, Heejung
    Hwang, Kyunghun
    Lim, Sejoon
    IEEE ACCESS, 2022, 10 : 31043 - 31057
  • [6] Efficient Auto-Tuning of Parallel Programs with Interdependent Tuning Parameters via Auto-Tuning Framework (ATF)
    Rasch, Ari
    Schulze, Richard
    Steuwer, Michel
    Gorlatch, Sergei
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2021, 18 (01)
  • [7] CESMTuner: An Auto-Tuning Framework for the Community Earth System Model
    Ding Nan
    Xue Wei
    Ji Xu
    Xu Haoyu
    Song Zhenya
    2014 IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, 2014 IEEE 6TH INTL SYMP ON CYBERSPACE SAFETY AND SECURITY, 2014 IEEE 11TH INTL CONF ON EMBEDDED SOFTWARE AND SYST (HPCC,CSS,ICESS), 2014, : 282 - 289
  • [8] Preconditioner auto-tuning using deep learning for sparse iterative algorithms
    Yamada, Kenya
    Katagiri, Takahiro
    Takizawa, Hiroyuki
    Kazuo, Minami
    Yokokawa, Mitsuo
    Nagai, Toru
    Ogino, Masao
    2018 SIXTH INTERNATIONAL SYMPOSIUM ON COMPUTING AND NETWORKING WORKSHOPS (CANDARW 2018), 2018, : 257 - 262
  • [9] Threshold Auto-Tuning Metric Learning
    Rivero, Rachelle
    Onuma, Yuya
    Kato, Tsuyoshi
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2019, E102D (06) : 1163 - 1170
  • [10] FIBER: A generalized framework for auto-tuning software
    Katagiri, T
    Kise, K
    Honda, H
    Yuba, T
    HIGH PERFORMANCE COMPUTING, 2003, 2858 : 146 - 159