TRANSCODING CACHE FOR SMART PHONES

Size: px
Start display at page:

Download "TRANSCODING CACHE FOR SMART PHONES"

Transcription

1 TRANSCODING CACHE FOR SMART PHONES Pitiphong Phongpattranont Department of Computer Engineering Chulalongkorn University Bangkok, Thailand Abstract In this paper, we present Transcoding Cache (TC), a new way for caching data in smart phone application using web service. Transcoding Cache adapts the cache data for better utilization of limited space. Without changing the cache algorithm, TC works by transcoding the cache data in the disk cache. Our experiments show that TC performs better than the normal cache system in term of miss ratio and data loaded through the network. In particular, we can reduce the data transmitted through the mobile network up to 5% comparing to the legacy cache system. Keywords Mobile; Cache; Transcoding; Web Cache; Web; Image; Web Service I. INTRODUCTION In mobile environment, network access is one of the most expensive operations []. Caching data in the mobile devices can contribute to lower resources consumption. Network does not only cost for usage fee, but it also reduces the device s battery life as well. There exist many studies of cache algorithms. Recently, more focuses have moved to data that can be discarded by improving the choices of victims to be replaced. Adaptive algorithms and self-optimized algorithms [] are examples of such studies. These algorithms offer advantage to mobile environments where workloads depend on the usage patterns at the moment. Most mobile devices are used for content consumption. In several cases, users just skim through the content rather than looking at the whole details. In the real world, many web sites detect the screen size of clients devices and deliver the appropriate image size. This technique helps reducing the data transmitted through the network to the mobile devices. In this paper, we propose a new method for caching items. Our method can adapt to both users behaviors and limitation of mobile devices. The rest of this paper is organized as follows. Section II describes the related works. Section III describes the design of our Transcoding Cache System. Section IV describes the experimental results. Section V is conclusions and future works. II. RELATED WORKS In this section, we review Universal Mobile Caching and Least Recently Used. Krerk Piromsopa Department of Computer Engineering Chulalongkorn University Bangkok, Thailand A. Universal Mobile Caching Universal Mobile Caching (UMC) [] is caching algorithm policy which uses a set of simple criteria as a basic policy. Universal Mobile Caching algorithms are based on ranking objects by their cost of retrieval ( ( )) and replacing the objects with the lowest retrieval cost. The formula we use in this work is; ( ) ( ( ( )) ( ( )) ( ( )) UMC uses small set of objects properties as criteria which are ( ) is the access likelihood for the files ( ) is the cost of retrieval of the data ( ) is the benefit of evicting the cached data For our work, we selected the following properties as estimators. The frequency of accessing data as the access likelihood. ( ). The size of the image data as the cost of retrieving data. ( ). If the cached data is big, it will give more space to the cache system for caching data entry. The size of the cached data as the benefit from evicting data. ( ). If the image data is big, it will require more data transmission. B. Least Recently Used Least Recently Used (LRU) [2] is caching algorithm policy which discards the least recently used data. III. DESIGN Our observation of users behaviors found that users usually skimmed through their photos while browsing or viewing photos. In most cases, the images size is bigger than the screen size of mobile devices (as shown in Figure 5). If users just skim through the photos, we can resize image to fit the mobile device screen before caching it. With this method, we can save the cache data size by resizing the image data to fit the screen size of mobile device. This will reduce the space for caching data and help increasing the number of cache entry in the system. 4

2 Figure Original image Figure 3 Image resized to 64x96 pixels Figure 2 Converted to gray scale image In our work, we do not change the cache algorithm. However, we change the behavior of cache data. It is important to note that we are looking only at the images data in this work. Other caching systems, when user access data, will collect the criteria data for the replacement algorithm and cached the accessed data for later use. In our work, the system will cache the accessed data by transcoding the data before saving it for cache in order to improve caching performance. Transcoding process can be done in many ways. For image data, we can resize image, reduce image s color depth or change compression algorithm. For video data, we can resize the video size, change video compression algorithm. For text data, we can simply compress the text data. Figure 4 Image with higher compression ratio Figure to 4 show example images that are transcoded in many ways. Figure is the original image. Figure 2 is the image that is converted to gray scale color. Figure 3 is the image that is resized to the 64x96 mobile device s screen. Figure 4 is the image that is compressed with higher compression ratio. From these examples, we hardly see the difference between Figure and Figure 3 but we can see the difference between Figure and Figure 2 and we can notice the difference between Figure and Figure 4. In this work, we primarily focus on the image data. We choose image resizing and changing compression algorithm and compression ratio as the transcoding process. We choose these two techniques in this work because users can notice the color depth reducing easier than the change on the image size. The image is resized to fit the screen of the mobile device and compressing with JPEG lossy format with medium quality 4

3 Average number of data in cache Mobile Screen. 96x64 pixels Normal Cache Transcoding 32x48 Image 248x536 pixels Figure 5 Example of image compare to mobile device screen compression [3]. The main idea is to save the space used for caching the transcoded data. When a cached image is being accessed, the system will return the resized image. If a user requests for the original data (full image), the system will treat such access as a miss and retrieve the original data again without transcoding it. In typical disk cache, we usually set the limit of disk cache size. Transcoding Cache system, which transcode the caching Transcoding 64x96 Figure 6 Average numbers of data in cache data, reduces the cache data file size and makes room for more cache data entry. Therefore it reduces the miss ratio of the cache system. Subsequently, it also reduces the data transmitted through the network. For better result, we need the cache algorithm which works best on the mobile environments. We choose 2 algorithms for our evaluation. The algorithms are Universal Mobile Caching (UMC) cache algorithms and Least Recently Used (LRU). IV. EXPERIMENTAL RESULTS We have conducted simulation-based experiments based on the real usage of users to evaluate our transcoding cache. Our Miss Ratio 32x48 pixel Miss Ratio 64x96 pixel.5.5 Byte Miss Ratio 32x48 pixel Byte Miss Ratio 64x96 pixel.5.5 Figure 7 32x48 pixels miss ratio Figure 8 64x96 pixels miss ratio 42

4 Byte loaded 32x48 pixel Data Saved 32x48 LRU UMC Byte loaded 64x96 pixel 4 2 Data Saved 64x96 LRU UMC Figure 9 Data loaded simulation evaluated hit ratios, number of data transmission. We tested the performance of transcoded caching system and evaluated hit ratios and byte data transmission. We chose Least Recently Used and Universal Mobile Caching algorithms for caching algorithms in our experiment for comparing the performance of the transcoding cache with that of normal cache. We conduct our tests and compare the result of normal cache system with our transcoding cache system by controlling the disk cache size and the caching algorithms. A. Traces Traces are collected from the real world usage by users. We recorded the data accessing behavior from users. The trace contains 473 of images with 6 requests. All images are JPEG image files with resolution up to 248x248 pixels. Twenty percent of requests are the full images requests. The screen resolutions of mobile devices used in the experiments are 32x48 and 64x96 pixels. B. Results TABLE I CACHED FILE SIZE (%) Screen Size 32x48 64x96 Cached File Size (%) Table I shows the average file size of the transcoded data. For screen with resolution 32x48 pixels, Transcoding cache system Figure Bytes saved can reduce the caching data size by 93%. For screen with resolution 64x96 pixels, the system can reduce the caching data size by 78%. The average time for resize image is.79 second, which is very small resource consumption compare to data transmission through network. Figure 6 shows number of cache data in the system with fixed disk cache size. Transcoding Cache can help cache system to cache more data entry than that of normal cache system. Figure 7 shows the results for screen with resolution 32x48 pixels. Transcoding cache system performs better than normal cache system. This is due to the transcoding cache system has more cached entries than those of the normal cache system which helps the transcoding cache system decrease the miss ratio. The 6 cache size system has the most differences in term of performance and will reduce when the cache size is increased Figure 8 shows the results for screen with resolution 64x94 pixels. Transcoding cache system also performs better than normal system. The 64 cache size system has the most difference in term of performance. Figure 9 shows the number of data that the caches system used to loaded data through the network. In Figure, we show how many data transmitted is saved comparing to that of the normal cache systems. In the lower screen resolution, the result shows that the transcoding can save a lot of data transmitted 43

5 through the network up to 5 % for mobile device with screen resolution 32x48 pixels and up to 2 % for 64x96 pixels system. V. CONCLUSIONS AND FUTURE WORK Our major contribution in this paper is the Transcoding Cache for smart phones. We have demonstrated the ability to transcode the cached data that based on the users behavior for reducing the cached data size and making more room for cached data. In summary, we see the Transcoding Cache for smart phones perform better than the normal cache system. The comparison is based on the real-world usage images data. We can improve the performance of Transcoding Cache System by improving the cache algorithm to consider the transcoded data model. That should improve the performance of the caching system. In this work, we use resize image function built in the mobile OS. We can improve the result of the transcoded image by using the Seam carving for content-aware image resizing technique [4] or using the better image compression algorithms e.g. JPEG2 [5] which can reduce more file size while preserving the image quality [6]. [7] Raphaël Grosbois, Touradj Ebrahimi Diego Santa-Cruz, "JPEG 2 performance evaluation and assessment," Signal Processing: Image Communication, vol. 7, no., pp. 3-3, January 22. REFERENCES [] Gernot Heiser Aaron Carroll, "An Analysis of Power Consumption in a Smartphone," in USENIX Association Berkeley, CA, 2. [2] Ahmed Amer, Panos K. Chrysanthis Ganesh Santhanakrishnan, "Towards Universal Mobile Caching," in ACM, New York, 25, pp [3] Yuanyuan Zhou. (2, Apr.) Definitions of various cache algorithms. [Online]. HYPERLINK " u_html/node3.html" u_html/node3.html [4] Matthew J. Zukoski, Kenneth D. Hopper, and Paul L. Stagg Tunc A. lyriboz, "A comparison of wavelet and Joint Photographic Experts Group lossy compression methods applied to medical images," Journal of Digital Imaging, vol. 2, no., pp. 4-7, 999. [5] Ariel Shamir Shai Avidan, "Seam carving for content-aware image resizing," in SIGGRAPH, California, 27. [6] R. Colin Johnson. (999, December) JPEG2 wavelet compression spec approved. [Online]. HYPERLINK " wavelet-compression-spec-approved" wavelet-compression-spec-approved 44

Content-Aware Image Resizing

Content-Aware Image Resizing Content-Aware Image Resizing EE368 Project Report Parnian Zargham Stanford University Electrical Engineering Department Stanford, CA pzargham@stanford.edu Sahar Nassirpour Stanford University Electrical

More information

Comparative Analysis of Image Compression Using Wavelet and Ridgelet Transform

Comparative Analysis of Image Compression Using Wavelet and Ridgelet Transform Comparative Analysis of Image Compression Using Wavelet and Ridgelet Transform Thaarini.P 1, Thiyagarajan.J 2 PG Student, Department of EEE, K.S.R College of Engineering, Thiruchengode, Tamil Nadu, India

More information

Lecture #9: Image Resizing and Segmentation

Lecture #9: Image Resizing and Segmentation Lecture #9: Image Resizing and Segmentation Mason Swofford, Rachel Gardner, Yue Zhang, Shawn Fenerin Department of Computer Science Stanford University Stanford, CA 94305 {mswoff, rachel0, yzhang16, sfenerin}@cs.stanford.edu

More information

An Improved Image Resizing Approach with Protection of Main Objects

An Improved Image Resizing Approach with Protection of Main Objects An Improved Image Resizing Approach with Protection of Main Objects Chin-Chen Chang National United University, Miaoli 360, Taiwan. *Corresponding Author: Chun-Ju Chen National United University, Miaoli

More information

Adaptation of document images to display constraints

Adaptation of document images to display constraints Adaptation of document images to display constraints Kathrin Berkner * and Berna Erol Ricoh Innovations, Inc. 2882 Sand Hill Rd, Suite 115, Menlo Park, CA, 94025 ABSTRACT The variety of displays used to

More information

Lossless Image Compression with Lossy Image Using Adaptive Prediction and Arithmetic Coding

Lossless Image Compression with Lossy Image Using Adaptive Prediction and Arithmetic Coding Lossless Image Compression with Lossy Image Using Adaptive Prediction and Arithmetic Coding Seishi Taka" and Mikio Takagi Institute of Industrial Science, University of Tokyo Abstract Lossless gray scale

More information

CONTENT BASED IMAGE COMPRESSION TECHNIQUES: A SURVEY

CONTENT BASED IMAGE COMPRESSION TECHNIQUES: A SURVEY CONTENT BASED IMAGE COMPRESSION TECHNIQUES: A SURVEY Salija.p, Manimekalai M.A.P, Dr.N.A Vasanti Abstract There are many image compression methods which compress the image as a whole and not considering

More information

A CONTENT-TYPE BASED EVALUATION OF WEB CACHE REPLACEMENT POLICIES

A CONTENT-TYPE BASED EVALUATION OF WEB CACHE REPLACEMENT POLICIES A CONTENT-TYPE BASED EVALUATION OF WEB CACHE REPLACEMENT POLICIES F.J. González-Cañete, E. Casilari, A. Triviño-Cabrera Department of Electronic Technology, University of Málaga, Spain University of Málaga,

More information

FRACTAL IMAGE COMPRESSION OF GRAYSCALE AND RGB IMAGES USING DCT WITH QUADTREE DECOMPOSITION AND HUFFMAN CODING. Moheb R. Girgis and Mohammed M.

FRACTAL IMAGE COMPRESSION OF GRAYSCALE AND RGB IMAGES USING DCT WITH QUADTREE DECOMPOSITION AND HUFFMAN CODING. Moheb R. Girgis and Mohammed M. 322 FRACTAL IMAGE COMPRESSION OF GRAYSCALE AND RGB IMAGES USING DCT WITH QUADTREE DECOMPOSITION AND HUFFMAN CODING Moheb R. Girgis and Mohammed M. Talaat Abstract: Fractal image compression (FIC) is a

More information

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG MANGESH JADHAV a, SNEHA GHANEKAR b, JIGAR JAIN c a 13/A Krishi Housing Society, Gokhale Nagar, Pune 411016,Maharashtra, India. (mail2mangeshjadhav@gmail.com)

More information

Common File Formats. Need a standard to store images Raster data Photos Synthetic renderings. Vector Graphic Illustrations Fonts

Common File Formats. Need a standard to store images Raster data Photos Synthetic renderings. Vector Graphic Illustrations Fonts 1 Image Files Common File Formats Need a standard to store images Raster data Photos Synthetic renderings Vector Graphic Illustrations Fonts Bitmap Format - Center for Graphics and Geometric Computing,

More information

This is not yellow. Image Files - Center for Graphics and Geometric Computing, Technion 2

This is not yellow. Image Files - Center for Graphics and Geometric Computing, Technion 2 1 Image Files This is not yellow Image Files - Center for Graphics and Geometric Computing, Technion 2 Common File Formats Need a standard to store images Raster data Photos Synthetic renderings Vector

More information

Image Compression and Resizing Using Improved Seam Carving for Retinal Images

Image Compression and Resizing Using Improved Seam Carving for Retinal Images Image Compression and Resizing Using Improved Seam Carving for Retinal Images Prabhu Nayak 1, Rajendra Chincholi 2, Dr.Kalpana Vanjerkhede 3 1 PG Student, Department of Electronics and Instrumentation

More information

Fast Region-of-Interest Transcoding for JPEG 2000 Images

Fast Region-of-Interest Transcoding for JPEG 2000 Images MITSUBISHI ELECTRIC RESEARCH LABORATORIES http://www.merl.com Fast Region-of-Interest Transcoding for JPEG 2000 Images Kong, H-S; Vetro, A.; Hata, T.; Kuwahara, N. TR2005-043 May 2005 Abstract This paper

More information

Image coding and compression

Image coding and compression Image coding and compression Robin Strand Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University Today Information and Data Redundancy Image Quality Compression Coding

More information

ECE7995 Caching and Prefetching Techniques in Computer Systems. Lecture 8: Buffer Cache in Main Memory (I)

ECE7995 Caching and Prefetching Techniques in Computer Systems. Lecture 8: Buffer Cache in Main Memory (I) ECE7995 Caching and Prefetching Techniques in Computer Systems Lecture 8: Buffer Cache in Main Memory (I) 1 Review: The Memory Hierarchy Take advantage of the principle of locality to present the user

More information

Advanced High Graphics

Advanced High Graphics VISUAL MEDIA FILE TYPES JPG/JPEG: (Joint photographic expert group) The JPEG is one of the most common raster file formats. It s a format often used by digital cameras as it was designed primarily for

More information

CMPSC 311- Introduction to Systems Programming Module: Caching

CMPSC 311- Introduction to Systems Programming Module: Caching CMPSC 311- Introduction to Systems Programming Module: Caching Professor Patrick McDaniel Fall 2016 Reminder: Memory Hierarchy L0: Registers CPU registers hold words retrieved from L1 cache Smaller, faster,

More information

A Memory Management Scheme for Hybrid Memory Architecture in Mission Critical Computers

A Memory Management Scheme for Hybrid Memory Architecture in Mission Critical Computers A Memory Management Scheme for Hybrid Memory Architecture in Mission Critical Computers Soohyun Yang and Yeonseung Ryu Department of Computer Engineering, Myongji University Yongin, Gyeonggi-do, Korea

More information

Effects of Semantic Cache on Mobile Database System

Effects of Semantic Cache on Mobile Database System Effects of Semantic Cache on Mobile Database System S.QADRI, A.R SATTAR & T. MUSTAFA Department of Computer Sciences University of Agriculture Faisalabad PAKISTAN salmanbzu@gmail.com, ahsan@uaf.edu.pk,

More information

Available online at ScienceDirect. Procedia Computer Science 89 (2016 )

Available online at   ScienceDirect. Procedia Computer Science 89 (2016 ) Available online at www.sciencedirect.com ScienceDirect Procedia Computer Science 89 (2016 ) 778 784 Twelfth International Multi-Conference on Information Processing-2016 (IMCIP-2016) Color Image Compression

More information

Cache Controller with Enhanced Features using Verilog HDL

Cache Controller with Enhanced Features using Verilog HDL Cache Controller with Enhanced Features using Verilog HDL Prof. V. B. Baru 1, Sweety Pinjani 2 Assistant Professor, Dept. of ECE, Sinhgad College of Engineering, Vadgaon (BK), Pune, India 1 PG Student

More information

Least Recently Frequently Used Caching Algorithm with Filtering Policies

Least Recently Frequently Used Caching Algorithm with Filtering Policies VLSI Project Least Recently Frequently Used Caching Algorithm with Filtering Policies Alexander Zlotnik Marcel Apfelbaum Supervised by: Michael Behar, Winter 2005/2006 VLSI Project Winter 2005/2006 1 Introduction

More information

Migration Based Page Caching Algorithm for a Hybrid Main Memory of DRAM and PRAM

Migration Based Page Caching Algorithm for a Hybrid Main Memory of DRAM and PRAM Migration Based Page Caching Algorithm for a Hybrid Main Memory of DRAM and PRAM Hyunchul Seok Daejeon, Korea hcseok@core.kaist.ac.kr Youngwoo Park Daejeon, Korea ywpark@core.kaist.ac.kr Kyu Ho Park Deajeon,

More information

Buffer Caching Algorithms for Storage Class RAMs

Buffer Caching Algorithms for Storage Class RAMs Issue 1, Volume 3, 29 Buffer Caching Algorithms for Storage Class RAMs Junseok Park, Hyunkyoung Choi, Hyokyung Bahn, and Kern Koh Abstract Due to recent advances in semiconductor technologies, storage

More information

Ramani A.V 2 HEAD OF CS & SRMV CAS, Coimbatore, Tamilnadu, India

Ramani A.V 2 HEAD OF CS & SRMV CAS, Coimbatore, Tamilnadu, India Volume 7, Issue 2, February 2017 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Website Quality

More information

Rectangling Panoramic Images via Warping

Rectangling Panoramic Images via Warping Rectangling Panoramic Images via Warping Kaiming He Microsoft Research Asia Huiwen Chang Tsinghua University Jian Sun Microsoft Research Asia Introduction Panoramas are irregular Introduction Panoramas

More information

Hibachi: A Cooperative Hybrid Cache with NVRAM and DRAM for Storage Arrays

Hibachi: A Cooperative Hybrid Cache with NVRAM and DRAM for Storage Arrays Hibachi: A Cooperative Hybrid Cache with NVRAM and DRAM for Storage Arrays Ziqi Fan, Fenggang Wu, Dongchul Park 1, Jim Diehl, Doug Voigt 2, and David H.C. Du University of Minnesota, 1 Intel, 2 HP Enterprise

More information

SF-LRU Cache Replacement Algorithm

SF-LRU Cache Replacement Algorithm SF-LRU Cache Replacement Algorithm Jaafar Alghazo, Adil Akaaboune, Nazeih Botros Southern Illinois University at Carbondale Department of Electrical and Computer Engineering Carbondale, IL 6291 alghazo@siu.edu,

More information

Chapter 09: Caches. Lesson 04: Replacement policy

Chapter 09: Caches. Lesson 04: Replacement policy Chapter 09: Caches Lesson 04: Replacement policy 1 Objective Understand the replacement Policy Comparisons between write back and write through caches 2 Replacement policy 3 Replacement after eviction

More information

A trace-driven analysis of disk working set sizes

A trace-driven analysis of disk working set sizes A trace-driven analysis of disk working set sizes Chris Ruemmler and John Wilkes Operating Systems Research Department Hewlett-Packard Laboratories, Palo Alto, CA HPL OSR 93 23, 5 April 993 Keywords: UNIX,

More information

Trace Driven Simulation of GDSF# and Existing Caching Algorithms for Web Proxy Servers

Trace Driven Simulation of GDSF# and Existing Caching Algorithms for Web Proxy Servers Proceeding of the 9th WSEAS Int. Conference on Data Networks, Communications, Computers, Trinidad and Tobago, November 5-7, 2007 378 Trace Driven Simulation of GDSF# and Existing Caching Algorithms for

More information

Differential Compression and Optimal Caching Methods for Content-Based Image Search Systems

Differential Compression and Optimal Caching Methods for Content-Based Image Search Systems Differential Compression and Optimal Caching Methods for Content-Based Image Search Systems Di Zhong a, Shih-Fu Chang a, John R. Smith b a Department of Electrical Engineering, Columbia University, NY,

More information

Computer Sciences Department

Computer Sciences Department Computer Sciences Department SIP: Speculative Insertion Policy for High Performance Caching Hongil Yoon Tan Zhang Mikko H. Lipasti Technical Report #1676 June 2010 SIP: Speculative Insertion Policy for

More information

So, what is data compression, and why do we need it?

So, what is data compression, and why do we need it? In the last decade we have been witnessing a revolution in the way we communicate 2 The major contributors in this revolution are: Internet; The explosive development of mobile communications; and The

More information

JPEG. Table of Contents. Page 1 of 4

JPEG. Table of Contents. Page 1 of 4 Page 1 of 4 JPEG JPEG is an acronym for "Joint Photographic Experts Group". The JPEG standard is an international standard for colour image compression. JPEG is particularly important for multimedia applications

More information

Frequency-based NCQ-aware disk cache algorithm

Frequency-based NCQ-aware disk cache algorithm LETTER IEICE Electronics Express, Vol.11, No.11, 1 7 Frequency-based NCQ-aware disk cache algorithm Young-Jin Kim a) Ajou University, 206, World cup-ro, Yeongtong-gu, Suwon-si, Gyeonggi-do 443-749, Republic

