Adaptive Hybrid Synchronization Primitives: A Reinforcement Learning Approach

被引:0
|
作者
Ganjaliyev, Fadai [1 ]
机构
[1] ADA Univ, Sch IT & Engn, Baku, Azerbaijan
关键词
Spinning; sleeping; blocking; spin-then-block; spin-then-park; reinforcement learning;
D O I
10.14569/IJACSA.2020.0110508
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The choice of synchronization primitive used to protect shared resources is a critical aspect of application performance and scalability, which has become extremely unpredictable with the rise of multicore machines. Neither of the most commonly used contention management strategies works well for all cases: spinning provides quick lock handoff and is attractive in an undersubscribed situation but wastes processor cycles in oversubscribed scenarios, whereas blocking saves processor resources and is preferred in oversubscribed cases but adds up to the critical path by lengthening the lock handoff phase. Hybrids, such as spin-then-block and spin-then-park, tackle this problem by switching between spinning and blocking depending on the contention level on the lock or the system load. Consequently, threads follow a fixed strategy and cannot learn and adapt to changes in system behavior. To this end, it is proposed to use principles of machine learning to formulate hybrid methods as a reinforcement learning problem that will overcome these limitations. In this way, threads can intelligently learn when they should spin or sleep. The challenges of the suggested technique and future work is also briefly discussed.
引用
收藏
页码:51 / 57
页数:7
相关论文
共 50 条
  • [41] Deep Black-Box Reinforcement Learning with Movement Primitives
    Otto, Fabian
    Celik, Onur
    Zhou, Hongyi
    Ziesche, Hanna
    Ngo Anh Vien
    Neumann, Gerhard
    CONFERENCE ON ROBOT LEARNING, VOL 205, 2022, 205 : 1244 - 1265
  • [42] Hierarchical Reinforcement Learning Combined with Motion Primitives for Automated Overtaking
    Yu, Yang
    Lu, Chao
    Yang, Lei
    Li, Zirui
    Hu, Fengqing
    Gong, Jianwei
    2020 IEEE INTELLIGENT VEHICLES SYMPOSIUM (IV), 2020, : 1 - 6
  • [43] Learning of action through adaptive combination of motor primitives
    Thoroughman, KA
    Shadmehr, R
    NATURE, 2000, 407 (6805) : 742 - 747
  • [44] Learning of action through adaptive combination of motor primitives
    Kurt A. Thoroughman
    Reza Shadmehr
    Nature, 2000, 407 : 742 - 747
  • [45] Adaptive Learning of Dynamic Movement Primitives through Demonstration
    Samant, Raj
    Behera, Laxmidhar
    Pandey, Gaurav
    2016 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2016, : 1068 - 1075
  • [46] A Reinforcement Learning Approach to Network Routing based on Adaptive Learning Rates and Route Memory
    Kavalerov, Maksim
    Likhacheva, Yuliya
    Shilova, Yuliya
    SOUTHEASTCON 2017, 2017,
  • [47] Adaptive Routing in Wireless Mesh Networks Using Hybrid Reinforcement Learning Algorithm
    Mahajan, Smita
    HariKrishnan, R.
    Kotecha, Ketan
    IEEE ACCESS, 2022, 10 : 107961 - 107979
  • [48] A Game-Theoretic Reinforcement Learning Approach for Adaptive Interaction at Intersections
    Jin, Xinze
    Li, Kuo
    Jia, Qing-Shan
    Xia, Huaxia
    Bai, Yu
    Ren, Dongchun
    2020 CHINESE AUTOMATION CONGRESS (CAC 2020), 2020, : 4451 - 4456
  • [49] Synthesis of Centralized Adaptive Excitation Control System by Reinforcement Learning Approach
    Pereslytskikh, Oleg O.
    Suvorova, Viktoria S.
    Belyaev, Andrey N.
    PROCEEDINGS OF THE 2021 IEEE CONFERENCE OF RUSSIAN YOUNG RESEARCHERS IN ELECTRICAL AND ELECTRONIC ENGINEERING (ELCONRUS), 2021, : 1514 - 1519
  • [50] An Adaptive Reinforcement Learning Approach to Policy-driven Autonomic Management
    Bahati, Raphael M.
    Bauer, Michael A.
    ICAS: 2009 FIFTH INTERNATIONAL CONFERENCE ON AUTONOMIC AND AUTONOMOUS SYSTEMS, 2009, : 135 - 141