[ieee international conference on computational intelligence and multimedia applications (iccima...

3
Analyzing the Performance of Multimedia Applications in Pentium Processors M.Shanthi , Asst. Professor Dept. of MCA, VEC, Chennai, Tamilnadu,India-600 066. Prof. George T. Manohar Dept. of Electrical Engg., IITMadras,Chennai, India– 600 003 [email protected] Abstract This paper presents the study and results of running four core multimedia applications on Pentium IV architecture with and without HTT support. The proposed approach is based on three main steps: first step is to analyze the theoretical concepts. The second step is to verify the concepts by considering various multimedia applications. The third step is to propose a new technique. Based on the analysis, the two observations were made. a) Irrespective of the image format (JPG, BMP or GIF), processor with HTT support increase the speed of the processor. b) Including the threading concept enhances the speed of the processor. So an attempt is made to propose new technique, which makes use of threading concept. .Keywords: Pentium IV, BMP, GIF, HTT, and Threading 1.Introduction. Processor performance has long been defined in terms of clock speeds: Performance Metrics is defined by units Response time, Throughput and Utilization. Hyper-Threading Technology enables gaming enthusiasts to play the latest titles and experience ultra realistic effects and game play. A salient feature of Pentium is its super scalar, super pipelined architecture. Intel introduced the MMX (Multimedia Extension) technology at a time when there was a tremendous need to improve the 2-D and 3-D imaging for multimedia applications. Intel provides around 57 MMX instructions, which helps the programmer to write efficient programs for image filtering, image enhancement, coding and other algorithms. Hyper-Threading Technology allows one processor to work on two separate operations at the same time rather than one at a time. Intel® Advanced Digital Media Boost is a feature that significantly improves performance when executing Streaming SIMD Extension International Conference on Computational Intelligence and Multimedia Applications 2007 0-7695-3050-8/07 $25.00 © 2007 IEEE DOI 10.1109/ICCIMA.2007.249 262 International Conference on Computational Intelligence and Multimedia Applications 2007 0-7695-3050-8/07 $25.00 © 2007 IEEE DOI 10.1109/ICCIMA.2007.249 262

Upload: george-t

Post on 24-Mar-2017

223 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: [IEEE International Conference on Computational Intelligence and Multimedia Applications (ICCIMA 2007) - Sivakasi, Tamil Nadu, India (2007.12.13-2007.12.15)] International Conference

Analyzing the Performance of Multimedia Applications in Pentium Processors

M.Shanthi , Asst. Professor

Dept. of MCA, VEC, Chennai, Tamilnadu,India-600 066.

Prof. George T. Manohar

Dept. of Electrical Engg., IITMadras,Chennai,

India– 600 003 [email protected]

Abstract

This paper presents the study and results of running four core multimedia applications on Pentium IV architecture with and without HTT support. The proposed approach is based on three main steps: first step is to analyze the theoretical concepts. The second step is to verify the concepts by considering various multimedia applications. The third step is to propose a new technique. Based on the analysis, the two observations were made. a) Irrespective of the image format (JPG, BMP or GIF), processor with HTT support increase the speed of the processor. b) Including the threading concept enhances the speed of the processor. So an attempt is made to propose new technique, which makes use of threading concept. .Keywords: Pentium IV, BMP, GIF, HTT, and Threading

1.Introduction.

Processor performance has long been defined in terms of clock speeds: Performance Metrics is defined by units Response time, Throughput and Utilization. Hyper-Threading Technology enables gaming enthusiasts to play the latest titles and experience ultra realistic effects and game play. A salient feature of Pentium is its super scalar, super pipelined architecture. Intel introduced the MMX (Multimedia Extension) technology at a time when there was a tremendous need to improve the 2-D and 3-D imaging for multimedia applications. Intel provides around 57 MMX instructions, which helps the programmer to write efficient programs for image filtering, image enhancement, coding and other algorithms. Hyper-Threading Technology allows one processor to work on two separate operations at the same time rather than one at a time. Intel® Advanced Digital Media Boost is a feature that significantly improves performance when executing Streaming SIMD Extension

International Conference on Computational Intelligence and Multimedia Applications 2007

0-7695-3050-8/07 $25.00 © 2007 IEEEDOI 10.1109/ICCIMA.2007.249

