DPW-LRU: An Efficient Buffer Management Policy Based on Dynamic Page Weight for Flash Memory in Cyber-Physical Systems

Owing to its high performance, small size, and low energy consumption, NAND flash memory has been extensively adopted in cyber-physical systems. However, the inherent characteristics of flash memory, including not-in-place update and asymmetric I/O latencies, present difficulties in the design of buffer management policies. In this paper, we propose an enhanced buffer management policy for the flash memory referred to as dynamic page weight least recently used (DPW-LRU), which considers temporal locality and simultaneously provides effective utilization of limited buffer resources. Page migration is further enhanced by identifying the page access mode and frequency while separating the buffer into two different regions. A novel eviction algorithm is also designed to reduce the write operations and maintain a high hit ratio of the buffer regions, combining dynamic temporal locality, real-time eviction cost, and recency of pages. The experimental results show that DPW-LRU improves the hit ratio by up to 8.3%, decreases the write operation by up to 22.6%, and reduces the overall latency by up to 18.8% relative to those of other state-of-the-art buffers management policies.

[1]  Guangjie Han,et al.  HySense: A Hybrid Mobile CrowdSensing Framework for Sensing Opportunities Compensation under Dynamic Coverage Constraint , 2017, IEEE Communications Magazine.

[2]  Onur Mutlu,et al.  ChargeCache: Reducing DRAM latency by exploiting row access locality , 2016, 2016 IEEE International Symposium on High Performance Computer Architecture (HPCA).

[3]  Guangjie Han,et al.  Hybrid-LRU Caching for Optimizing Data Storage and Retrieval in Edge Computing-Based Wearable Sensors , 2019, IEEE Internet of Things Journal.

[4]  Ioannis Stavrakakis,et al.  Approximate analysis of LRU in the case of short term correlations , 2008, Comput. Networks.

[5]  Laurence T. Yang,et al.  A Real-Time Flash Translation Layer for NAND Flash Memory Storage Systems , 2012, IEEE Transactions on Multi-Scale Computing Systems.

[6]  Andrew A. Chien,et al.  Tiny-Tail Flash , 2017, ACM Trans. Storage.

[7]  Peiquan Jin,et al.  AD-LRU: An efficient buffer replacement algorithm for flash-based databases , 2012, Data Knowl. Eng..

[8]  Youyou Lu,et al.  A high performance file system for non-volatile main memory , 2016, EuroSys.

[9]  Sooyong Kang,et al.  LRU-WSR: integration of LRU and writes sequence reordering for flash memory , 2008, IEEE Transactions on Consumer Electronics.

[10]  Peiquan Jin,et al.  CCF-LRU: a new buffer replacement algorithm for flash memory , 2009, IEEE Transactions on Consumer Electronics.

[11]  Wei Xie,et al.  ASA-FTL: An adaptive separation aware flash translation layer for solid state drives , 2017, Parallel Comput..

[12]  Mohsen Guizani,et al.  A Survey on Mobile Anchor Node Assisted Localization in Wireless Sensor Networks , 2016, IEEE Communications Surveys & Tutorials.

[13]  Jianjun Luo,et al.  A NAND flash management algorithm with limited on-chip buffer resource , 2015, Comput. Electr. Eng..

[14]  Mohsen Guizani,et al.  A Disaster Management-Oriented Path Planning for Mobile Anchor Node-Based Localization in Wireless Sensor Networks , 2020, IEEE Transactions on Emerging Topics in Computing.

[15]  Se Jin Kwon A Cache-Based Flash Translation Layer for TLC-Based Multimedia Storage Devices , 2016, TECS.

[16]  Edwin Hsing-Mean Sha,et al.  Durable Address Translation in PCM-Based Flash Storage Systems , 2017, IEEE Transactions on Parallel and Distributed Systems.

[17]  Yichuang Sun,et al.  Dynamic Virtual Page-Based Flash Translation Layer With Novel Hot Data Identification and Adaptive Parallelism Management , 2018, IEEE Access.

[18]  Chin-Hsien Wu,et al.  Rethink the Design of Flash Translation Layers in a Component-Based View , 2017, IEEE Access.

[19]  Fei Wu,et al.  Understanding and Alleviating the Impact of the Flash Address Translation on Solid State Devices , 2017, ACM Trans. Storage.

[20]  Peiquan Jin,et al.  Efficient Buffer Management for Tree Indexes on Solid State Drives , 2014, International Journal of Parallel Programming.

[21]  Joonwon Lee,et al.  CFLRU: a replacement algorithm for flash memory , 2006, CASES '06.

[22]  Guangjie Han,et al.  A Maximum Cache Value Policy in Hybrid Memory-Based Edge Computing for Mobile Devices , 2019, IEEE Internet of Things Journal.

[23]  Kefei Wang,et al.  Cascade Mapping: Optimizing Memory Efficiency for Flash-based Key-value Caching , 2018, SoCC.

[24]  Weng-Fai Wong,et al.  TreeFTL: An Efficient Workload-Adaptive Algorithm for RAM Buffer Management of NAND Flash-Based Devices , 2016, IEEE Transactions on Computers.

[25]  Hao Wang,et al.  Cost aware cache replacement policy in shared last-level cache for hybrid memory based fog computing , 2018, Enterp. Inf. Syst..

[26]  Lei Yao,et al.  A workload-aware flash translation layer enhancing performance and lifespan of TLC/SLC dual-mode flash memory in embedded systems , 2017, Microprocess. Microsystems.

[27]  Tao Xie,et al.  PCFTL: A Plane-Centric Flash Translation Layer Utilizing Copy-Back Operations , 2015, IEEE Transactions on Parallel and Distributed Systems.

[28]  Tae-Sun Chung,et al.  Log-buffer aware cache replacement policy for flash storage devices , 2017, IEEE Transactions on Consumer Electronics.

[29]  Guangjie Han,et al.  Coordinate Memory Deduplication and Partition for Improving Performance in Cloud Computing , 2019, IEEE Transactions on Cloud Computing.

[30]  E Y K Ng,et al.  Evaluation of tear evaporation from ocular surface by functional infrared thermography. , 2010, Medical physics.

[31]  Rubao Lee,et al.  Internal Parallelism of Flash Memory-Based Solid-State Drives , 2016, ACM Trans. Storage.

[32]  Guangjie Han,et al.  Analysis of Energy-Efficient Connected Target Coverage Algorithms for Industrial Wireless Sensor Networks , 2017, IEEE Transactions on Industrial Informatics.

[33]  Peiquan Jin,et al.  Flash-DBSim: A simulation tool for evaluating Flash-based database algorithms , 2009, 2009 2nd IEEE International Conference on Computer Science and Information Technology.

[34]  Sungjoo Yoo,et al.  Dynamic Management of Key States for Reinforcement Learning-assisted Garbage Collection to Reduce Long Tail Latency in SSD , 2018, 2018 55th ACM/ESDA/IEEE Design Automation Conference (DAC).

[35]  E Y K Ng,et al.  Boundary element method with bioheat equation for skin burn injury. , 2009, Burns : journal of the International Society for Burn Injuries.