cancel
Showing results for 
Search instead for 
Did you mean: 

FATFS - slow

mailmail9116
Associate II
Posted on February 20, 2013 at 14:41

Hi ,

A general question about fatfs and SDIO interface , i have a relative many read/seek operations in my program flow,and its taking a segnificant time of the all ''runtime''.

Is there anyway to speed things up? anything i could tweak to make seek/read faster ?

Thanks

michael
2 REPLIES 2
Posted on February 20, 2013 at 15:09

Have you (also) asked on the FatFS forum?

Posted on February 20, 2013 at 15:53

Don't Seek if the file pointer is already where it's supposed to be.

Caching Reads, Prefetching and Lazy Writes implementation in you diskio.c

Async IO. ie non-blocking implementation.

File system access threaded.

Efficient SDIO implementation, DMA, multi-block, higher clock rate, faster SDHC/SDXC cards.

Better implementation of your algorithm and buffering.

Better understanding of the file system, and time invested in understanding the FatFs implementation, and ways to optimize it.

Smaller file system, smaller FAT. ie don't use a 32 GB partition if you only need 64 MB.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..