Abstract
Write-through caching in modern disk drives enables the protection of data in the event of power failures as well as from certain disk errors when the write-back cache does not. Host system can achieve these benefits at the price of significant performance degradation, especially for small disk writes. We present new block-level techniques to address the performance problem of write-through caching disks. Our techniques are strongly motivated by some interesting results when the disk-level caching is turned off. By extending the conventional request merging, request bridging increases the request size and amortizes the inherent delays in the disk drive across more bytes of data. Like sector interleaving, request interleaving rearranges requests to prevent the disk head from missing the target sector position in close proximity, and thus reduces disk latency. We have evaluated our block-level approach using a variety of I/O workloads and shown that it increases disk I/O throughput by up to about 50%. For some real-world workloads, the disk performance is comparable or even superior to that of using the write-back disk cache. In practice, our simple yet effective solutions achieve better tradeoffs between data reliability and disk performance when applied to write-through caching disks.
- Bairavasundaram, L. N., Goodson, G. R., Pasupathy, S., and Schindler, J. 2007. An analysis of latent sector errors in disk drives. ACM SIGMETRICS Perform. Eval. Rev. 289--300. Google ScholarDigital Library
- Brunelle, A. D. 2009. blktrace User Guide. http://pdfedit.petricek.net/bt/.Google Scholar
- Dees, B. 2005. Native command queuing - advanced performance in desktop storage. Potentials, IEE 24, 4, 4--7.Google ScholarCross Ref
- Dell. 2004. Controllers: Dell Openmanage Storage Management User’s Guide. http://support.dell.com/support/edocs/software/svradmin/1.9/en/stormgmt/cntrls.html.Google Scholar
- Dimitrijevic, Z., Rangaswami, R., Watson, D., and Acharya, A. 2001. Diskbench: User-level disk feature extraction tool. Tech. rep. University of California Santa Barbara.Google Scholar
- Ding, X., Jiang, S., Chen, F., Davis, K., and Zhang, X. 2007. Diskseen: Exploiting disk layout and access history to enhance I/O prefetch. In Proceedings of the USENIX Annual Technical Conference. USENIX Association, Berkeley, CA, 261--274. Google ScholarDigital Library
- Ganger, G. R. 2001. Blurring the line between OSES and storage devices. Tech. rep. CMU-CS-01-166, Carnegie Mellon University, Pittsburgh, PA.Google Scholar
- Gill, B. S. and Modha, D. S. 2005. Wow: Wise ordering for writes -- Combining spatial and temporal locality in non-volatile caches. In Proceedings of the USENIX Conference on File and Storage Technologies. USENIX Association, Berkeley, CA, 129--142. Google ScholarDigital Library
- Guest, J. E., King, R. W., and Kiscaden, R. C. 1974. Locial sector interleave. IBM Tech. Disclosure Bull. 17, 05, 1460--1463.Google Scholar
- HP. 2002. Hp a5856a Raid 4si pci 4-Channel Ultra2 scsi Controller -- Installation and Administration Guide. http://docs.hp.com/en/J6173-90007/go01.html.Google Scholar
- Huang, L. and Chiueh, T. C. 2000. Implementation of a rotation-latency-sensitive disk scheduler. Tech. rep.Google Scholar
- IBM. 2004. Raid hard drive write-cache defaults to write-through mode -- Servers. http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-44238.Google Scholar
- Iyer, S. and Druschel, P. 2001. Anticipatory scheduling: A disk scheduling framework to overcome deceptive idleness in synchronous I/O. In Proceedings of the ACM Symposium on Operating Systems Principles. ACM, New York, 117--130. Google ScholarDigital Library
- Jacobson, D. and Wilkes, J. 1991. Disk scheduling algorithms based on rotational position. Tech. rep. HPL-CSP-91-7rev1, HP Laboratories.Google Scholar
- Jiang, S., Ding, X., Chen, F., Tan, E., and Zhang, X. 2005. An effective buffer cache management scheme to exploit both temporal and spatial locality. In Proceedings of the 4th USENIX Conference on File and Storage Technologies. USENIX Association, Berkeley, CA, 101--114. Google ScholarDigital Library
- Katcher, J. 1991. Postmark: A new file system benchmark. Tech. rep. HPL-CSP-91-7rev1, HP Laboratories.Google Scholar
- Kim, Y.-J., Lee, S.-J., Jang, K., and Kim, J. 2007. I/O performance optimization techniques for hybrid hard disk-based mobile consumer devices. IEEE Trans. Consumer Electron. 53, 4. Google ScholarDigital Library
- Li, C., Shen, K., and Papathanasiou, A. E. 2007. Competitive prefetching for concurrent sequential I/O. In Proceedings of the 2nd ACM SIGOPS/EuroSys European Conference on Computer Systems. ACM, New York. Google ScholarDigital Library
- Lumb, C. R., Schindler, J., and Ganger, G. R. 2002. Freeblock scheduling outside of disk firmware. In Proceedings of the Conference on File and Storage Technologies. 275--288. Google ScholarDigital Library
- McDougall, R. 2004. A new methodology for characterizing file system performance using a hybrid of analytic models and a synthetic benchmark. In Work in Progress Session in 3rd USENIX Conference on File and Storage Technologies. USENIX Association, Berkeley, CA.Google Scholar
- McKusick, M. K. and Ganger, G. R. 1999. Soft updates: A technique for eliminating most synchronous writes in the fast filesystem. In Proceedings of the Annual Technical Conference on USENIX Annual Technical Conference. USENIX Association, Berkeley, CA. Google ScholarDigital Library
- McKusick, M. K., Joy, W. N., Leffler, S. J., and Fabry, R. S. 1984. A fast file system for UNIX. ACM Trans. Comput. Syst. 22, 3, 181--197. Google ScholarDigital Library
- Piggin, N. 2003. Anticipatory I/O scheduler. Linux Kernel version 2.6.24 documentation.Google Scholar
- Prabhakaran, V., Arpaci-Dusseau, A. C., and Arpaci-Dusseau, R. H. 2005. Analysis and evolution of journaling file systems. In Proceedings of the USENIX Annual Technical Conference. USENIX Association, Berkeley, CA. Google ScholarDigital Library
- Reuther, L. and Pohlack, M. 2003. Rotational-position-aware real-time disk scheduling using a dynamic active subset (DAS). In Proceedings of the 24th IEEE Real-Time Systems Symposium (RTSS). IEEE, Los Alamitos, CA, 374. Google ScholarDigital Library
- Riska, A., Larkby-Lahet, J., and Riedel, E. 2007. Evaluating block-level optimization through the IO path. In Proceedings of the USENIX Annual Technical Conference. USENIX Association, 247--260. Google ScholarDigital Library
- Rosenblum, M. and Ousterhout, J. K. 1992. The design and implementation of a log-structured file system. ACM Trans. Comput. Syst. 10, 1--15. Google ScholarDigital Library
- Ruemmler, C. and Wilkes, J. 1992. Unix disk access patterns. HPL-92-152.Google Scholar
- Ruemmler, C. and Wilkes, J. 1994. An introduction to disk drive modeling. Computer 27, 3, 17--28. Google ScholarDigital Library
- Schindler, J. and Ganger, G. R. 2000. Automated disk drive characterization. In Proceedings of the ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems. ACM, New York. Google ScholarDigital Library
- Schindler, J., Griffin, J. L., Lumb, C. R., and Ganger, G. R. 2002. Track-aligned extents: Matching access patterns to disk drive characteristics. In Proceedings of the USENIX Conference on File and Storage Technologies. USENIX Association, Berkeley, CA. Google ScholarDigital Library
- Seltzer, M., Chen, P., and Ousterhout, J. 1993. Disk scheduling revisited. In Proceedings of the Winter USENIX Conference. USENIX Association, Berkeley, CA, 405--420.Google Scholar
- Seltzer, M. I., Ganger, G. R., McKusick, M. K., Simith, K. A., Soules, C. A. N., and Stein, C. A. 2000. Journaling versus soft updates: Asynchronous meta-data protection in file systems. In Proceedings of the USENIX Annual Technical Conference. USENIX Association, Berkeley, CA, 71--84. Google ScholarDigital Library
- Shanley, T. and Anderson, D. 1999. PCI System Architecture 4th Ed. Addison-Wesley, Reading, MA. Google ScholarDigital Library
- Shin, D. I., Yu, Y. J., and Yeom, H. Y. 2007. Shedding light in the black-box: Structural modeling of modern disk drives. In Proceedings of the 15th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems. IEEE, Los Alamitos, CA, 410--417. Google ScholarDigital Library
- Sivathanu, M., Prabhakaran, V., Popovici, F. I., Denehy, T. E., Arpaci-Dusseau, A. C., and Arpaci-Dusseau, R. H. 2003. Semantically-smart disk systems. In Proceedings of the Conference on File and Storage Technologies. USENIX Association, Berkeley, CA, 73--88. Google ScholarDigital Library
- Sivathanu, M., Bairayasundaram, L. N., Arpaci-Dusseau, A. C., and Arpaci-Dusseau, R. H. 2004. An analysis of latent sector errors in disk drives. ACM SIGMETRICS Perform. Eval. Rev. 374--394. Google ScholarDigital Library
- T13. 2004. At attachment with packet interface -- 7 vols: 1. Working Draft American National Standard Revision 4b.Google Scholar
- Weber, R. O. 2004. SCSI architecture model-3 (sam-3).Google Scholar
- Won, Y., Chang, H., and Ryu, J. 2006. Intelligent storage: Cross-layer optimization for soft real-time workload. ACM Trans. Storage 2, 3, 255--282. Google ScholarDigital Library
- Worthington, B. L., Ganger, G. R., and Patt, Y. N. 1994. Scheduling algorithms for modern disk drives. In Proceedings of the ACM SIGMETRICS Joint International Conference on Measurement and Modeling of Computer Systems. ACM, New York, 241--251. Google ScholarDigital Library
- Worthington, B. L., Ganger, G. R., Patt, Y. N., and Wilkes, J. 1995. On-line extraction of SCSI disk drive parameters. In Proceedings of the ACM SIGMETRICS Joint International Conference on Measurement and Modeling of Computer Systems. ACM, New York, 146--156. Google ScholarDigital Library
Index Terms
- Request Bridging and Interleaving: Improving the Performance of Small Synchronous Updates under Seek-Optimizing Disk Subsystems
Recommendations
Exploiting the performance gains of modern disk drives by enhancing data locality
Due to the widening performance gap between RAM and disk drives, a large number of I/O optimization methods have been proposed and designed to alleviate the impact of this gap. One of the most effective approaches of improving disk access performance is ...
Reliability and security of RAID storage systems and D2D archives using SATA disk drives
Information storage reliability and security is addressed by using personal computer disk drives in enterprise-class nearline and archival storage systems. The low cost of these serial ATA (SATA) PC drives is a tradeoff against drive reliability design ...
What is the future of disk drives, death or rebirth?
Disk drives have experienced dramatic development to meet performance requirements since the IBM 1301 disk drive was announced in 1961. However, the performance gap between memory and disk drives has widened to 6 orders of magnitude and continues to ...
Comments