I am investigating the most efficient way to implement a Web Server.
While testing the code supplied in NetX Server Module Guide R11AN0120EU0101 I observe a large file transferred in 1514 byte packets, one transmitted ever 6ms. Each packet is acknowledged before the next is sent.
Is the performance being limited by NetX, USBX or FileX?
Can the number of acknowledgements be reduced?
In reply to adboc:
In reply to dburch:
No, FileX was not used in my evaluation. In the meantime I've tested FileX on USBX performance - it can be greatly improved by assigning more memory for data transfers. Please add USBX Host Class Mass Storage Source module:
And set larger values to the following settings:
After these changes, please remember to regenerate and rebuilt your project.
In reply to Chuck:
You may add DMA transfer drivers to USBX Port HCD component:
Performance of USBX Host Class Mass Storage does not depend on the Synergy and USBX only. It is also affected by the attached drive. Moreover, it depends on the file size. I would expect higher transfer rates for larger files.
Here are results after increasing Storage memory size and Maximum transfer size to 16384 and reading the file in 16384-byte chunks.
Transfer rate for small files (~10 kB): ~1.1 MB/s
Transfer rate for large files (~40 MB): ~4.6 MB/s