Parallelization Strategies and Performance Analysis of Media Mining Applications on Multi-Core Processors

This paper studies how to parallelize the emerging media mining workloads on existing small-scale multi-core processors and future large-scale platforms. Media mining is an emerging technology to extract meaningful knowledge from large amounts of multimedia data, aiming at helping end users search, browse, and manage multimedia data. Many of the media mining applications are very complicated and require a huge amount of computing power. The advent of multi-core architectures provides the acceleration opportunity for media mining. However, to efficiently utilize the multi-core processors, we must effectively execute many threads at the same time. In this paper, we present how to explore the multi-core processors to speed up the computation-intensive media mining applications. We first parallelize two media mining applications by extracting the coarse-grained parallelism and evaluate their parallel speedups on a small-scale multi-core system. Our experiment shows that the coarse-grained parallelization achieves good scaling performance, but not perfect. When examining the memory requirements, we find that these coarse-grained parallelized workloads expose high memory demand. Their working set sizes increase almost linearly with the degree of parallelism, and the instantaneous memory bandwidth usage prevents them from perfect scalability on the 8-core machine. To avoid the memory bandwidth bottleneck, we turn to exploit the fine-grained parallelism and evaluate the parallel performance on the 8-core machine and a simulated 64-core processor. Experimental data show that the fine-grained parallelization demonstrates much lower memory requirements than the coarse-grained one, but exhibits significant read-write data sharing behavior. Therefore, the expensive inter-thread communication limits the parallel speedup on the 8-core machine, while excellent speedup is observed on the large-scale processor as fast core-to-core communication is provided via a shared cache. Our study suggests that (1) extracting the coarse-grained parallelism scales well on small-scale platforms, but poorly on large-scale system; (2) exploiting the fine-grained parallelism is suitable to realize the power of large-scale platforms; (3) future many-core chips can provide shared cache and sufficient on-chip interconnect bandwidth to enable efficient inter-core communication for applications with significant amounts of shared data. In short, this work demonstrates proper parallelization techniques are critical to the performance of multi-core processors. We also demonstrate that one of the important factors in parallelization is the performance analysis. The parallelization principles, practice, and performance analysis methodology presented in this paper are also useful for everyone to exploit the thread-level parallelism in their applications.

[1]  Tao Wang,et al.  Towards the Parallelization of Shot Detection - a Typical Video Mining Application Study , 2006, 2006 International Conference on Parallel Processing (ICPP'06).

[2]  Yen-Kuang Chen,et al.  HighPerformance Physical Simulations on NextGeneration Architecture with Many Cores , 2007 .

[3]  Thomas D. C. Little,et al.  A Survey of Technologies for Parsing and Indexing Digital Video1 , 1996, J. Vis. Commun. Image Represent..

[4]  P.V.C. Hough,et al.  Machine Analysis of Bubble Chamber Pictures , 1959 .

[5]  Tao Wang,et al.  Accelerating Video-Mining Applications Using Many Small, General-Purpose Cores , 2008, IEEE Micro.

[6]  Yurong Chen Media Mining Emerging Terascale Computing Applications , 2007 .

[7]  Tao Wang,et al.  Novel parallel Hough Transform on multi-core processors , 2008, 2008 IEEE International Conference on Acoustics, Speech and Signal Processing.

[8]  Dr. David Levinthal Analyzing and Resolving multi-core non scaling on Intel ® Core TM 2 processors , 2007 .

[9]  A. Murat Tekalp,et al.  Automatic soccer video analysis and summarization , 2003, IEEE Trans. Image Process..

[10]  Chabane Djeraba,et al.  Multimedia Mining: A Highway to Intelligent Multimedia Documents , 2002, Multimedia Systems and Applications.

[11]  Robert C. Bolles,et al.  Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography , 1981, CACM.

[12]  D. B. Davis,et al.  Intel Corp. , 1993 .

[13]  Tao Wang,et al.  Workload Characterization of a Parallel Video Mining Application on a 16-Way Shared-Memory Multiprocessor System , 2006, 2006 IEEE International Symposium on Workload Characterization.