-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BenchMark]Web upload / Web Download on different FS and platform #576
Comments
this PR may solve the speed issue espressif/arduino-esp32#4787 (not tested) |
hi luc,I test esp32s2 with sdfat2.0 in spi mode .I find that the sector size of tf card can influence the speed of upload files. |
what size did you set? what speed did you get? |
A low speed card, 8g capacity, 2048ksec, Max speed 270ksec |
I also found that using esp32s2sdfat2.0 is faster than using 1.0 |
I did configuration with compatibility with 3Dprinter FW in mind, so 4G/8G is the target, 16G may be also supported, be sur you use https://www.sdcard.org/downloads/formatter/ and use Fat32 format |
Some grblHAL speeds with FatFS + SDCard + WebDAV, using WinSCP for testing:
RP2040 (Pi Pico W) support for WebUI is on my todo list, will be interesting to see how this fares... |
@terjeio thank you I have added your figures on top |
For information @pipi61 reported #491 (comment) that esp32 + webdav + SDIO can reach 500KB/s Additionnaly Reprap porting team, that added esp32 support to duetwifi, claim that they reach 1.2MB/s, but in case of Duet wifi, esp32 is only used as data bridge, the webserver is hosted by the main MCU, and I think the SD card is SDIO one, but communitation between ESP32 and MCU are SPI only - TBC as I never took time to dig in But it shows that there is area of improvement 🐱 |
I think it would be very informative to bench the speed of upload / download a file using FTP / WebDav / Webserver
to LocalFS / SD on ESP32 and ESP8266
using MCVE to be sure the comparaison is correct
Others FW:
Adding
with PSRAM
could also be a thing to check on ESP32Once done need to compare with speed in ESP3D / ESP3DLib and GRBL_ESP32 to see what must be improved and how
This is based on feedback ESP32 WebServer upload is very slow compare to ESP8266
Using any asyncwebserver / external webserver is not the current target so it is out of scope - the goal is to do a status of current situation to plan improvements / changes
The text was updated successfully, but these errors were encountered: