Abstract
This paper presents a novel hierarchy cache architecture for the purpose of optimizing IO performance. The main idea of the hierarchy cache is to use a few megabytes of RAM and a pagefile to form a two-level cache architecture, The pagefile is equivalent to the cache disk in DCD (Disk Caching Disk). The pagefile outperforms data disks, because data are accessed in different units and different ways. Small writes are collected in the RAM cache first, and data will be transferred to the pagefile in large writes later. When the system is idle, it will destage data from the pagefile to data disks. The performance test results show that the hierarchy cache can improve IO performance dramatically for small writes, and the mail server using the hierarchy cache driver can handle transactions about 2.2 times faster than the normal mail server. The hierarchy cache is implemented as a filter driver, so it's transparent to the current Windows 2000/ Windows XP operating system.
Similar content being viewed by others
References
Kennedy K, McKinley K. Optimizing for Parallelism and Memory Hierarchy.Proceedings of the 1992 International Conference on Supercomputing. Washington, DC: ACM Press, 1992, 323–334.
Lyer S, Druschel P. Anticipatory Scheduling: a Disk Scheduling Framework to Overcome Deceptive Idleness in Synchronous I/O.Proceedings of the 18th ACM Symposium on Operating Systems Principles. Banff, Canada: ACM Press, 2001, 117–130.
Yiming H, Qing Y. DCD-Disk Caching Disk: a New Approach for Boosting I/O Performance.Proceedings of the 23rd Annual International Symposium on Computer Architecture. New York: ACM Press, 1996, 169–178.
Stodolsky D, Gibson G, Holland M. Parity Logging: Overcoming the Small Write Problem in Redundant Disk Arrays.Proceedings of the 20th International Symposium on Computer Architecture. San Diego, CA: IEEE Computer Society Press, 1993, 64–75.
Rosenblum M, Ousterhout J. The Design and Implementation of a Log-structured File System.Proceedings of the 13th Symposium on Operating System Principles. Pacific Grove CA: ACM Press, 1991. 1–15.
Dahlin M, Wang R, Anderson T. Cooperative Caching: Using Remote Client Memory to Improve File System Performance.Proceedings of First Symposium on Operating Systems Design and Implementation. Monterey California: ACM Press, 1994, 267–280.
Yiming H, Qing Y. A New Hierarchical Disk Architecture.IEEE Micro, 1988,18(6): 64–76.
Author information
Authors and Affiliations
Corresponding author
Additional information
Foundation item: Supported by the National Natural Science Foundation of China (60273073)
Biography: XIE chang-sheng (1945-), male Professor, research direction: storage system, network storage.
Rights and permissions
About this article
Cite this article
Chang-sheng, X., Rui-fang, L. & Zhi-hu, T. Design and implementation of hierarchy cache using pagefile. Wuhan Univ. J. Nat. Sci. 9, 890–894 (2004). https://doi.org/10.1007/BF02850793
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF02850793