Prediction-Based and Locality-Aware Task Scheduling for Parallelizing Video Transcoding Over Heterogeneous MapReduce Cluster

MapReduce is a popular programming model in cloud computing to deal with the high computational task, such as video transcoding. It splits the video (task) into multiple segments (subtasks) and transcodes them in parallel in cluster. Due to the complexity of video transcoding and the poor performance of heterogeneous MapReduce cluster, scheduling these subtasks to minimize the total transcoding time is still a challenge. In this paper, we propose a prediction-based and locality-aware task scheduling (PLTS) method for parallelizing video transcoding over heterogeneous MapReduce cluster. First, we analyze video decoding and encoding technologies and predict the segment transcoding complexity, which can provide a foundational base for the following scheduling. Second, we attempt to schedule subtasks on machines that contain the related input data, which are referred to as data locality, so as to reduce large-scale data movement and data transfer during the mapping phase. Third, we formulate the scheduling as a job shop scheduling problem and propose a heuristic PLTS algorithm. It combines the benefits of two traditional heuristic scheduling algorithms, Max–Min and Min–Min, to make load balancing in cluster and short the total transcoding time. The experimental results also show the efficiency of our algorithm.

[1]  Xinggong Zhang,et al.  Parallelizing video transcoding using Map-Reduce-based cloud computing , 2012, 2012 IEEE International Symposium on Circuits and Systems.

[2]  Luciana Arantes,et al.  MRA++: Scheduling and data placement on MapReduce for heterogeneous environments , 2015, Future Gener. Comput. Syst..

[3]  Zhan Ma,et al.  On Complexity Modeling of H.264/AVC Video Decoding and Its Application for Energy Efficient Decoding , 2011, IEEE Transactions on Multimedia.

[4]  Eduardo Peixoto,et al.  MPEG-2 to HEVC Video Transcoding With Content-Based Modeling , 2013, IEEE Transactions on Circuits and Systems for Video Technology.

[5]  Sébastien Lafond,et al.  Analysis and Transcoding Time Prediction of Online Videos , 2015, 2015 IEEE International Symposium on Multimedia (ISM).

[6]  Minyi Guo,et al.  OFScheduler: A Dynamic Network Optimizer for MapReduce in Heterogeneous Cluster , 2013, International Journal of Parallel Programming.

[7]  Sébastien Lafond,et al.  Prediction-Based Dynamic Resource Allocation for Video Transcoding in Cloud Computing , 2013, 2013 21st Euromicro International Conference on Parallel, Distributed, and Network-Based Processing.

[8]  Gang Liu,et al.  Cloud transcoder: bridging the format and resolution gap between internet videos and mobile devices , 2012, NOSSDAV '12.

[9]  Shicong Meng,et al.  Improving ReduceTask data locality for sequential MapReduce jobs , 2013, 2013 Proceedings IEEE INFOCOM.

[10]  Sébastien Lafond,et al.  Video transcoding time prediction for proactive load balancing , 2014, 2014 IEEE International Conference on Multimedia and Expo (ICME).

[11]  Shengsheng Yu,et al.  Linear model-based adaptive prediction for video decoding complexity , 2011, 2011 IEEE International Conference on Multimedia and Expo.

[12]  Ladislau Bölöni,et al.  A Comparison of Eleven Static Heuristics for Mapping a Class of Independent Tasks onto Heterogeneous Distributed Computing Systems , 2001, J. Parallel Distributed Comput..

[13]  Geoffrey C. Fox,et al.  Improving MapReduce Performance in Heterogeneous Network Environments and Resource Utilization , 2012, 2012 12th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (ccgrid 2012).

[14]  Yongquan Chen,et al.  A Cloud-Based Transcoding Framework for Real-Time Mobile Video Conferencing System , 2014, 2014 2nd IEEE International Conference on Mobile Cloud Computing, Services, and Engineering.

[15]  Sanjay Ghemawat,et al.  MapReduce: Simplified Data Processing on Large Clusters , 2004, OSDI.

[16]  Ye Wang,et al.  A workload prediction model for decoding mpeg video and its application to workload-scalable transcoding , 2007, ACM Multimedia.

[17]  Xinfeng Zhang,et al.  Parallelizing video transcoding with load balancing on cloud computing , 2013, 2013 IEEE International Symposium on Circuits and Systems (ISCAS2013).

[18]  J. Lilius,et al.  Stream-Based Admission Control and Scheduling for Video Transcoding in Cloud Computing , 2013, 2013 13th IEEE/ACM International Symposium on Cluster, Cloud, and Grid Computing.

[19]  Mihaela van der Schaar,et al.  Statistical Framework for Video Decoding Complexity Modeling and Prediction , 2009, IEEE Transactions on Circuits and Systems for Video Technology.

[20]  Mathias Wien,et al.  Decoder side motion vector derivation for inter frame video coding , 2009, 2008 15th IEEE International Conference on Image Processing.

[21]  Ramesh K. Sitaraman,et al.  Optimizing the video transcoding workflow in content delivery networks , 2015, MMSys.

[22]  Ravi Sethi,et al.  The Complexity of Flowshop and Jobshop Scheduling , 1976, Math. Oper. Res..

[23]  Klara Nahrstedt,et al.  Energy-efficient soft real-time CPU scheduling for mobile multimedia systems , 2003, SOSP '03.

[24]  Chao Mei,et al.  CloudStream: Delivering high-quality streaming videos through a cloud-based SVC proxy , 2011, 2011 Proceedings IEEE INFOCOM.

[25]  He Ma,et al.  Dynamic scheduling on video transcoding for MPEG DASH in the cloud environment , 2014, MMSys '14.

[26]  Szu-Wei Lee,et al.  Complexity modeling of spatial and temporal compensations in H.264/AVC decoding , 2008, 2008 15th IEEE International Conference on Image Processing.

[27]  Lei Ying,et al.  Map task scheduling in MapReduce with data locality: Throughput and heavy-traffic optimality , 2013, INFOCOM.

[28]  Myoungjin Kim,et al.  Towards Efficient Design and Implementation of a Hadoop-based Distributed Video Transcoding System in Cloud Computing Environment , 2013 .

[29]  Baogang Wei,et al.  Improving MapReduce Performance with Partial Speculative Execution , 2015, Journal of Grid Computing.

[30]  D. Mlynek,et al.  Implementing Real-time Video Decoding On Multimedia Processors By Complexity Prediction Techniques , 1998, International 1998 Conference on Consumer Electronics.