More information

REVIEW ON IMAGE COMPRESSION TECHNIQUES AND ADVANTAGES OF IMAGE COMPRESSION

REVIEW ON IMAGE COMPRESSION TECHNIQUES AND ADVANTAGES OF IMAGE COMPRESSION REVIEW ON IMAGE COMPRESSION TECHNIQUES AND ABSTRACT ADVANTAGES OF IMAGE COMPRESSION Amanpreet Kaur 1, Dr. Jagroop Singh 2 1 Ph. D Scholar, Deptt. of Computer Applications, IK Gujral Punjab Technical University,

More information

Cooperating Write Buffer Cache and Virtual Memory Management for Flash Memory Based Systems

Cooperating Write Buffer Cache and Virtual Memory Management for Flash Memory Based Systems Cooperating Write Buffer Cache and Virtual Memory Management for Flash Memory Based Systems Liang Shi, Chun Jason Xue and Xuehai Zhou Joint Research Lab of Excellence, CityU-USTC Advanced Research Institute,

More information

Research Article Does an Arithmetic Coding Followed by Run-length Coding Enhance the Compression Ratio?

Research Article Does an Arithmetic Coding Followed by Run-length Coding Enhance the Compression Ratio? Research Journal of Applied Sciences, Engineering and Technology 10(7): 736-741, 2015 DOI:10.19026/rjaset.10.2425 ISSN: 2040-7459; e-issn: 2040-7467 2015 Maxwell Scientific Publication Corp. Submitted:

