Skip to main content

AIR Cache: A Variable-Size Block Cache Based on Fine-Grained Management Method

  • Conference paper
  • First Online:
Web and Big Data (APWeb-WAIM 2021)

Abstract

Recently, adopting large cache blocks has received widespread attention in server-side storage caching. Besides reducing the management overheads of cache blocks, it can significantly boost the I/O throughput. However, although using large blocks has advantages in management overhead and I/O performance, existing fixed-size block management schemes in storage cache cannot effectively handle them under the complicated real-world workloads. We find that existing fixed-size block management methods will suffer from the fragmentation within the cache block and fail to identify hot/cold cache blocks correctly when adopting large blocks for caching.

Therefore, aiming to solve this problem, we propose AIR cache, which is a variable-size block cache based on fine-grained management method. AIR cache contains three major parts, Multi-Granularity Writer (MGW), Multi-Granularity Eviction (MGE) and Fine-Grained Recorder (FGR) where FGR is dedicated to record the data popularity using fine-grained data sections, MGW writes data at different granularity, and MGE is responsible for evicting the data at dynamic granularity. Our experiments with real-world traces demonstrate that AIR cache can increase the read cache hit ratio by up to 6.97X and the cache space utilization rate by up to 3.63X over the traditional fixed-size block management methods.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Byan, S., et al.: Mercury: host-side flash caching for the data center. In: 2012 IEEE 28th Symposium on Mass Storage Systems and Technologies (MSST), pp. 1–12. IEEE (2012)

    Google Scholar 

  2. Cao, P., Irani, S.: Cost-aware www proxy caching algorithms. In: Usenix Symposium on Internet Technologies and Systems, vol. 12, pp. 193–206 (1997)

    Google Scholar 

  3. Holland, D.A., Angelino, E., Wald, G., Seltzer, M.I.: Flash caching on the storage client. In: Proceedings of the 2013 USENIX Conference on Annual Technical Conference (2013)

    Google Scholar 

  4. Huang, S., Wei, Q., Dan, F., Chen, J., Cheng, C.: Improving flash-based disk cache with lazy adaptive replacement. ACM Trans. Storage 12(2), 1–24 (2016)

    Article  Google Scholar 

  5. Jaleel, A., Theobald, K.B., Steely Jr., S.C., Emer, J.: High performance cache replacement using re-reference interval prediction (RRIP). In: ACM SIGARCH Computer Architecture News, vol. 38, pp. 60–71. ACM (2010)

    Google Scholar 

  6. Jiang, S., Zhang, X.: LIRS: an efficient low inter-reference recency set replacement policy to improve buffer cache performance. ACM SIGMETRICS Perform. Eval. Rev. 30(1), 31–42 (2002)

    Article  Google Scholar 

  7. Johnson, T., Shasha, D., et al.: 2Q: a low overhead high performance buffer management replacement algorithm. In: Proceedings of the 20th International Conference on Very Large Data Bases, pp. 439–450 (1994)

    Google Scholar 

  8. Kang, D., et al.: 256 Gb 3 b/cell V-NAND flash memory with 48 stacked WL layers. IEEE J. Solid-State Circuits 52(1), 210–217 (2016)

    Article  Google Scholar 

  9. Koller, R., Rangaswami, R.: I/o deduplication: utilizing content similarity to improve i/o performance. In: 8th USENIX Conference on File and Storage Technologies, San Jose, CA, USA, 23–26 February 2010 (2010)

    Google Scholar 

  10. Lee, S., et al.: 7.5 A 128Gb 2b/cell NAND flash memory in 14nm technology with tPROG= 640\(\upmu \)s and 800MB/s I/O rate. In: 2016 IEEE International Solid-State Circuits Conference (ISSCC), pp. 138–139. IEEE (2016)

    Google Scholar 

  11. Li, C.: DLIRS: improving low inter-reference recency set cache replacement policy with dynamics. In: Proceedings of the 11th ACM International Systems and Storage Conference, pp. 59–64. ACM (2018)

    Google Scholar 

  12. Li, W., Jean-Baptise, G., Riveros, J., Narasimhan, G., Zhang, T., Zhao, M.: CacheDedup: in-line deduplication for flash caching. In: 14th \(\{\)USENIX\(\}\) Conference on File and Storage Technologies (\(\{\)FAST\(\}\) 2016), pp. 301–314 (2016)

    Google Scholar 

  13. Luo, T., Ma, S., Lee, R., Zhang, X., Liu, D., Zhou, L.: S-CAVE: effective SSD caching to improve virtual machine storage performance. In: Proceedings of the 22nd International Conference on Parallel Architectures and Compilation Techniques, pp. 103–112. IEEE (2013)

    Google Scholar 

  14. Megiddo, N., Modha, D.S.: ARC: a self-tuning, low overhead replacement cache. In: FAST, vol. 3, pp. 115–130 (2003)

    Google Scholar 

  15. Meng, F., Zhou, L., Ma, X., Uttamchandani, S., Liu, D.: vCacheShare: automated server flash cache space management in a virtualization environment. In: 2014 \(\{\)USENIX\(\}\) Annual Technical Conference (\(\{\)USENIX\(\}\)\(\{\)ATC\(\}\) 2014), pp. 133–144 (2014)

    Google Scholar 

  16. Saxena, M., Swift, M.M., Zhang, Y.: Flashtier: a lightweight, consistent and durable storage cache. In: Proceedings of the 7th ACM European Conference on Computer Systems, pp. 267–280. ACM (2012)

    Google Scholar 

  17. Smaragdakis, Y., Kaplan, S., Wilson, P.: EELRU: simple and effective adaptive page replacement. In: SIGMETRICS, vol. 99, pp. 1–4. CiteSeer (1999)

    Google Scholar 

  18. Song, J., Zhang, X.: LIRS: an efficient low inter-reference recency set replacement policy to improve buffer cache performance. ACM SIGMETRICS Perform. Eval. Rev. 30(1), 31–42 (2002)

    Article  Google Scholar 

  19. Wang, T., Wang, Y., Wang, X., Cao, Y.: A detailed review of D2D cache in helper selection. World Wide Web 23(4), 2407–2428 (2020). https://doi.org/10.1007/s11280-019-00756-z

    Article  Google Scholar 

  20. Yan, T., Chen, W., Zhao, P., Li, Z., Liu, A., Zhao, L.: Handling conditional queries and data storage on hyperledger fabric efficiently. World Wide Web 24(1), 441–461 (2021). https://doi.org/10.1007/s11280-020-00844-5

    Article  Google Scholar 

  21. Yang, Q., Ren, J.: I-cash: intelligently coupled array of SSD and HDD. In: 2011 IEEE 17th International Symposium on High Performance Computer Architecture, pp. 278–289. IEEE (2011)

    Google Scholar 

  22. Ye, F., Li, Q., Chen, E.: Benefit based cache data placement and update for mobile peer to peer networks. World Wide Web 14(3), 243–259 (2011). https://doi.org/10.1007/s11280-010-0103-3

    Article  Google Scholar 

  23. Zhou, Y., Philbin, J., Li, K.: The multi-queue replacement algorithm for second level buffer caches. In: USENIX Annual Technical Conference, General Track, pp. 91–104 (2001)

    Google Scholar 

Download references

Acknowledgements

This work was supported by grants from Natural Science Foundation of China No. 62072059, Open Project Program of Wuhan National Laboratory for Optoelectronics No. 2019WNLOKF009, Natural Science Foundation of Chongqing No. cstc2020jcyj-msxmX0897, the Fundamental Research Funds for the Central Universities No. 2020CDJLHZZ-050.

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Li, Y. et al. (2021). AIR Cache: A Variable-Size Block Cache Based on Fine-Grained Management Method. In: U, L.H., Spaniol, M., Sakurai, Y., Chen, J. (eds) Web and Big Data. APWeb-WAIM 2021. Lecture Notes in Computer Science(), vol 12859. Springer, Cham. https://doi.org/10.1007/978-3-030-85899-5_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-85899-5_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-85898-8

  • Online ISBN: 978-3-030-85899-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics