{"title":"智能手机缓冲区缓存管理中修改数据的选择性刷新","authors":"Soojung Lim, H. Bahn","doi":"10.1109/CSDE53843.2021.9718418","DOIUrl":null,"url":null,"abstract":"Buffer cache plays an important role to hide the slow performance of smartphone storage systems. However, as buffer cache consists of volatile DRAM, data may be lost upon a sudden power failure situation. To cope with this situation, data in the buffer cache are periodically flushed to storage. Although periodic flushing improves the reliability of smartphone data, it degrades the efficiency of buffer cache greatly as it amplifies write traffic to storage. In this paper, we show that a small size of persistent memory can eliminate the periodic flushing overhead of smartphone buffer cache by making use of some distinct write I/O behaviors of smartphones. Specifically, our write I/O analysis from popular smartphone applications shows that a limited number of hot data account for most file writes in smartphones, whereas a large portion of file data accessed in smartphones are written only once. Based on this observation, we present the selective flushing policy that adds small persistent memory to buffer cache and keeps frequently modified data in persistent memory without flushing to storage. We perform storage flushing only for written-once data, which are prohibited from entering persistent memory for space efficiency. By replaying popular smartphone application I/O traces, we show that the proposed selective flushing policy reduces the storage write I/O by 25.8% on average and up to 37.8%.","PeriodicalId":166950,"journal":{"name":"2021 IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE)","volume":"72 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":"{\"title\":\"Selective Flushing of Modified Data for Smartphone Buffer Cache Management\",\"authors\":\"Soojung Lim, H. Bahn\",\"doi\":\"10.1109/CSDE53843.2021.9718418\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Buffer cache plays an important role to hide the slow performance of smartphone storage systems. However, as buffer cache consists of volatile DRAM, data may be lost upon a sudden power failure situation. To cope with this situation, data in the buffer cache are periodically flushed to storage. Although periodic flushing improves the reliability of smartphone data, it degrades the efficiency of buffer cache greatly as it amplifies write traffic to storage. In this paper, we show that a small size of persistent memory can eliminate the periodic flushing overhead of smartphone buffer cache by making use of some distinct write I/O behaviors of smartphones. Specifically, our write I/O analysis from popular smartphone applications shows that a limited number of hot data account for most file writes in smartphones, whereas a large portion of file data accessed in smartphones are written only once. Based on this observation, we present the selective flushing policy that adds small persistent memory to buffer cache and keeps frequently modified data in persistent memory without flushing to storage. We perform storage flushing only for written-once data, which are prohibited from entering persistent memory for space efficiency. By replaying popular smartphone application I/O traces, we show that the proposed selective flushing policy reduces the storage write I/O by 25.8% on average and up to 37.8%.\",\"PeriodicalId\":166950,\"journal\":{\"name\":\"2021 IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE)\",\"volume\":\"72 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-12-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"4\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CSDE53843.2021.9718418\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSDE53843.2021.9718418","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Selective Flushing of Modified Data for Smartphone Buffer Cache Management
Buffer cache plays an important role to hide the slow performance of smartphone storage systems. However, as buffer cache consists of volatile DRAM, data may be lost upon a sudden power failure situation. To cope with this situation, data in the buffer cache are periodically flushed to storage. Although periodic flushing improves the reliability of smartphone data, it degrades the efficiency of buffer cache greatly as it amplifies write traffic to storage. In this paper, we show that a small size of persistent memory can eliminate the periodic flushing overhead of smartphone buffer cache by making use of some distinct write I/O behaviors of smartphones. Specifically, our write I/O analysis from popular smartphone applications shows that a limited number of hot data account for most file writes in smartphones, whereas a large portion of file data accessed in smartphones are written only once. Based on this observation, we present the selective flushing policy that adds small persistent memory to buffer cache and keeps frequently modified data in persistent memory without flushing to storage. We perform storage flushing only for written-once data, which are prohibited from entering persistent memory for space efficiency. By replaying popular smartphone application I/O traces, we show that the proposed selective flushing policy reduces the storage write I/O by 25.8% on average and up to 37.8%.