Masteruppsats
Energieffektiv design av ett inbyggt flashminneshanteringssystem
Sammanfattning
The report is the result of a master thesis at ENEA AB during the fall of 2009. It
aims to create a specification of flash memory management system which focuses
on power efficiency and low RAM usage for embedded systems, and to design and
implement a prototype of such a system to facilitate further development toward the
created specification. The system used by ENEA today is a Flash Translation Layer
(FTL). It has a complex structure which prohibits modifications and customization,
therefore a new flash memory management system needs to be developed.
The suggested solution uses a translation layer called Metadata FTL (MFTL), where
file system metadata and userdata are separated from each other in order to improve
performance. The partition holding userdata uses a block-level mapped translation
layer system called Fully Associative Sector Translation FTL. The other partition,
holding metadata, will instead use a page-level mapped translation layer system
which also separates often modified data from data modified seldom. The separation
of data with different update frequencies is executed by a page allocation scheme
called Modification Aware (MODA).
The result of this report is a specification of the system described in the section
above and an implemented prototype which has all the basic features of an FTL.
The implemented design can successfully be used instead of the old FTL with a few
restrictions. It can handle normal file system commands and can manage reboots
without loss of information. However, the main goal of the implemented design
is still to act as a prototype to facilitate further development toward the design
explained in the specification.