DOI QR코드

DOI QR Code

Performance Evaluation of SSD Cache Based on DM-Cache

DM-Cache를 이용해 구현한 SSD 캐시의 성능 평가

  • Received : 2014.07.23
  • Accepted : 2014.09.12
  • Published : 2014.11.30

Abstract

The amount of data located in storage servers has dramatically increased with the growth in cloud and social networking services. Storage systems with very large capacities may suffer from poor reliability and long latency, problems which can be addressed by the use of a hybrid disk, in which mechanical and flash memory storage are combined. The Linux-based SSD(solid-state disk) uses a caching technique based on the DM-cache utility. We assess the limitations of DM-cache by evaluating its performance in diverse environments, and identify problems with the caching policy that it operates in response to various commands. This policy is effective in reducing latency when Linux is running in native mode; but when Linux is installed as a guest operating systems on a virtual machine, the overhead incurred by caching actually reduces performance.

최근 클라우드 서비스와 소셜 네트워크 서비스가 활성화되면서 스토리지 서버에 저장해야 할 데이터의 용량이 급격히 증가하고 있으며, 사용자의 고품질 미디어 데이터에 대한 높은 수요는 이러한 경향을 더더욱 가속화하고 있다. 이와 더불어 데이터의 효율적 참조를 통한 처리시간 감소는 이미 과거로부터 꾸준히 요구되어온 시스템 설계 주 고려사항이다. 이런 이유로 하이브리드 디스크의 효율적인 사용에 대한 많은 기술연구가 진행되고 있다. 그 핵심이라고 할 수 있는 리눅스 기반 SSD 캐시 기법은 내장된 DM-cache를 활용하여 구현하는데, 현재 이에 대한 최적화 관련 정책 연구가 많이 부족한 실정이다. 본 연구에서는, 다양한 환경에서 성능 평가를 통하여 현재 제공되고 있는 DM-cache의 문제점을 파악하였다. 그 결과, 일반 운영체제에서 실험한 DM-cache는 읽기 명령 시 나름대로의 효과를 보고 있지만, 특히 가상 머신이 탑재된 운영체제 환경에서는 DM-cache의 사용으로 인한 성능 개선을 찾을 수 없었으며 오히려 캐시 오버헤드로 성능 저하가 발생함을 확인하였다.

Keywords

References

  1. K. S. Venkataraman, Z. Tong, Z. Wenzhe, S. Hongbin, and Z. Nanning, "Scheduling Algorithms for Handling Updates in Shingled Magnetic Recording," IEEE International Conference on Networking, Architecture and Storage, pp. 205-214, Jul., 2013.
  2. J. Lee, S. Han, J. Ryu, and K. Kang, "Strategy to Reduce I/O Access Time of Applications in Virtual Machines," IT Convergence and Security, pp.1-2, Dec., 2013.
  3. T. Feldman, G. Gibson, "Shingled Magnetic Recording: Areal Density Increase Requires New Data Management," ;login:, Vol.39, No.1, pp.22-30, Jun., 2013.
  4. M. H. Kryder, E. C. Gage, T. C. McDaniel, W. A. Challener, R. E. Rottmayer, G. Ju, Y.-T. Hsia, and M. F. Erden, "Heat Assisted Magnetic Recording," Proceedings of the IEEE, Vol.96, No.11, pp.1810-1835, Nov., 2008. https://doi.org/10.1109/JPROC.2008.2004315
  5. E. Dobisz, Z. Bandic, T. Wu, and T. Albrecht, "Patterned Media: Nanofabrication Challenges of Future Disk Drives," Proceedings of the IEEE, Vol.96, No.11, pp.1836-1846, Nov., 2008. https://doi.org/10.1109/JPROC.2008.2007600
  6. P. Llopis, J. G. Blas, F. Isaila, and J. Carretero, "Survey of Energy-Efficient and Powerproportional Storage Systems," The Computer Journal of Oxford, Jun., 2013.
  7. Y. Deng, "What is the Future of Disk Drives, Death or Rebirth?," ACM Computing Surveys, Vol.43, No.3, pp. 23:1-23:27, Apr., 2011.
  8. J. Wang, W. Lai, and X. Meng, "SFCM: A SSD-Friendly Cache Management Policy for Hybrid Storage Systems," Springer Berlin Heidelberg, Vol.7901, pp.16-27, 2013.
  9. J. Reineke, D. Grund, "Sensitivity of Cache Replacement Policies," ACM Transaction on Embedded Computer Systems, Vol.12, No.1s, pp.42:1-42:18, Mar., 2013.
  10. Desktop SSHD: 4TB Hybrid Drive Upgrade Seagate, http://www.seagate.com/internal-hard-drives/solid-state-hybrid/desktop-solid-state-hybrid-drive/
  11. Y. Joo, J. Ryu, S. Park, H. Shin, and K. Shin, "Rapid Prototyping and Evaluation of Intelligence Functions of Active Storage Devices," IEEE Trans. on Computers, Vol.99, pp.1-14, Apr., 2013.
  12. bcache, http://bcache.evilpiepirate.org/
  13. DM-cache, https://www.kernel.org/doc/Documentation/devicedevice-mapper/cache.txt
  14. D. Arteaga, D. Otstott, and M. Zhao, "Dynamic Block-level Cache Management for Cloud Computing Systems," USENIX Conference on File and Storage Technologies, Feb., 2012.