Evolving Cut-Off Mechanisms and Other Work-Stealing Parameters for Parallel Programs

被引:1
|
作者
Fonseca, Alcides [1 ]
Lourenco, Nuno [1 ]
Cabral, Bruno [1 ]
机构
[1] Univ Coimbra, Dept Informat Engn, CISUC, Polo 2 Pinhal Marrocos, P-3030 Coimbra, Portugal
来源
APPLICATIONS OF EVOLUTIONARY COMPUTATION, EVOAPPLICATIONS 2017, PT I | 2017年 / 10199卷
关键词
Granularity; Cut-off mechanism; Parallel programming; Multicore; Genetic Algorithm; GENETIC-ALGORITHM; OPENMP; TASKS;
D O I
10.1007/978-3-319-55849-3_49
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Optimizing parallel programs is a complex task because the interference among many different parameters. Work-stealing runtimes, used to dynamically balance load among different processor cores, are no exception. This work explores the automatic configuration of the following runtime parameters: dynamic granularity control algorithms, granularity control cache, work-stealing algorithm, lazy binary splitting parameter, the maximum queue size and the unparking interval. The performance of the program is highly sensible to the granularity control algorithm, which can be a combination of other granularity algorithms. In this work, we address two search-based problems: finding a globally efficient work-stealing configuration, and finding the best configuration just for an individual program. For both problems, we propose the use of a Genetic Algorithm (GA). The genotype of the GA is able to represent combinations of up to three cut-off algorithms, as well as other work-stealing parameters. The proposed GA has been evaluated in its ability to obtain a more efficient solution across a set of programs, in its ability to generalize the solution to a larger set of programs, and its ability to evolve single programs individually. The GA was able to improve the performance of the set of programs in the training set, but the obtained configurations were not generalized to a larger benchmark set. However, it was able to successfully improve the performance of each program individually.
引用
收藏
页码:757 / 772
页数:16
相关论文
共 50 条
  • [1] A Static Cut-off for Task Parallel Programs
    Iwasaki, Shintaro
    Taura, Kenjiro
    2016 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURE AND COMPILATION TECHNIQUES (PACT), 2016, : 139 - 150
  • [2] Autotuning of a Cut-off for Task Parallel Programs
    Iwasaki, Shintaro
    Taura, Kenjiro
    2016 IEEE 10TH INTERNATIONAL SYMPOSIUM ON EMBEDDED MULTICORE/MANY-CORE SYSTEMS-ON-CHIP (MCSOC), 2016, : 353 - 360
  • [3] Analysis of Work-Stealing and Parallel Cache Complexity
    Gu, Yan
    Napier, Zachary
    Sun, Yihan
    SYMPOSIUM ON ALGORITHMIC PRINCIPLES OF COMPUTER SYSTEMS, APOCS, 2022, : 46 - 60
  • [4] Performance evaluation on work-stealing featured parallel programs on asymmetric performance multicore processors?
    Adnan
    ARRAY, 2023, 19
  • [5] Evaluation of Runtime Cut-off Approaches for Parallel Programs
    Fonseca, Alcides
    Cabral, Bruno
    HIGH PERFORMANCE COMPUTING FOR COMPUTATIONAL SCIENCE - VECPAR 2016, 2017, 10150 : 121 - 134
  • [6] Probabilistic guards: A mechanism for increasing the granularity of work-stealing programs
    Yoritaka, Hiroshi
    Matsui, Ken
    Yasugi, Masahiro
    Hiraishi, Tasuku
    Umatani, Seiji
    PARALLEL COMPUTING, 2019, 82 : 19 - 36
  • [7] Scaling Up Parallel GC Work-Stealing in Many-Core Environments
    Horie, Michihiro
    Ogata, Kazunori
    Takeuchi, Mikio
    Horii, Hiroshi
    PROCEEDINGS OF THE 2019 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT (ISMM '19), 2019, : 27 - 40
  • [8] Beyond Nested Parallelism: Tight Bounds on Work-Stealing Overheads for Parallel Futures
    Spoonhower, Daniel
    Blelloch, Guy E.
    Gibbons, Phillip B.
    Harper, Robert
    SPAA'09: PROCEEDINGS OF THE TWENTY-FIRST ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2009, : 91 - 100
  • [9] Scheduling Parallel Programs by Work Stealing with Private Deques
    Acar, Umut A.
    Chargueraud, Arthur
    Rainey, Mike
    ACM SIGPLAN NOTICES, 2013, 48 (08) : 219 - 228
  • [10] Efficient Lock-Free Work-stealing Iterators for Data-Parallel Collections
    Prokopec, Aleksandar
    Petrashko, Dmitry
    Odersky, Martin
    23RD EUROMICRO INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED, AND NETWORK-BASED PROCESSING (PDP 2015), 2015, : 248 - 252