Buffer replacement algorithms for multimedia storage systems

In a disk-based storage system, a buffer cache is used to reduce the number of disk I/Os. The buffer manager is responsible for buffer replacement to free memory in order to accommodate new data blocks from the disk. An optimal buffer replacement algorithm is one which yields the lowest number of cache misses and, as a result, the lowest number of disk I/Os. In general, optimal buffer replacement algorithms require future knowledge, and therefore cannot be realized. Thus, most storage systems use approximation algorithms such as the least-recently-used (LRU) and most-recently-used (MRU) buffer replacement algorithms. In this paper, we show that both of these algorithms yield poor performance when they are used in storage systems that provide support for continuous media data. We present two new buffer replacement algorithms-BASIC and DISTANCE-which reduce the cache misses by up to 30% as compared to LRU and MRU. Furthermore, in the simulation experiments we conducted, our new algorithms resulted in at most a 9.7% increase in cache misses as compared to the optimal algorithm when the videos are sufficiently long (i.e. longer than 30 minutes). Moreover, we show that the DISTANCE scheme incurs an overhead which is comparable to those of the LRU and MRU schemes. Our conclusion is that DISTANCE is a very suitable candidate for a buffer replacement scheme in storage systems that deal with continuous media data.

[1]  Asit Dan,et al.  An online video placement policy based on bandwidth to space ratio (BSR) , 1995, SIGMOD '95.

[2]  Banu Özden,et al.  A Low-Cost Storage Server for Movie on Demand Databases , 1994, VLDB.

[3]  Banu Özden,et al.  A framework for the storage and retrieval of continuous media data , 1995, Proceedings of the International Conference on Multimedia Computing and Systems.

[4]  Banu Özden,et al.  Demand paging for video-on-demand servers , 1995, Proceedings of the International Conference on Multimedia Computing and Systems.

[5]  Philip S. Yu,et al.  Optimization of the grouped sweeping scheduling (GSS) with heterogeneous multimedia streams , 1993, MULTIMEDIA '93.

[6]  Michael Stonebraker,et al.  Operating system support for database management , 1981, CACM.

[7]  Ramesh Govindan,et al.  A file system for continuous media , 1992, TOCS.

[8]  Fouad A. Tobagi,et al.  Streaming RAID: a disk array management system for video files , 1993, MULTIMEDIA '93.

[9]  Andrew Laursen,et al.  Oracle media server: providing consumer based interactive access to multimedia data , 1994, SIGMOD '94.

[10]  David J. DeWitt,et al.  The SPIFFI scalable video-on-demand system , 1995, SIGMOD '95.

[11]  William L. Gettys DIRECTV and Oracle Rdb: the challenge of VLDB transaction processing , 1995, SIGMOD '95.

[12]  Abraham Silberschatz,et al.  Kernel Support for Recoverable-Persistent Virtual Memory , 1993, USENIX MACH Symposium.

[13]  Gerhard Weikum,et al.  The LRU-K page replacement algorithm for database disk buffering , 1993, SIGMOD Conference.

[14]  Shahram Ghandeharizadeh,et al.  Staggered striping in multimedia information systems , 1994, SIGMOD '94.