Chenyun Liu, Shun Ding, Liang Ye, Xingyu Chen, Wenhao Zhu
{"title":"Cache Replacement Strategy Based on User Behaviour Analysis for a Massive Small File Storage System","authors":"Chenyun Liu, Shun Ding, Liang Ye, Xingyu Chen, Wenhao Zhu","doi":"10.1109/ICCAE55086.2022.9762451","DOIUrl":null,"url":null,"abstract":"Common cache elimination strategies are to improve the hit ratio of files in specific scenarios. In real scenarios, different users' behaviours often show great differences, and a general cache replacement strategy cannot comprehensively achieve good performance. Considering these problems, this paper designs a cache replacement strategy based on user behaviour analysis for file systems (LFU-UB). First, a log analysis module is built to clean the user's access record information and mine association rules, and then the association parameters are transmitted to the computing model. Then several small files with the lowest priority are selected through the cache replacement module. Finally, resources with the lowest priority are replaced by new resources. The effectiveness of LFU-UB strategy is proved by comparison experiments in the storage environment of massive small files; It has a higher hit ratio than the general cache strategy and can effectively reduce the cache load.","PeriodicalId":294641,"journal":{"name":"2022 14th International Conference on Computer and Automation Engineering (ICCAE)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 14th International Conference on Computer and Automation Engineering (ICCAE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCAE55086.2022.9762451","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Common cache elimination strategies are to improve the hit ratio of files in specific scenarios. In real scenarios, different users' behaviours often show great differences, and a general cache replacement strategy cannot comprehensively achieve good performance. Considering these problems, this paper designs a cache replacement strategy based on user behaviour analysis for file systems (LFU-UB). First, a log analysis module is built to clean the user's access record information and mine association rules, and then the association parameters are transmitted to the computing model. Then several small files with the lowest priority are selected through the cache replacement module. Finally, resources with the lowest priority are replaced by new resources. The effectiveness of LFU-UB strategy is proved by comparison experiments in the storage environment of massive small files; It has a higher hit ratio than the general cache strategy and can effectively reduce the cache load.