9 September 2023 in ACM Transactions on Embedded Computing Systems
Interlaced Magnetic Recording (IMR) is an emerging recording technology for hard-disk drives (HDDs) that provides larger storage capacity at a lower cost. By partially overlapping (interlacing) each bottom track with two adjacent top tracks, IMR-based HDDs successfully increase the data density while incurring some hardware write constraints. To update each bottom track, the data on two adjacent top tracks must be read and rewritten to avoid losing their valid data, resulting in additional overhead for performing read-modify-write (RMW) operations. Therefore, researchers have proposed various data management schemes to mitigate such overhead in recent years, aiming at improving the write performance. However, these designs have not taken into account the data characteristics of the file system, which is a crucial layer of operating systems for storing/retrieving data into/from HDDs. Consequently, the write performance improvement is limited due to the unawareness of spatial locality and hotness of data. This paper proposes a file-system-aware data management scheme called FSIMR to improve system write performance. Noticing that data of the same directory may have higher spatial locality and are mostly updated at the same time, FSIMR logically partitions the IMR-based HDD into fixed-sized zones; data belonging to the same directory will be arranged to one zone to reduce the time of seeking to-be-updated data (seek time). Furthermore, cold data within a zone are arranged to bottom tracks and updated in an out-of-place manner to eliminate RMW operations. Our experimental results show that the proposed FSIMR could reduce the seek time by up to 14% without introducing additional RMW operations, compared to existing designs.
24 June 2021 in IEEE Transactions on Computers
The file model based on character streams is widely used by file systems today. However, such a model is originally designed for mechanical hard disk, which is friendly for sequential accesses. Although data can be updated in the midway of files or appended to the end of files, they cannot be efficiently inserted or deleted. In particular, the random insertion/deletion of data in the midway of a file in a block-based file system often results in the updating of all subsequent chunks of the file, which seriously degrades the file system performance. The observation motivates this work in proposing the data compaction strategies to manage the data and storage space of each file, so as to strike a balance between the random access performance and space utilization of file systems. Besides, a chunk anonymization scheme is proposed to efficiently manage the indexing information of the file chunks. When working on a self-balancing search tree, the chunk anonymization scheme can deliver logarithmic performance for common tree operations. Analytical and experimental results show that the proposed data compaction strategies and chunk anonymization scheme can reach highly flexible design trade-offs between the space utilization guarantees and the random insert/delete performance.