Improving MapReduce Performance with Partial Speculative Execution

被引:21
|
作者
Wang, Yaoguang [1 ]
Lu, Weiming [1 ]
Lou, Renjie [1 ]
Wei, Baogang [1 ]
机构
[1] Zhejiang Univ, Coll Comp Sci, Hangzhou 310003, Zhejiang, Peoples R China
关键词
Speculative execution; MapReduce performance; Straggler mitigation; SCHEDULING ALGORITHM;
D O I
10.1007/s10723-015-9350-y
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The MapReduce framework has become the de facto standard for big data processing due to its attractive features and abilities. One is that it automatically parallelizes a job into multiple tasks and transparently handles task execution on a large cluster of commodity machines. The increasing heterogeneity of distributed environments may result in a few straggling tasks, which prolong job completion. Speculative execution is proposed to mitigate stragglers. However, the existing speculative execution mechanism could not work efficiently as many speculative tasks are still slower than their original tasks. In this paper, we explore an approach to increase the efficiency of speculative execution, and further improve MapReduce performance. We propose the Partial Speculative Execution (PSE) strategy to make speculative tasks start from the checkpoint. By leveraging the checkpoint of original tasks, PSE can eliminate the costs of re-reading, re-copying, and re-computing the processed data. We implement PSE in Hadoop, and evaluate its performance in terms of job completion time and the efficiency of speculative execution under several kinds of classical workloads. Experimental results show that, in heterogeneous environments with stragglers, PSE completes jobs 56 % faster than that with no speculation and 12 % faster than that with LATE, an improved speculative execution algorithm. In addition, on average PSE can improve the efficiency of speculative execution by 24 % compared to LATE.
引用
收藏
页码:587 / 604
页数:18
相关论文
共 50 条
  • [41] Lazy and speculative execution in computer systems
    Lampson, Butler
    ACM SIGPLAN NOTICES, 2008, 43 (09) : 1 - 1
  • [42] Dynamic schemes for speculative execution of code
    Raghavan, P
    Shachnai, H
    Yaniv, M
    SIXTH INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS AND SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS, PROCEEDINGS, 1998, : 309 - 314
  • [43] Spectre Attacks: Exploiting Speculative Execution
    Kocher, Paul
    Horn, Jann
    Fogh, Anders
    Genkin, Daniel
    Gruss, Daniel
    Haas, Werner
    Hamburg, Mike
    Lipp, Moritz
    Mangard, Stefan
    Prescher, Thomas
    Schwarz, Michael
    Yarom, Yuval
    2019 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2019), 2019, : 1 - 19
  • [44] Spectre Attacks: Exploiting Speculative Execution
    Kocher, Paul
    Horn, Jann
    Fogh, Anders
    Genkin, Daniel
    Gruss, Daniel
    Haas, Werner
    Hamburg, Mike
    Lipp, Moritz
    Mangard, Stefan
    Prescher, Thomas
    Schwarz, Michael
    Yarom, Yuval
    COMMUNICATIONS OF THE ACM, 2020, 63 (07) : 93 - 101
  • [45] Mixed Speculative Multithreaded Execution Models
    Xekalakis, Polychronis
    Ioannou, Nikolas
    Cintra, Marcelo
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2012, 9 (03)
  • [46] ExSpectre: Hiding Malware in Speculative Execution
    Wampler, Jack
    Martiny, Ian
    Wustrow, Eric
    26TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2019), 2019,
  • [47] Speculative execution in a distributed file system
    Nightingale, Edmund B.
    Chen, Peter M.
    Flinn, Jason
    ACM TRANSACTIONS ON COMPUTER SYSTEMS, 2006, 24 (04): : 361 - 392
  • [48] Speculative Execution Attacks and Cloud Security
    Zhang, Yinqian
    Sion, Radu
    CCSW'19: PROCEEDINGS OF THE 2019 ACM SIGSAC CONFERENCE ON CLOUD COMPUTING SECURITY WORKSHOP, 2019, : 201 - 201
  • [49] Lazy and speculative execution in computer systems
    Lampson, Butler
    Principles of Distributed Systems, Proceedings, 2006, 4305 : 1 - 2
  • [50] The Impact of Speculative Execution on SMT Processors
    Dongsoo Kang
    Chen Liu
    Jean-Luc Gaudiot
    International Journal of Parallel Programming, 2008, 36 : 361 - 385