A Cache Replacement Algorithm in Hierarchical Storage of Continuous Media Object
Yaoqiang Xu,Chunxiao Xing,Lizhu Zhou
DOI: https://doi.org/10.1007/978-3-540-27772-9_17
2004-01-01
Abstract:Although storage technologies are in great progress, hierarchical storage is still an efficient way to manage massive data, especially massive Continuous Media (CM) data. In some large web based CM applications such as DL (Digital Library) and VOD (Video-On-Demand), cache replacement algorithms are used to keep the hot data on the disk, and migrate out those rarely accessed. The existing algorithms always treat all files equally, and use cache miss rate to evaluate the performance. However, in actual CM applications, most video objects are stored as several separated files that will be played one by one, so the strong relationships among the access time of these files make pre-fetch practicable and efficient. If all the files are taken as the same, the performance of systems will degrade. Meanwhile, the cache miss rate cannot evaluate the performance comprehensively. In this paper, a new metric, User Waiting Rate, is defined to evaluate the performance, and a novel cache replacement algorithm, Least Waiting Probability (LWP) algorithm, is proposed. Experiment results show that it can improve the performance a lot, and is highly adaptive.