More information

OPTIMIZING PDFS WITH ACROBAT PRO 8

OPTIMIZING PDFS WITH ACROBAT PRO 8 OPTIMIZING PDFS WITH ACROBAT PRO 8 GUIDELINES FOR CREATING PDF DOCUMENTS THAT ARE SMALLER IN FILE SIZE INTRODUCTION If you incorporate a lot of images in a file and then convert it to a PDF, the file size

More information

CS101 Lecture 12: Image Compression. What You ll Learn Today

CS101 Lecture 12: Image Compression. What You ll Learn Today CS101 Lecture 12: Image Compression Vector Graphics Compression Techniques Aaron Stevens (azs@bu.edu) 11 October 2012 What You ll Learn Today Review: how big are image files? How can we make image files

More information

Efficient Image Compression of Medical Images Using the Wavelet Transform and Fuzzy c-means Clustering on Regions of Interest.

Efficient Image Compression of Medical Images Using the Wavelet Transform and Fuzzy c-means Clustering on Regions of Interest. Efficient Image Compression of Medical Images Using the Wavelet Transform and Fuzzy c-means Clustering on Regions of Interest. D.A. Karras, S.A. Karkanis and D. E. Maroulis University of Piraeus, Dept.

More information

Very Fast Image Retrieval

Very Fast Image Retrieval Very Fast Image Retrieval Diogo André da Silva Romão Abstract Nowadays, multimedia databases are used on several areas. They can be used at home, on entertainment systems or even in professional context

