Block-Based Allocation Algorithms for FLASH Memory in Embedded Systems

  • Pangfeng Liu
  • Chung-Hao Chuang
  • Jan-Jan Wu
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4671)


A flash memory has write-once and bulk-erase properties so that an intelligent allocation algorithm is essential to providing applications efficient storage service. This paper first demonstrates that the online version of FLASH allocation problem is difficult, since we can find an adversary that makes every online algorithm to use as many number of blocks as a naive and inefficient algorithm. As a result we propose an offline allocation algorithm called Best Match (BestM) for allocating blocks in FLASH file systems. The experimental results indicate that BestM delivers better performance than a previously proposed First Re-arrival First Serve (FRFS) method.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Byu trace distribution center,
  2. 2.
    Chang, L.-P., Kuo, T.-W.: An adaptive stripping architecture for flash memory storage systems of embedded systems. In: IEEE Eighth Real-Time and Embedded Technology and Applications Symposium, pp. 601–606 (2002)Google Scholar
  3. 3.
    Chang, L.-P., Kuo, T.-W., Lo, S.-W.: Real-time garbage collection for flash-memory storage systems of real-time embedded systems. ACM Transaction on Embedded Computing Systems 3(4), 837–863 (2004)CrossRefGoogle Scholar
  4. 4.
    Chiang, M.-L., Lee, C.-H., Chang, R.-C.: Manage flash memory in personal communicate devices. In: Proceedings of IEEE International Symposium on Consumer Electronics, pp. 177–182 (1997)Google Scholar
  5. 5.
    Chou, L.-F., Liu, P.: Efficient allocation algorithms for flash file systems. In: 11th International Conference on Parallel and Distributed Systems, pp. 634–641 (2005)Google Scholar
  6. 6.
    Kawaguchi, A., Nishioka, S., Motoda, H.: A flash memory based file system. In: Proceedings of the USENIX Technical Conference, pp. 155–164 (1995)Google Scholar
  7. 7.
    Kim, H.-J., Lee, S.-G.: Memory management for flash storage system. In: Proceedings of the Computer Software and Applications Conference, pp. 284–293 (1999)Google Scholar
  8. 8.
    Malik, V.: Jffs2 is broken. In: Mailing List of Memory Technology Device (MTD) Subsystem for Linux (June 28, 2001)Google Scholar
  9. 9.
    Rivest, R.L., Cormen, T.H., Leiserson, C.E., Stein, C.: Introduction to Algorithms. MIT Press, Cambridge (2001)MATHGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2007

Authors and Affiliations

  • Pangfeng Liu
    • 1
  • Chung-Hao Chuang
    • 1
  • Jan-Jan Wu
    • 2
  1. 1.Department of Computer Science and Information Engineering, National Taiwan University, TaipeiTaiwan
  2. 2.Institute of Information Science, Academia Sinica, TaipeiTaiwan

Personalised recommendations