Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1289927.1289954acmconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
Article

Uniformity improving page allocation for flash memory file systems

Published: 30 September 2007 Publication History

Abstract

Flash memory is a storage medium that is becoming more and more popular. Though not yet fully embraced in traditional computing systems, Flash memory is prevalent in embedded systems, materialized as commodity appliances such as the digital camera and the MP3 player that we enjoy in our everyday lives. This paper considers an issue in file systems that use Flash memory as a storage medium and makes the following two contributions. First, we identify the cost of block cleaning as the key performance bottleneck for Flash memory analogous to the seek time in disk storage. We derive and define three performance parameters, namely, utilization, invalidity, and uniformity, from characteristics of Flash memory and present a formula for block cleaning cost based on these parameters. We show that, of these parameters, uniformity most strongly influences the cost of cleaning and that uniformity is a file system controllable parameter. This leads us to our second contribution, designing the modification-aware (MODA) page allocation scheme and analyzing how enhanced uniformity affects the block cleaning cost with various workloads. Real implementation experiments conducted on an embedded system show that the MODA scheme typically improves 20 to 30% in cleaning time compared to the traditional sequential allocation scheme that is used in YAFFS.

References

[1]
M. McKusick, W. Joy, S. Leffler, and R. Fabry, "A Fast File System for UNIX", ACM Transactions on Computer Systems, 2(3), pp. 181--197, Aug., 1984.
[2]
M. Rosenblum and J. K. Ousterhout, "The design and implementation of a log-structured file system", ACM Transactions on Computer Systems, vol. 10, no. 1, pp. 26--52, 1992.
[3]
William Stalling, "Operating Systems: Internals and Design Principles", 5th Edition, Pearson Prentice Hall, 2004.
[4]
H. Yu, D. Agrawal, and A. E. Abbadi, "Towards optimal I/O scheduling for MEMS-based storage," Proceedings of the 20th IEEE/11th NASA Goddard Conference on Mass Storage Systems and Technologies (MSS'03), 2003.
[5]
S. W. Schlosser and G. R. Ganger, "MEMS-based storage devices and standard disk interfaces: A square peg in a round hole?" Proceedings of 3rd USENIX Conference on File and Storage Technologies (FAST'04), 2004.
[6]
S. Lim, K. Park, "An Efficient NAND Flash File System for Flash Memory Storage", IEEE Transactions on Computers, Vol. 55, No. 7, July, 2006.
[7]
Aleph One, "YAFFS: Yet another Flash file system", www.aleph1.co.uk/yaffs/.
[8]
M.-L. Chiang, P. C. H. Lee, and R.-C. Chang, "Using data clustering to improve cleaning performance for Flash memory", Software: Practice and Experience, vol. 29, no. 3, pp. 267--290, 1999.
[9]
Ashok K. Sharma, "Advanced Semiconductor Memories: Architectures, Designs, and Applications", WILEY Interscience, 2003.
[10]
Samsung Electronics, "NAND Flash Data Sheet", www.samsung.com/Products/Semiconductor/NANDFlash.
[11]
E. Gal and S. Toledo, "Algorithms and Data Structures for Flash Memories", ACM Computing Surveys, vol. 37, no. 2, pp 138--163, 2005.
[12]
A. Kawaguchi, S. Nishioka and H. Motoda, "A Flash-memory based file system", Proceedings of the 1995 USENIX Annual Technical Conference, pp. 155--164, 1995.
[13]
E. Gal and S. Toledo, "A transactions Flash file system for microcontrollers", Proceedings of the 2005 USENIX Annual Technical Conference, pp. 89--104, 2005.
[14]
D. Woodhouse, "JFFS: The journaling Flash file system", Ottawa Linux Symposium, 2001, http://source.redhat.com/jffs2/jffs2.pdf.
[15]
T. Blackwell, J. Harris, and M. Seltzer, "Heuristic cleaning algorithms in log-structured file systems", Proceedings of the 1995 Annual Technical Conference, pp. 277--288, 1993.
[16]
J. Matthews, D. Roselli, A. Costello, R. Wang, and T. Anderson, "Improving the performance of log-structured file system with adaptive methods", ACM Symposiums on Operating System Principles (SOSP), pp. 238--251, 1997.
[17]
J. Wang and Y. Hu, "WOLF - a novel reordering write buffer to boost the performance of log-structured file system", Proceedings of the USENIX Conference on File and Storage Technologies (FAST), pp. 46--60, 2002.
[18]
W. Wang, Y. Zhao, and R. Bunt, "HyLog: A High Performance Approach to Managing Disk Layout", Proceedings of the USENIX Conference on File and Storage Technologies (FAST), pp. 145--158, 2004.
[19]
M. Wu and W. Zwaenepoel, "eNVy: a non-volatile, main memory storage system", Proceeding of the 6th International Conference on Architectural Support for Programming Languages and Operation Systems (ASPLOS), pp. 86--97, 1994.
[20]
L. P. Chang, T. W. Kuo and S. W. Lo, "Real-time garbage collection for Flash memory storage systems of real time embedded systems", ACM Transactions on Embedded Computing Systems, Vol. 3, No. 4, pp. 837--863, 2004.
[21]
J. Kim, J. M. Kim, S. H. Noh, S. L. Min, Y. Cho, "A space-efficient Flash translation layer for CompactFlash systems", IEEE Transactions on Consumer Electronics, vol. 48, no. 2, pp. 366--375, 2002.
[22]
EZ-X5, www.falinux.com/zproducts.
[23]
J. Katcher, "PostMark: A New File System Benchmark", Technical Report TR3022, Network Appliance Inc., 1997.
[24]
A. Ben-Aroya, "Competitive analysis of flash-memory algorithms", M.Sc. paper, Apr. 2006, www.cs.tau.ac.il/~stoledo/Pubs/flash-abrhambe-msc.pdf.
[25]
Y. Zhou, P. M. Chen, and K. Li, "The Multi-Queue Replacement Algorithm for Second-Level Buffer Caches, Proceeding of the 2001 USENIX Annual Technical Conference, June, 2001.
[26]
H. Jo, J. Kang, S. Park, J. Kim, and J. Lee, "FAB: Flash-Aware Buffer Management Policy for Portable Media Players", IEEE Transactions on Consumer Electronics, Vol. 52, No. 2, May, 2006.

Cited By

View all
  • (2020)Leveraging intra-page update diversity for mitigating write amplification in SSDsProceedings of the 34th ACM International Conference on Supercomputing10.1145/3392717.3392767(1-12)Online publication date: 29-Jun-2020
  • (2016)Does RAID Improve Lifetime of SSD Arrays?ACM Transactions on Storage10.1145/276491512:3(1-29)Online publication date: 29-Apr-2016
  • (2014)DT-GCProceedings of the 2014 International Conference on Cloud Computing and Big Data10.1109/CCBD.2014.28(182-188)Online publication date: 12-Nov-2014
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
EMSOFT '07: Proceedings of the 7th ACM & IEEE international conference on Embedded software
September 2007
304 pages
ISBN:9781595938251
DOI:10.1145/1289927
Permission to make digital or hard copies of all or part 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 components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 30 September 2007

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. file system
  2. flash memory
  3. implementation
  4. modeling
  5. performance evaluation
  6. uniformity

Qualifiers

  • Article

Conference

ESWEEK07
ESWEEK07: Third Embedded Systems Week
September 30 - October 3, 2007
Salzburg, Austria

Acceptance Rates

Overall Acceptance Rate 60 of 203 submissions, 30%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)9
  • Downloads (Last 6 weeks)0
Reflects downloads up to 28 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2020)Leveraging intra-page update diversity for mitigating write amplification in SSDsProceedings of the 34th ACM International Conference on Supercomputing10.1145/3392717.3392767(1-12)Online publication date: 29-Jun-2020
  • (2016)Does RAID Improve Lifetime of SSD Arrays?ACM Transactions on Storage10.1145/276491512:3(1-29)Online publication date: 29-Apr-2016
  • (2014)DT-GCProceedings of the 2014 International Conference on Cloud Computing and Big Data10.1109/CCBD.2014.28(182-188)Online publication date: 12-Nov-2014
  • (2013)Virtual memory partitioning for enhancing application performance in mobile platformsIEEE Transactions on Consumer Electronics10.1109/TCE.2013.668969059:4(786-794)Online publication date: Dec-2013
  • (2012)Making Garbage Collection Wear Conscious for Flash SSDProceedings of the 2012 IEEE Seventh International Conference on Networking, Architecture, and Storage10.1109/NAS.2012.20(114-123)Online publication date: 28-Jun-2012
  • (2011)On Improving the Reliability and Performance of the YAFFS Flash File SystemIEICE Transactions on Information and Systems10.1587/transinf.E94.D.2528E94-D:12(2528-2532)Online publication date: 2011
  • (2010)NVFAT: A FAT-Compatible File System with NVRAM Write Cache for Its MetadataIEICE Transactions on Information and Systems10.1587/transinf.E93.D.1137E93-D:5(1137-1146)Online publication date: 2010
  • (2010)Exploiting Concurrency to Improve Latency and throughput in a Hybrid Storage SystemProceedings of the 2010 IEEE International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems10.1109/MASCOTS.2010.11(14-23)Online publication date: 17-Aug-2010
  • (2010)Efficient garbage collection policy and block management method for NAND flash memory2010 2nd International Conference on Mechanical and Electronics Engineering10.1109/ICMEE.2010.5558538(V1-327-V1-331)Online publication date: Aug-2010
  • (2009)The performance of PC solid-state disks (SSDs) as a function of bandwidth, concurrency, device architecture, and system organizationACM SIGARCH Computer Architecture News10.1145/1555815.155579037:3(279-289)Online publication date: 20-Jun-2009
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media