Abstract

This paper presents a parallel modeling of a lossy image compression method based on the fractal theory and its evaluation over two versions of dual-core processors: with and without simultaneous multithreading (SMT) support. The idea is to observe the speedup on both configurations when changing application parameters and the number of threads at operating system level. Our target application is particularly relevant in the Big Data era. Huge amounts of data often need to be sent over low/medium bandwidth networks, and/or to be saved on devices with limited store capacity, motivating efficient image compression. Especially, the fractal compression presents a CPU-bound coding method known for offering higher indexes of file reduction through highly time-consuming calculus. The structure of the problem allowed us to explore data-parallelism by implementing an embarrassingly parallel version of the algorithm. Despite its simplicity, our modeling is useful for fully exploiting and evaluating the considered architectures. When comparing performance in both processors, the results demonstrated that the SMT-based one presented gains up to 29%. Moreover, they emphasized that a large number of threads does not always represent a reduction in application time. In average, the results showed a curve in which a strong time reduction is achieved when working with 4 and 8 threads when evaluating pure and SMT dual-core processors, respectively. The trend concerns a slow growing of the execution time when enlarging the number of threads due to both task granularity and threads management.

Highlights

  • Considering the era of Big Data, the thematic of image compression becomes more and more relevant (Chen et al, 2012; Revathy & Jayamohan, 2012; Sundaresan & Devika, 2012)

  • This paper presents a parallel modeling of a lossy image compression method based on the fractal theory and its evaluation over two versions of dual-core processors: with and without simultaneous multithreading (SMT) support

  • Applications like Fractal Image Compression (FIC) with data-parallelism, where multiple execution threads execute the same code on different sets of data, SMT can improve their performance in approximately 30% when compared with non-SMT solutions (Raasch & Reinhardt, 2003)

Read more

Summary

Introduction

Considering the era of Big Data, the thematic of image compression becomes more and more relevant (Chen et al, 2012; Revathy & Jayamohan, 2012; Sundaresan & Devika, 2012). Images obtained by experiments in the fields of astronomy, medicine and geology may present several gigabytes in memory, emphasizing the use of image compression properly (Pinto & Gawande, 2012) In this context, a technique called Fractal Image Compression (FIC) appears as one of most efficient solutions for reducing the size of files (Jeng et al, 2009; Khan & Akhtar, 2013). Threads synchronization and scheduling, memory allocation, conditional variables and mutual exclusion are parameters under user control that must be carefully analyzed for extracting the power of these technologies in a better way In this context, the present paper describes the FIC technique and its threads-based implementation.

Image Compression
Lossless Compression
Lossy Compression
Fractal Image Compression
Parallel Program Modelling
Application Development and Evaluation Methodology
Experimental Results and Discussion
Related Work
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call