More information

BPCLC: An Efficient Write Buffer Management Scheme for Flash-Based Solid State Disks

BPCLC: An Efficient Write Buffer Management Scheme for Flash-Based Solid State Disks BPCLC: An Efficient Write Buffer Management Scheme for Flash-Based Solid State Disks Hui Zhao 1, Peiquan Jin *1, Puyuan Yang 1, Lihua Yue 1 1 School of Computer Science and Technology, University of Science

More information

Spring 2016 :: CSE 502 Computer Architecture. Caches. Nima Honarmand

Spring 2016 :: CSE 502 Computer Architecture. Caches. Nima Honarmand Caches Nima Honarmand Motivation 10000 Performance 1000 100 10 Processor Memory 1 1985 1990 1995 2000 2005 2010 Want memory to appear: As fast as CPU As large as required by all of the running applications

More information

Digital Image Representation Image Compression

Digital Image Representation Image Compression Digital Image Representation Image Compression 1 Image Representation Standards Need for compression Compression types Lossless compression Lossy compression Image Compression Basics Redundancy/redundancy

More information

Binghamton University. CS-220 Spring Cached Memory. Computer Systems Chapter

Binghamton University. CS-220 Spring Cached Memory. Computer Systems Chapter Cached Memory Computer Systems Chapter 6.2-6.5 Cost Speed The Memory Hierarchy Capacity The Cache Concept CPU Registers Addresses Data Memory ALU Instructions The Cache Concept Memory CPU Registers Addresses

More information

JPEG Joint Photographic Experts Group ISO/IEC JTC1/SC29/WG1 Still image compression standard Features

JPEG Joint Photographic Experts Group ISO/IEC JTC1/SC29/WG1 Still image compression standard Features JPEG-2000 Joint Photographic Experts Group ISO/IEC JTC1/SC29/WG1 Still image compression standard Features Improved compression efficiency (vs. JPEG) Highly scalable embedded data streams Progressive lossy

More information

ECE 533 Digital Image Processing- Fall Group Project Embedded Image coding using zero-trees of Wavelet Transform

ECE 533 Digital Image Processing- Fall Group Project Embedded Image coding using zero-trees of Wavelet Transform ECE 533 Digital Image Processing- Fall 2003 Group Project Embedded Image coding using zero-trees of Wavelet Transform Harish Rajagopal Brett Buehl 12/11/03 Contributions Tasks Harish Rajagopal (%) Brett

More information

Introduction to Computer Science (I1100) Data Storage

Introduction to Computer Science (I1100) Data Storage Data Storage 145 Data types Data comes in different forms Data Numbers Text Audio Images Video 146 Data inside the computer All data types are transformed into a uniform representation when they are stored

More information

Measuring the power consumption of social media applications on a mobile device

Measuring the power consumption of social media applications on a mobile device Journal of Physics: Conference Series PAPER OPEN ACCESS Measuring the power consumption of social media applications on a mobile device To cite this article: A I M Dunia et al 2018 J. Phys.: Conf. Ser.

