Skip to content

GIGA USB Read speed is very slow! Something like 4 times slower than SDFat on SD drives. #59

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

Open
KurtE opened this issue Aug 13, 2024 · 0 comments

Comments

@KurtE
Copy link
Contributor

KurtE commented Aug 13, 2024

As an example, I have a sketch that displays images that are read from either an external SD drive that is connected
using SPI. Or from a drive plugged into the USB Host port.

When it is running off of the USB port is very obvious how much slower it is running on the USB drive versus SD card.
This sketch is up at: https://github.com/KurtE/Arduino_GIGA-stuff/tree/main/sketches/tft_picture_view_sd_giga_shield_24Bit

But I am sure it is true on most any other program as well...

With this sketch I show in the debug window how long it takes to read and display each image.

An example of a larger image file, when read from SD Card:

Loading image 'Sharon Barn.bmp'
Image size: 1716x1312 depth:24Scale: 1/3 Image Offsets (114, 21)
!!File:Sharon Barn.bmp Time:6961 writeRect calls:0

And when read from USB:

Loading image '/usb/Sharon Barn.bmp'
Image size: 1716x1312 depth:24Scale: 1/3 Image Offsets (114, 21)
!!File:/usb/Sharon Barn.bmp Time:29426 writeRect calls:0

So the same image time went from about 7 seconds to almost 30 seconds to display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant