embedded-fatfs
embedded-fatfs copied to clipboard
Library is quite slow compared to fatfs
Although I don't have any explicit test results at the moment, it seems this library is noticeably slower than the fatfs crate it was forked from. I'm using this library on an stm32h7 over 4-bit SDMMC running at approx 150MHz, so I don't think the hardware is the limitation.
Deleting files, especially larger ones, is significantly slower. Write speeds are slow too, especially when expanding the file size.
I've tried to optimize using the FileContext api, but this still doesn't help when needing to preallocate or delete larger files.
Unfortunately I don't really have the knowledge to dig into this, unless you might have some pointers to what could be happening? @MabezDev
Thanks
What speeds are you getting? I'm getting about 116KB/s in my test, also streaming over http, but I'm wondering if this crate is the bottleneck.
I'm getting 826 KBps in an isolated benchmark