Optimizing data shuffling in data-parallel computation by understanding user-defined functions
Jiaxing Zhang, Hucheng Zhou, Rishan Chen et al. · 2016
Map/Reduce style data-parallel computation is charac-terized by the extensive use of user-defined functions for data processing and relies on data-shuffling stages to prepare data partitions for parallel computation. In-stead of treating user-defined functions as “black boxes”, we propose to analyze those functions to turn them into “gray boxes ” that expose opportunities to optimize da-ta shuffling. We identify useful functional properties for user-defined functions, and propose SUDO, an optimiza-tion framework that reasons about data-partition proper-ties, functional properties, and data shuffling. We have assessed this optimization opportunity on over 10,000 data-parallel programs used in production SCOPE clus-ters, and designed a framework that is incorporated it in-to the production system. Experiments with real SCOPE programs on real production data have shown that this optimization can save up to 47 % in terms of disk and net-work I/O for shuffling, and up to 48 % in terms of cross-pod network traffic. 1
Cited by 57 works.
Authors
- Jiaxing Zhang
- Hucheng Zhou
- Rishan Chen
- Xuepeng Fan
- Zhenyu Guo
- Haoxiang Lin
- Jack Y. Li
- Wei Lin
- Jingren Zhou
- Lidong Zhou
References
- Compilers: Principles, Techniques, and Tools
- Access path selection in a relational database management system
- MapReduce: Simplified Data Processing on Large Cluster
- Dryad
- Pig latin
- A comparison of approaches to large-scale data analysis
- SCOPE
- Advanced Compiler Design and Implementation
- Interpreting the Data: Parallel Analysis with Sawzall
- MULTILISP: a language for concurrent symbolic computation