This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Filesystem evaluation for eMMC

Hi All,

We have BBB based custom board,
We are planning to replace NAND with eMMC.

Now as part of the analysis, our task is to choose the filesystem.
How do we choose filesystem for eMMC device ?
What are the parameters we should be looking it ?
How do we measure it ?

To start with we wwere thinking about following parameters,
1. Read & Write speed.
2. Data integrity in case of power failure.
3  Mounting time at the time of star-up.
are there any more parameters ?
But our biggest trouble is, how do we measure it ?
Are there any tools available for that ?

After looking at some forums, we found that ext3/ext4 would be a good choice.
But how do we quantitatively compare it with, other file system like btrfs, F2fs ?
We referred following question to start with,
http://electronics.stackexchange.com/questions/60156/best-linux-filesystem-to-use-on-mmc-memory-chip

Any pointers/suggestions/tool-suggestions would help use evaluate,

Thank you,

Regards,
Ankur

  • Hi Ankur,

    You are right, ext3/ext4 is the good one for raw type of filesystem (MMC/eMMC/SD).
    ext3/ext4 would support filesystem checking for every boot (fsck) and it could recover the corrupted blocks.

    I think, you can boot the board with particular filesystem say ext3 then run bonnie+ tool to check the read/write performance with that filesystem.

    Tool can be used for validating the filesystem (read/write):
    bonnie++ and filefrag

    For booting speed,
    1. Need to boot with all the filesystem and check the mounting time.
    2. Try to reduce & remove the unwanted script.
  • Hi Titus,

    Thank you very much for reply,
    How about F2FS file system ? Anyone using it on BBB eMMC ? is it only for NAND flash or good for eMMC also ?
    One of the XDA forums it is said that F2Fs is better than ext4 file system.
    http://forum.xda-developers.com/showthread.php?t=2697069


    Thank you,

    Regards,
    Ankur

  • Mostly people would use "extX'. for MMC/SD, eMMC and never seen and worked with f2fs.
    http://en.wikipedia.org/wiki/F2FS
    As per the wiki, the eMMC also can be used for f2fs.
    But I'm not sure about the support team , users & developers etc., on f2fs.
    https://wiki.archlinux.org/index.php/F2FS