skip to main content
10.1145/3412841.3442115acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
poster

mStream: stream management for mobile file system using Android file contexts

Published:22 April 2021Publication History

ABSTRACT

The Flash-Friendly File System (F2FS) is a widely-used mobile file system. Since it is a log-structured file system (LFS), its segment cleaning operation is a performance bottleneck. To reduce cleaning overhead, F2FS uses the multi-head logging technique, which enables user to write different lifetimes of files into different segments. Currently, F2FS adopts the file-extension-based separation technique. However, it is difficult to predict the lifetime of a file only with the file extension information. In this paper, we analyze the lifetime of each directory of Android mobile application to make a lifetime prediction policy based on directory name and file extension. Each Android application is implemented using a standard Android library and manages files in a similar directory structure. As a result of the analysis, we identified that a single directory contains the file with similar lifetimes. Based on the analysis, we propose a new stream management technique for F2FS, called mStream, which separates the directories with different lifetimes into different segments. At the experiment, mStream reduced the segment cleaning cost by up to 35% compared to the original F2FS.

References

  1. 2018. qemu-nvme. https://github.com/OpenChannelSSD/qemu-nvmeGoogle ScholarGoogle Scholar
  2. 2020. f2fs-tools 1.4. https://github.com/jaegeuk/f2fs-toolsGoogle ScholarGoogle Scholar
  3. Matias Bjørling, Javier González, and Philippe Bonnet. 2017. LightNVM: The Linux Open-Channel SSD Subsystem. In Proc. of the 15th USENIX Conference on File and Storage Technologies (FAST '17). 359--374.Google ScholarGoogle Scholar
  4. Sangwook Shane Hahn, Sungjin Lee, Cheng Ji, Li-Pin Chang, Inhyuk Yee, Liang Shi, Chun Jason Xue, and Jihong Kim. 2017. Improving File System Performance of Mobile Storage Systems Using a Decoupled Defragmenter. In Proc. USENIX Annu. Tech. Conf.Google ScholarGoogle Scholar
  5. John A Hartigan and Manchek A Wong. 1979. Algorithm AS 136: A k-means clustering algorithm. Journal of the royal statistical society. series c (applied statistics) 28, 1 (1979), 100--108.Google ScholarGoogle ScholarCross RefCross Ref
  6. Sooman Jeong, Kisung Lee, Seongjin Lee, Seoungbum Son, and Youjip Won. 2013. I/O Stack Optimization for Smartphones. In Proc. USENIX Annu. Tech. Conf. 309--320.Google ScholarGoogle Scholar
  7. Cheng Ji, Riwei Pan, Li-Pin Chang, Liang Shi, Zongwei Zhu, Yu Liang, Tei-Wei Kuo, and Chun Jason Xue. 2020. Inspection and characterization of app file usage in mobile devices. ACM Transactions on Storage (TOS) 16, 4 (2020), 1--25.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Hyojun Kim, Nitin Agrawal, and Cristian Ungureanu. 2012. Revisiting Storage for Smartphones. In Proc. of the 10th USENIX Conference on File and Storage Technologies (FAST '12). 1--25.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Ryusuke Konishi, Yoshiji Amagai, Koji Sato, Hisashi Hifumi, Seiji Kihara, and Satoshi Moriai. 2006. The Linux Implementation of a Log-structured File System. ACM SIGOPS Operating Systems Rev. 40, 3 (Jul. 2006), 102--107.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Changman Lee, Dongho Sim, Jooyoung Hwang, and Sangyeun Cho. 2015. F2FS: A New File System for Flash Storage. In Proc. 13th USENIX Conference on File and Storage Technologies (FAST '15). 273--286.Google ScholarGoogle Scholar

Index Terms

  1. mStream: stream management for mobile file system using Android file contexts

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        SAC '21: Proceedings of the 36th Annual ACM Symposium on Applied Computing
        March 2021
        2075 pages
        ISBN:9781450381048
        DOI:10.1145/3412841

        Copyright © 2021 Owner/Author

        Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 22 April 2021

        Check for updates

        Qualifiers

        • poster

        Acceptance Rates

        Overall Acceptance Rate1,650of6,669submissions,25%
      • Article Metrics

        • Downloads (Last 12 months)25
        • Downloads (Last 6 weeks)4

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader