Skip to main content

An Improved Method of Cache Prefetching for Small Files in Ceph System

  • Conference paper
  • First Online:
Proceedings of the Fifth Euro-China Conference on Intelligent Data Analysis and Applications (ECC 2018)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 891))

Abstract

To improve the inefficiency of file access for massive small files in the distributed file system, prefetching the small files into the cache is the most conventional method to be adopted. As the number of cached files is proportional to time, there will be many redundant small files which occupy the cache space and haven’t been read for a long time, the hit ratio will be decreased in this situation. To solve this defect, we proposed an improved LRU-W algorithm based on the file read times and the time interval of file read and designed a L2 cache optimization mechanism which can search file in the linked list with higher priority firstly and remove the files with lighter weight factor from the linked list with lower priority dynamically. The experiments and its result show that when prefetching massive small files, the proposed method in this paper can increase the hit ratio of cached files and improve the overall performance of Ceph file system.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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. Beckmann, N., Sanchez, D.: Modeling cache performance beyond LRU. In: IEEE International Symposium on High PERFORMANCE Computer Architecture, pp. 225–236. IEEE Computer Society (2016)

    Google Scholar 

  2. Jaleel, A., Najafabadi, H.H., Subramaniam, S., et al.: CRUISE: cache replacement and utility-aware scheduling. ACM SIGARCH Comput. Arch. News 40(1), 249–260 (2012)

    Article  Google Scholar 

  3. Jung, D.Y., Lee, Y.S.: Cache replacement policy based on dynamic counter method. Adv. Sci. Lett. 19(5), 1530–1534 (2012)

    Article  Google Scholar 

  4. Jiang, B., Nain, P., Towsley, D.: LRU cache under stationary requests. In: ACM Sigmetrics Performance Evaluation Review, vol. 45(2) (2017)

    Article  Google Scholar 

  5. Perkowitz, S.: A survey of Web cache replacement strategies. ACM Comput. Surv. 35(4), 374–398 (2003)

    Article  Google Scholar 

  6. Ding, J., Wang, Y., Wang, S., et al.: Design and implementation of high efficiency acquisition mechanism for broadcast audio material. In: IEEE/ACIS, International Conference on Computer and Information Science, pp. 667–670. IEEE (2017)

    Google Scholar 

  7. Niu, D.J., Cai, T., Zhan, Y.Z., et al.: Metadata caching subsystem for cloud storage. Appl. Mech. Mater. 214, 584–590 (2012)

    Article  Google Scholar 

  8. Huang, X.Y., Zhong, Y.Q.: Web cache replacement algorithm based on multi-markov chains prediction model. Microelectron. Comput. 5, 123–125 (2014)

    Google Scholar 

  9. Wang, W.: Research on Web Cache and Prefetching Model Based on Access Path Mining. Southwest Jiaotong University (2014)

    Google Scholar 

  10. García, R., Verdú, E., Regueras, L.M., et al.: A neural network based intelligent system for tile prefetching in web map services. Expert. Syst. Appl. Int. J. 40(10), 4096–4105 (2013)

    Article  Google Scholar 

  11. Jing, C., Wang, M., An, P.C., et al.: 3D model prefetching system based on neural network. Comput. Appl. Softw. 32(7), 182–185 (2015)

    Google Scholar 

Download references

Acknowledgement

This work is partly supported by the National Natural Science Foundation of China (Nos. 61662018, 61861013), the Project of Science and Technology of Guangxi (No. 1598019-2), Foundation of Guilin University of Technology (No. GUTQDJJ20172000019).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Miao Ye .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Fan, Y., Wang, Y., Ye, M., Lu, X., Huan, Y. (2019). An Improved Method of Cache Prefetching for Small Files in Ceph System. In: Krömer, P., Zhang, H., Liang, Y., Pan, JS. (eds) Proceedings of the Fifth Euro-China Conference on Intelligent Data Analysis and Applications. ECC 2018. Advances in Intelligent Systems and Computing, vol 891. Springer, Cham. https://doi.org/10.1007/978-3-030-03766-6_43

Download citation

Publish with us

Policies and ethics