More information

Image Warping. Image Manipula-on and Computa-onal Photography CS Fall 2011 Robert Carroll.

Image Warping. Image Manipula-on and Computa-onal Photography CS Fall 2011 Robert Carroll. Image Warping http://www.jeffrey-martin.com Image Manipula-on and Computa-onal Photography CS294-69 Fall 2011 Robert Carroll [Some slides from K. Padalkar, S. Avidan, A. Shamir, A. Efros, S. Seitz, and

More information

JPEG Compression Using MATLAB

JPEG Compression Using MATLAB JPEG Compression Using MATLAB Anurag, Sonia Rani M.Tech Student, HOD CSE CSE Department, ITS Bhiwani India ABSTRACT Creating, editing, and generating s in a very regular system today is a major priority.

More information

Interactive Progressive Encoding System For Transmission of Complex Images

Interactive Progressive Encoding System For Transmission of Complex Images Interactive Progressive Encoding System For Transmission of Complex Images Borko Furht 1, Yingli Wang 1, and Joe Celli 2 1 NSF Multimedia Laboratory Florida Atlantic University, Boca Raton, Florida 33431

More information

Memory Hierarchy: Caches, Virtual Memory

Memory Hierarchy: Caches, Virtual Memory Memory Hierarchy: Caches, Virtual Memory Readings: 5.1-5.4, 5.8 Big memories are slow Computer Fast memories are small Processor Memory Devices Control Input Datapath Output Need to get fast, big memories

More information

The Impact of Write Back on Cache Performance

The Impact of Write Back on Cache Performance The Impact of Write Back on Cache Performance Daniel Kroening and Silvia M. Mueller Computer Science Department Universitaet des Saarlandes, 66123 Saarbruecken, Germany email: kroening@handshake.de, smueller@cs.uni-sb.de,

More information

CISC 360. Cache Memories Exercises Dec 3, 2009

CISC 360. Cache Memories Exercises Dec 3, 2009 Topics ν CISC 36 Cache Memories Exercises Dec 3, 29 Review of cache memory mapping Cache Memories Cache memories are small, fast SRAM-based memories managed automatically in hardware. ν Hold frequently

More information

CMPSC 311- Introduction to Systems Programming Module: Caching

CMPSC 311- Introduction to Systems Programming Module: Caching CMPSC 311- Introduction to Systems Programming Module: Caching Professor Patrick McDaniel Fall 2014 Lecture notes Get caching information form other lecture http://hssl.cs.jhu.edu/~randal/419/lectures/l8.5.caching.pdf

More information

ISSN (ONLINE): , VOLUME-3, ISSUE-1,

ISSN (ONLINE): , VOLUME-3, ISSUE-1, PERFORMANCE ANALYSIS OF LOSSLESS COMPRESSION TECHNIQUES TO INVESTIGATE THE OPTIMUM IMAGE COMPRESSION TECHNIQUE Dr. S. Swapna Rani Associate Professor, ECE Department M.V.S.R Engineering College, Nadergul,

More information

Locality. Cache. Direct Mapped Cache. Direct Mapped Cache

Locality. Cache. Direct Mapped Cache. Direct Mapped Cache Locality A principle that makes having a memory hierarchy a good idea If an item is referenced, temporal locality: it will tend to be referenced again soon spatial locality: nearby items will tend to be

More information

CIT 668: System Architecture. Caching

CIT 668: System Architecture. Caching CIT 668: System Architecture Caching Topics 1. Cache Types 2. Web Caching 3. Replacement Algorithms 4. Distributed Caches 5. memcached A cache is a system component that stores data so that future requests

More information

IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression

IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression IMAGE COMPRESSION Image Compression Why? Reducing transportation times Reducing file size A two way event - compression and decompression 1 Compression categories Compression = Image coding Still-image

More information

A Java System for Copy-Protected Display of Photographic Images on the Internet

A Java System for Copy-Protected Display of Photographic Images on the Internet A Java System for Copy-Protected Display of Photographic Images on the Internet Willis L. Boughton Computer Information Systems Department Business/Social Science Division William Rainey Harper College

More information

Image Compression With Haar Discrete Wavelet Transform

Image Compression With Haar Discrete Wavelet Transform Image Compression With Haar Discrete Wavelet Transform Cory Cox ME 535: Computational Techniques in Mech. Eng. Figure 1 : An example of the 2D discrete wavelet transform that is used in JPEG2000. Source:

More information

Improved Seam Carving for Video Retargeting. By Erik Jorgensen, Margaret Murphy, and Aziza Saulebay

Improved Seam Carving for Video Retargeting. By Erik Jorgensen, Margaret Murphy, and Aziza Saulebay Improved Seam Carving for Video Retargeting By Erik Jorgensen, Margaret Murphy, and Aziza Saulebay CS 534 Fall 2015 Professor Dyer December 21, 2015 Table of Contents 1. Abstract.....3 2. Introduction.......3

More information

Fast Non-Linear Video Synopsis

Fast Non-Linear Video Synopsis Fast Non-Linear Video Synopsis Alparslan YILDIZ, Adem OZGUR and Yusuf Sinan AKGUL {yildiz, akgul}@bilmuh.gyte.edu.tr, aozgur@gyte.edu.tr GIT Vision Lab - http://vision.gyte.edu.tr Gebze Institute of Technology

More information

Locality. CS429: Computer Organization and Architecture. Locality Example 2. Locality Example

Locality. CS429: Computer Organization and Architecture. Locality Example 2. Locality Example Locality CS429: Computer Organization and Architecture Dr Bill Young Department of Computer Sciences University of Texas at Austin Principle of Locality: Programs tend to reuse data and instructions near

More information

USER GUIDE PowerPhoto CRM

USER GUIDE PowerPhoto CRM USER GUIDE PowerPhoto CRM 2013 2015 Contents CONFIGURING POWERPHOTO Add, Remove, Set Default, Set Record Image, Thumbnail & View Text Display Original File Save Original File Resize Photo Resize Height

More information

CSE502: Computer Architecture CSE 502: Computer Architecture

CSE502: Computer Architecture CSE 502: Computer Architecture CSE 502: Computer Architecture Memory Hierarchy & Caches Motivation 10000 Performance 1000 100 10 Processor Memory 1 1985 1990 1995 2000 2005 2010 Want memory to appear: As fast as CPU As large as required

More information

CFLRU:A A Replacement Algorithm for Flash Memory

CFLRU:A A Replacement Algorithm for Flash Memory CFLRU:A A Replacement Algorithm for Flash Memory CASES'06, October 23 25, 2006, Seoul, Korea. Copyright 2006 ACM 1-59593-543-6/06/0010 Yen-Ting Liu Outline Introduction CFLRU Algorithm Simulation Implementation

More information

LBM: A Low-power Buffer Management Policy for Heterogeneous Storage in Mobile Consumer Devices

LBM: A Low-power Buffer Management Policy for Heterogeneous Storage in Mobile Consumer Devices LBM: A Low-power Buffer Management Policy for Heterogeneous Storage in Mobile Consumer Devices Hyojung Kang Department of Computer Science, Ewha University, Seoul, Korea Junseok Park Semiconductor Business,

More information

FlashTier: A Lightweight, Consistent and Durable Storage Cache

FlashTier: A Lightweight, Consistent and Durable Storage Cache FlashTier: A Lightweight, Consistent and Durable Storage Cache Mohit Saxena PhD Candidate University of Wisconsin-Madison msaxena@cs.wisc.edu Flash Memory Summit 2012 Santa Clara, CA Flash is a Good Cache

More information

Index. 1. Motivation 2. Background 3. JPEG Compression The Discrete Cosine Transformation Quantization Coding 4. MPEG 5.

Index. 1. Motivation 2. Background 3. JPEG Compression The Discrete Cosine Transformation Quantization Coding 4. MPEG 5. Index 1. Motivation 2. Background 3. JPEG Compression The Discrete Cosine Transformation Quantization Coding 4. MPEG 5. Literature Lossy Compression Motivation To meet a given target bit-rate for storage

More information

Spring 2018 :: CSE 502. Cache Design Basics. Nima Honarmand

Spring 2018 :: CSE 502. Cache Design Basics. Nima Honarmand Cache Design Basics Nima Honarmand Storage Hierarchy Make common case fast: Common: temporal & spatial locality Fast: smaller, more expensive memory Bigger Transfers Registers More Bandwidth Controlled

More information

Preview from Notesale.co.uk Page 2 of 88

Preview from Notesale.co.uk Page 2 of 88 Contents About this Guide Information for Students... Be Revise-Wise How to Use this Guide to Do Well in Your Exams... Revision Checklist... 4 1 Data and Quality of Data... 5 1.1 Encoding and Storing Data...7

More information

Last Class: Demand Paged Virtual Memory

Last Class: Demand Paged Virtual Memory Last Class: Demand Paged Virtual Memory Benefits of demand paging: Virtual address space can be larger than physical address space. Processes can run without being fully loaded into memory. Processes start

More information

Content Aware Image Resizing Using

Content Aware Image Resizing Using Al Akhawayn University Capstone Project Content Aware Image Resizing Using Seam Carving Ayman Bentourki supervised by Dr. Naeem Sheikh May 3, 2016 Contents 1 Abstract.......................................

More information

Identifying Stable File Access Patterns

Identifying Stable File Access Patterns Identifying Stable File Access Patterns Purvi Shah Jehan-François Pâris 1 Ahmed Amer 2 Darrell D. E. Long 3 University of Houston University of Houston University of Pittsburgh U. C. Santa Cruz purvi@cs.uh.edu

More information

A Novel Approach to Saliency Detection Model and Its Applications in Image Compression

A Novel Approach to Saliency Detection Model and Its Applications in Image Compression RESEARCH ARTICLE OPEN ACCESS A Novel Approach to Saliency Detection Model and Its Applications in Image Compression Miss. Radhika P. Fuke 1, Mr. N. V. Raut 2 1 Assistant Professor, Sipna s College of Engineering

More information

Sketch Based Image Retrieval Approach Using Gray Level Co-Occurrence Matrix

Sketch Based Image Retrieval Approach Using Gray Level Co-Occurrence Matrix Sketch Based Image Retrieval Approach Using Gray Level Co-Occurrence Matrix K... Nagarjuna Reddy P. Prasanna Kumari JNT University, JNT University, LIET, Himayatsagar, Hyderabad-8, LIET, Himayatsagar,

More information

Image Types Vector vs. Raster

Image Types Vector vs. Raster Image Types Have you ever wondered when you should use a JPG instead of a PNG? Or maybe you are just trying to figure out which program opens an INDD? Unless you are a graphic designer by training (like

More information

White Paper. How the Meltdown and Spectre bugs work and what you can do to prevent a performance plummet. Contents

White Paper. How the Meltdown and Spectre bugs work and what you can do to prevent a performance plummet. Contents White Paper How the Meltdown and Spectre bugs work and what you can do to prevent a performance plummet Programs that do a lot of I/O are likely to be the worst hit by the patches designed to fix the Meltdown

More information

Virtual Memory Overview

Virtual Memory Overview Virtual Memory Overview Virtual address (VA): What your program uses Virtual Page Number Page Offset Physical address (PA): What actually determines where in memory to go Physical Page Number Page Offset

More information

Swapping. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Swapping. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Swapping Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Swapping Support processes when not enough physical memory User program should be independent

More information

Performance metrics for caches

Performance metrics for caches Performance metrics for caches Basic performance metric: hit ratio h h = Number of memory references that hit in the cache / total number of memory references Typically h = 0.90 to 0.97 Equivalent metric:

More information

Swapping. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Swapping. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University Swapping Jinkyu Jeong (jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu EEE0: Introduction to Operating Systems, Fall 07, Jinkyu Jeong (jinkyu@skku.edu) Swapping

More information

Partial Caching Scheme for Streaming Multimedia Data in Ad-hoc Network

Partial Caching Scheme for Streaming Multimedia Data in Ad-hoc Network , pp.106-110 http://dx.doi.org/10.14257/astl.2014.51.25 Partial Caching Scheme for Streaming Multimedia Data in Ad-hoc Network Backhyun Kim and Iksoo Kim 1 Faculty of Liberal Education, Incheon National

More information

Computer Systems Architecture I. CSE 560M Lecture 15 Prof. Patrick Crowley

Computer Systems Architecture I. CSE 560M Lecture 15 Prof. Patrick Crowley Computer Systems Architecture I CSE 560M Lecture 15 Prof. Patrick Crowley Plan for Today Announcements PM2 due today Design presentations due Nov 4 Questions Today s discussion: Memory Hierarchy Basics

More information

Part 1 of 4. MARCH

Part 1 of 4. MARCH Presented by Brought to You by Part 1 of 4 MARCH 2004 www.securitysales.com A1 Part1of 4 Essentials of DIGITAL VIDEO COMPRESSION By Bob Wimmer Video Security Consultants cctvbob@aol.com AT A GLANCE Compression

More information

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY A PATH FOR HORIZING YOUR INNOVATIVE WORK REVIEW ON CONTENT BASED IMAGE RETRIEVAL BY USING VISUAL SEARCH RANKING MS. PRAGATI

More information

This document contains additional questions; it is not intended to be treated as a complete paper.

This document contains additional questions; it is not intended to be treated as a complete paper. 1 AS COMPUTER SCIENCE Paper 2 Additional Questions These questions focus primarily on topics that were not covered by the AQA AS and A-level Computing specifications, introduced in 2009. It is hoped that

More information

2.1 Optimized Importance Map

2.1 Optimized Importance Map 3rd International Conference on Multimedia Technology(ICMT 2013) Improved Image Resizing using Seam Carving and scaling Yan Zhang 1, Jonathan Z. Sun, Jingliang Peng Abstract. Seam Carving, the popular

More information

A Methodology to Detect Most Effective Compression Technique Based on Time Complexity Cloud Migration for High Image Data Load

A Methodology to Detect Most Effective Compression Technique Based on Time Complexity Cloud Migration for High Image Data Load AUSTRALIAN JOURNAL OF BASIC AND APPLIED SCIENCES ISSN:1991-8178 EISSN: 2309-8414 Journal home page: www.ajbasweb.com A Methodology to Detect Most Effective Compression Technique Based on Time Complexity

More information

Physical characteristics (such as packaging, volatility, and erasability Organization.

Physical characteristics (such as packaging, volatility, and erasability Organization. CS 320 Ch 4 Cache Memory 1. The author list 8 classifications for memory systems; Location Capacity Unit of transfer Access method (there are four:sequential, Direct, Random, and Associative) Performance

More information

Adapted from instructor s supplementary material from Computer. Patterson & Hennessy, 2008, MK]

Adapted from instructor s supplementary material from Computer. Patterson & Hennessy, 2008, MK] Lecture 17 Adapted from instructor s supplementary material from Computer Organization and Design, 4th Edition, Patterson & Hennessy, 2008, MK] SRAM / / Flash / RRAM / HDD SRAM / / Flash / RRAM/ HDD SRAM

More information

Assignment 1 due Mon (Feb 4pm

Assignment 1 due Mon (Feb 4pm Announcements Assignment 1 due Mon (Feb 19) @ 4pm Next week: no classes Inf3 Computer Architecture - 2017-2018 1 The Memory Gap 1.2x-1.5x 1.07x H&P 5/e, Fig. 2.2 Memory subsystem design increasingly important!

More information

G Virtual Memory. Robert Grimm New York University

G Virtual Memory. Robert Grimm New York University G22.3250-001 Virtual Memory Robert Grimm New York University Altogether Now: The Three Questions! What is the problem?! What is new or different?! What are the contributions and limitations? VAX-11 Memory

More information

CS 550 Operating Systems Spring File System

CS 550 Operating Systems Spring File System 1 CS 550 Operating Systems Spring 2018 File System 2 OS Abstractions Process: virtualization of CPU Address space: virtualization of memory The above to allow a program to run as if it is in its own private,

More information

Cascade Mapping: Optimizing Memory Efficiency for Flash-based Key-value Caching

Cascade Mapping: Optimizing Memory Efficiency for Flash-based Key-value Caching Cascade Mapping: Optimizing Memory Efficiency for Flash-based Key-value Caching Kefei Wang and Feng Chen Louisiana State University SoCC '18 Carlsbad, CA Key-value Systems in Internet Services Key-value

More information