AnsweredAssumed Answered

FATFS config: _FS_ENABLE_THROUGHPUT_OPTIMIZATION

Question asked by giacomopetrini on Feb 3, 2015
Latest reply on Feb 5, 2015 by Iva Susnova

Hello,

using KSDK 1.1, KDS 2.0.0 with a FRDM-K64F.

Project Bare metal (no rtos).

 

I've implemented a data logger, and it works.

Now I'm trying to improve the performances and in ffconf.h there is this #define _FS_ENABLE_THROUGHPUT_OPTIMIZATION.

 

If I set it to 1 the fatfs will use 2 sector as buffer to write to the SDHC.

If I set it to 2 I can decide how big will be the buffer (2-8 sectors).

 

So the question is:

somebody has already done some test/benchmark/... with this _FS_ENABLE_THROUGHPUT_OPTIMIZATION?

Pro/cons on setting it to 0, 1 or 2?

 

Thank you

Regards Giacomo

Outcomes