nailbuster / esp8266FTPServer

Simple FTP Server for using esp8266/esp32 SPIFFs
GNU Lesser General Public License v2.1
208 stars 126 forks source link

Slow data transfer #25

Closed fa1ke5 closed 5 years ago

fa1ke5 commented 5 years ago

Hi all, I'm using SD card in MMC mode, and have nice transfer rate to and from SD (3-5 MB/s). But I need reading SD card by 4096byte block for this. This lib use 2*1460 byte buffer and it so little for me. Only 0.5-0.6 MB/s transfer rate.

fa1ke5 commented 5 years ago

its fatfs lib issue, im tune fatfs lib in sdk, and now have 1.1-1.2 MB/s transfer rate and read speed from SD_MMC over 5MB/s https://github.com/fa1ke5/esp-idf/tree/master/compiled_lib https://github.com/fa1ke5/esp-idf/tree/master/compiled_lib