262

International Conference on Computational Intelligence and Multimedia Applications 2007

0-7695-3050-8/07 $25.00 © 2007 IEEEDOI 10.1109/ICCIMA.2007.249

262

Page 2: [IEEE International Conference on Computational Intelligence and Multimedia Applications (ICCIMA 2007) - Sivakasi, Tamil Nadu, India (2007.12.13-2007.12.15)] International Conference

2. Previous Research

In this paper[2], the author presented a comparison of the performance characteristics of several real-world multimedia programs with execution characteristics of SPEC CPU 2000 programs. Paper[3]tested and evaluated the effects of six different clients and workload parameters on the server configuration. Paper [4] conducted the performance study of two multimedia applications paralleled with OpenMP pragmas and compiled with the Intel compiler on the HTT enabled Intel single-processor and multi-processor systems.

3 Experimental setup - Multimedia Applications.

Four different types of Multimedia applications like loading the image , image filtering, animation, image compression programs were written in Java and executed in Pentium processor IV with and without Hyper-Threading Technology. CPU time is calculated using the equation CPU time = Instruction Count * Clock cycle time *Cycles per instruction.

3.1 To load and compress an Images

A program is written in Java to load JPG image and compress image are executed. Sample images of different sizes (roses-(345,375) ,(230,252)) of same and different formats were considered. To load five frames and ten frames in a loop were also considered. The results show that HTT enabled machine is faster. For image compression, when the image size changes, the runtime decreases When the quality is increased for the image the CPU time increases by one or two clocks .

3.2 Mean filter program

A program is written in java to filter the pixel value. Same program is run in different processor and the results are tabulated.

Table : 4 Mean filter S.No

JPG Image size

PIV P IV with HTT

1 (198,198) 359 312 2

(400,270) 422

328 0

10 0

2 0 0

3 0 0

4 0 0

5 0 0

1 2 3

Ser ies1

Ser ies2

263263

Page 3: [IEEE International Conference on Computational Intelligence and Multimedia Applications (ICCIMA 2007) - Sivakasi, Tamil Nadu, India (2007.12.13-2007.12.15)] International Conference

3.3 Multimedia Image loading program with threading concepts

Threading is really advantages because it increases the processor time irrespective of the image format. This is experimentally observed by writing a multimedia program in Java for loading the images. Based on the tabulated values, it was evident that threading gives better performance. Table: 2 Threading Concept

No of threads

Time in ms

CPI

1 zero 203 4.7 2 one 188 4.1 3 two 187 3.4 0

5 0

10 0

15 0

2 0 0

2 5 0

t hr eads zer o on e t wo

Time in ms

CPI

4. Conclusion and Future Enhancements In this paper, the characteristics of several key multimedia applications have been

presented and their performance on a HTT processor studied. Experiments show that a significant performance improvement is achieved using Hyper-Threading Technology. Based on the analysis and observations, an algorithm can be proposed to do image related operations using threading concept.

7. References

[1] AK Ray ,KM Bhurchandi., Advanced Microprocessors and peripherals.

[2].Execution characteristics of multimedia applications on a PentiumII processor Talla, D.; John, L.K .Performance, Computing, and Communications Conference, 2000. IPCCC apos;00. Conference Proceeding of the IEEE International Volume , Issue , Feb 2000

[3] Multimedia Workloads versus SPEC CPU2000 Christopher Martinez, Mythri Pinnamaneni and Eugene B. John Department of Electrical and Computer Engineering The University of Texas, San Antonio

[4] Performance comparison of various cache systems for texture mapping Choi, C.J.; Park, G.H.; Lee, J.H.; Park, W.C.; Han, T.D. “High Performance Computing in the Asia-Pacific Region, 2000. Proceedings. The Fourth International Conference/Exhibition on Volume 1, Issue , 2000 Page(s):374 - 379 vol.1

[5] D. Marr, F. Binns, D. L. Hill, G. Hinton, D. A.Koufaty, J. A. Miller, and M. Upton, “Hyper -Threading Technology Micro architecture and Performance,” Intel Technology Journal, Q1 2002.

[6] E. Palmer, “Hyper-Threading Characterization,” private communications, Apr. 2002.

264264