Design and Implementation of Buffer Cache for EXT3NS File System

EXT3NS 파일 시스템을 위한 버퍼 캐시의 설계 및 구현

  • 손성훈 (상명대학교 소프트웨어학부) ;
  • 정성욱 (상명대학교 대학원 컴퓨터학과)
  • Published : 2006.12.30


EXT3NS is a special-purpose file system for large scale multimedia streaming servers. It is built on top of streaming acceleration hardware device called Network-Storage card. The EXT3NS file system significantly improves streaming performance by eliminating memory-to-memory copy operations, i.e. sending video/audio from disk directly to network interface with no main memory buffering. In this paper, we design and implement a buffer cache mechanism, called PMEMCACHE, for EXT3NS file system. We also propose a buffer cache replacement method called ONS for the buffer cache mechanism. The ONS algorithm outperforms other existing buffer replacement algorithms in distributed multimedia streaming environment. In EXT3NS with PMEMCACHE, operation is 33MB/sec and random read operation is 2.4MB/sec. Also, the buffer replacement ONS algorithm shows better performance by 600KB/sec than other buffer cache replacement policies. As a result PMEMCACHE and an ONS can greatly improve the performance of multimedia steaming server which should supportmultiple client requests at the same time.


  1. William Stallings, 'Operating Systems Internal and Design Principles', Prentice Hall, Fifth Edition, 2004
  2. Alan Jay Smith: Disk Cache, Miss Ratio Analysis and Design Considerations, ACM Trans. Comput. Syst. 3(3), p161-203,1985
  3. Elizabeth (Betty) O'Neil, Gerhard Weikum, An Optimality Proof of the LRU-K Page Replacement Algorithm, Journal of the ACM, p92-112, January 1999
  4. 전흥석, 노삼혁, 선반입을 이용한 효율적인 버퍼 캐쉬 관리 알고리즘, 정보과학회 시스템 및 이론 제27권 W5호, May 2000
  5. R. Karedla, J. S. Love and B. G. Wherry, Caching Strategies to Improve Disk System Performance, IEEE Computer, Vol.27, No.3, p38-46, March 1994
  6. Baik-Song Ahn, Sung-Hoon Sohn, Chei-Yol Kim, Gyu-Il Cha, Yun-Cheol Baek, Sung-In Jung, Myung-Joon Kim, Implementation and Evaluation of EXT3NS Multimedia File System, Proceedings of the 12th annual ACM international conference on Multimedia, p588-595, July 2004
  7. J. T. Robinson and M. V. Devarakonda, Data cache management using frequency-based replacement, Proceedings of ACM SIGMETRICS Conf., p134-142, 1990
  8. Theodore Johnson and Dennis Shasha. 2Q: A Low Overhead High Performance Buffer Management Replacement Algorithm, In Proceedings of the 20th VLDB Conference, pages 439-450, 1994