The Tiny-Tasks Granularity Trade-Off: Balancing Overhead Versus Performance in Parallel Systems

被引:3
|
作者
Bora, Stefan [1 ]
Walker, Brenton [1 ]
Fidler, Markus [1 ]
机构
[1] Leibniz Univ Hannover, Inst Commun Technol, Hannover 30167, Germany
关键词
Task analysis; Sparks; Servers; Analytical models; Cluster computing; Parallel processing; Synchronization; Network calculus; parallel processing; performance bounds; processing overhead; Spark; synchronization constraints; task granularity; tiny-tasks; FORK; SYNCHRONIZATION; MPI/OPENMP; APPROXIMATIONS; QUEUES; MODELS; OPENMP;
D O I
10.1109/TPDS.2022.3233712
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
of parallel processing systems typically assume that one has l workers and jobs are split into an equal number of k = l tasks. Splitting jobs into k > l smaller tasks, i.e. using tiny tasks, can yield performance and stability improvements because it reduces the variance in the amount of work assigned to each worker, but ask increases, the overhead involved in scheduling and managing the tasks begins to overtake the performance benefit. We perform extensive experiments on the effects of task granularity on an Apache Spark cluster, and based on these, develop a four parameter model for task and job overhead that, in simulation, produces sojourn time distributions that match those of the real system. We also present analytical results which illustrate how using tiny tasks improves the stability region of split-merge systems, and analytical bounds on the sojourn and waiting time distributions of both split-merge and single-queue fork-join systems with tiny tasks. Finally we combine the overhead model with the analytical models to produce an analytical approximation to the sojourn and waiting time distributions of systems with tiny tasks which include overhead. We also perform analogous tiny-tasks experiments on a hybrid multi-processor shared memory system based on MPI and OpenMP which has no load-balancing between nodes. Though no longer strict analytical bounds, our analytical approximations with overhead match both the Spark and MPI/OpenMP experimental results very well.
引用
收藏
页码:1128 / 1144
页数:17
相关论文
共 50 条
  • [1] Granularity of medical software agents in ICU - Trade-off performance versus flexibility
    Steurbaut, Kristof
    Van Hoecke, Sofie
    Colpaert, Kirsten
    Danneels, Chris
    Decruyenaere, Johan
    De Turck, Filip
    ADVANCES IN INTELLIGENT AND DISTRIBUTED COMPUTING, 2008, 78 : 207 - +
  • [2] Trade-off Balancing of Low Environmental Load and High Performance
    Nagai, Kotobu
    TETSU TO HAGANE-JOURNAL OF THE IRON AND STEEL INSTITUTE OF JAPAN, 2010, 96 (08): : 487 - 492
  • [3] Diversity versus Training Overhead Trade-off for Low Complexity Switched Transceivers
    Ratnam, Vishnu V.
    Molisch, Andreas F.
    Rabeah, Naif
    Alawwad, Faisal
    Behairy, Hatim
    2016 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2016,
  • [4] Accuracy versus Incentives A Trade-Off for Performance Measurement
    Schwartz, Aaron L.
    AMERICAN JOURNAL OF HEALTH ECONOMICS, 2021, 7 (03) : 333 - 360
  • [5] Performance versus computational complexity trade-off in face verification
    Bourlai, T
    Messer, K
    Kittler, J
    BIOMETRIC AUTHENTICATION, PROCEEDINGS, 2004, 3072 : 169 - 177
  • [6] Analysis on HSpice Performance Trade-off versus Simulation Time
    Capilayan, Mycel A.
    Minguez, Robert, II
    Hora, Jefferson A.
    2015 INTERNATIONAL CONFERENCE ON HUMANOID, NANOTECHNOLOGY, INFORMATION TECHNOLOGY,COMMUNICATION AND CONTROL, ENVIRONMENT AND MANAGEMENT (HNICEM), 2015, : 471 - +
  • [7] Evaluating the performance versus accuracy trade-off for abstract models
    McGraw, RM
    Clark, JE
    ENABLING TECHNOLOGY FOR SIMULATION SCIENCE V, 2001, 4367 : 71 - 81
  • [8] On the Trade-Off Between Communication and Execution Overhead for Control of Multi-Agent Systems
    Li, Anqi
    Egerstedt, Magnus
    2019 AMERICAN CONTROL CONFERENCE (ACC), 2019, : 79 - 85
  • [9] Privacy and Performance Trade-off in Cyber-Physical Systems
    Zhang, Heng
    Shu, Yuanchao
    Cheng, Peng
    Chen, Jiming
    IEEE NETWORK, 2016, 30 (02): : 62 - 66
  • [10] Data-Centric Perspective on Explainability Versus Performance Trade-Off
    Berenji, Amirhossein
    Nowaczyk, Slawomir
    Taghiyarrenani, Zahra
    ADVANCES IN INTELLIGENT DATA ANALYSIS XXI, IDA 2023, 2023, 13876 : 42 - 54