AnsweredAssumed Answered

FFS Wearleveling and Sector Size Questions

Question asked by naftalir on Jul 10, 2016
Latest reply on Jul 11, 2016 by Daniel Chen

Hi,

I've done a test using the example of writing/reading to/from the NAND Flash directly and got really good speed results:

~1.563MB/Sec.

Then i've done a test using the example of writing/reading to/from the NAND Flash using the MFS installed on the FFS and got bad speed results:

~28KB/Sec.

 

I have a few questions:

1. Why is there such a big difference between the speed results? x57 times slower using the FFS.

2. Is there is any way to disable, bypass or even remove the wearlevel that the ffs driver is using completely?

The reason for that is the BIG overhead that the WL cause and the fact i dont need it at all, since im not going to overwrite data to the NAND flash device.

3. Is there a way to change the number of bytes that the FFS does auto flush (i saw its 4KB sector-size now by default)?

 

Thanks to all of you who are willing to help...

 

p.s: I'm using MQX 4.1.1

Outcomes