IEEE Transactions on Cloud Computing · 2024 · 12 citations · 16 references
ComputingComputer ScienceComputer SystemsDistributed SystemsParallel ComputingSchedulingCommunication OverheadData LocalityData Locality OptimizationDistributed ComputingDistributed Data ProcessingTask SchedulingCommunication Cost AnalysisCommunication Cost ModelsDistributed Task SchedulingHeuristic SchedulingLocality ConstraintsLocality-aware SchedulingOptimal Allocation
The concept of data locality is crucial for distributed systems (e.g., Spark and Hadoop) to process Big Data. Most of the existing research optimized the data locality from the aspect of task scheduling. However, as the execution container of Spark's tasks, the executor launched on different nodes can directly affect the data locality achieved by the tasks. This paper tries to improve the data locality of tasks by executor allocation in Spark framework. First, because of different communication modes at stages, we separately model the communication cost of tasks for transferring input data to the executors. Then formalize an optimal executor allocation problem to minimize the total communication cost of transferring all input data. This problem is proven to be NP-hard. Finally, we present a greed dropping heuristic algorithm to provide solution to the executor allocation problem. Our proposals are implemented in Spark-3.4.0 and its performance is evaluated through representative micro-benchmarks (i.e., <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">WordCount</i> , <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Join</i> , <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Sort</i> ) and macro-benchmarks (i.e., <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">PageRank</i> and <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LDA</i> ). Extensive experiments show that the proposed executor allocation strategy can decrease the network traffic and data access time by improving the data locality during the task scheduling. Its performance benefits are particularly significant for iterative applications.
16
Sanjay Ghemawat · Communications of the ACM · 2008 · 18.5K citations · Full text
Location Science Research: A Review
Trevor S. Hale, Christopher R. Moberg · Annals of Operations Research · 2003 · 261 citations
Cross-Platform Resource Scheduling for Spark and MapReduce on YARN
Dazhao Cheng, Xiaobo Zhou, Palden Lama et al. · IEEE Transactions on Computers · 2017 · 57 citations