BLQ: Light-Weight Locality-Aware Runtime for Blocking-Less Queuing

被引:0
|
作者
Wu, Qinzhe [1 ]
Li, Ruihao [1 ]
Beard, Jonathan [2 ,3 ]
John, Lizy [1 ]
机构
[1] Univ Texas Austin, Austin, TX 78712 USA
[2] Arm, Waltham, MA USA
[3] Google LLC, Mountain View, CA USA
关键词
Message Queue; Parallel Processing; Runtime; PARALLELISM; TASK; OPENMP;
D O I
10.1145/3640537.3641568
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Message queues are used widely in parallel processing systems for worker thread synchronization. When there is a throughput mismatch between the upstream and downstream tasks, the message queue buffer will often exist as either empty or full. Polling on an empty or full queue will affect the performance of upstream or downstream threads, since such polling cycles could have been spent on other computation. Non-blocking queue is an alternative that allow polling cycles to be spared for other tasks per applications' choice. However, application programmers are not supposed to bear the burden, because a good decision of what to do upon blocking has to take many runtime environment information into consideration. This paper proposes Blocking-Less Queuing Runtime (BLQ), a systematic solution capable of finding the proper strategies at (or before) blocking, as well as lightening the programmers' burden. BLQ collects a set of solutions, including yielding, advanced dynamic queue buffer resizing, and resource-aware task scheduling. The evaluation on high-end servers shows that a set of diverse parallel queuing workloads could reduce blocking and lower cache misses with BLQ. BLQ outperforms the baseline runtime considerably (with up to 3.8x peak speedup).
引用
收藏
页码:100 / 112
页数:13
相关论文
共 26 条
  • [1] Locality-Aware Scheduling of Independent Tasks for Runtime Systems
    Gonthier, Maxime
    Marchal, Loris
    Thibault, Samuel
    EURO-PAR 2021: PARALLEL PROCESSING WORKSHOPS, 2022, 13098 : 5 - 16
  • [2] Light-weight, Runtime Verification of Query Sources
    Ge, Tingjian
    Zdonik, Stan
    ICDE: 2009 IEEE 25TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2009, : 30 - 41
  • [3] Sledge: a Serverless-first, Light-weight Wasm Runtime for the Edge
    Gadepalli, Phani Kishore
    McBride, Sean
    Peach, Gregor
    Cherkasova, Ludmila
    Parmer, Gabriel
    PROCEEDINGS OF THE 2020 21ST INTERNATIONAL MIDDLEWARE CONFERENCE (MIDDLEWARE '20), 2020, : 265 - 279
  • [4] A Light-Weight Approach to Dynamical Runtime Linking Supporting Heterogenous, Parallel, and Reconfigurable Architectures
    Buchty, Rainer
    Kramer, David
    Kicherer, Mario
    Karl, Wolfgang
    ARCHITECTURE OF COMPUTING SYSTEMS-ARCS 2009, 22ND INTERNATIONAL CONFERENCE, 2009, 5455 : 60 - 71
  • [5] A context-aware service engine designed for light-weight devices
    Lee, SA
    Lee, KM
    Lee, JH
    IKE '05: PROCEEDINGS OF THE 2005 INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE ENGINEERING, 2005, : 327 - 331
  • [6] Aggressive Runtime Leakage Control Through Adaptive Light-Weight Vth Hopping With Temperature and Process Variation
    Xu, Hao
    Jone, Wen-Ben
    Vemuri, Ranga
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2011, 19 (07) : 1319 - 1323
  • [7] A light-weight location-aware position update scheme for high mobility networks
    Guha, Ratul K.
    Ling, Yibei
    Chen, Wai
    2007 IEEE MILITARY COMMUNICATIONS CONFERENCE, VOLS 1-8, 2007, : 2659 - +
  • [8] A Light-Weight Certificate-Less Public Key Cryptography Scheme Based on ECC
    Yao, Xuanxia
    Han, Xiaoguang
    Du, Xiaojiang
    2014 23RD INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND NETWORKS (ICCCN), 2014,
  • [9] Effective and light-weight deobfuscation and semantic-aware attack detection for powershell scripts
    Li, Zhenyuan
    Chen, Yan
    Chen, Qi Alfred
    Zhu, Tiantian
    Xiong, Chunlin
    Yang, Hai
    Proceedings of the ACM Conference on Computer and Communications Security, 2019, : 1831 - 1847
  • [10] Light-weight Frequency Information Aware Neural Network Architecture for Voice Spoofing Detection
    Choi, Sunmook
    Oh, Seungsang
    Yang, Jonghoon
    Lee, Yerin
    Kwak, Il-Youp
    2022 26TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2022, : 477 - 483