Alan Lamphier yazmış:
I've 'inherited' an application where I need to pull GB's of data out of a tool
running on a AT91SAM7X256.
Currently I simply play with...
- the data is read from external memory and buffered in RAM
- netconn_write() is called with COPY enabled
- the loop repeats
I don't have the processor memory to optimally up the pbuf and memory lwIP
options for a large data transfer application.
What came to mind today was the possibility to call netconn_write() with
NO_COPY, referencing an external memory location instead of pointing to an
internal buffer.
What kind of external memory do you mean? SAM7X does not have any
external memory bus. Are you using a parallel memory from GPIO?
Any thoughts? - not worth it?
Gut feeling - would it be a large code rewrite/addition?
Have you lived with or solved similar problems doing large data transfers?
Actually I'm unable to get your problem. If you are facing slow transfer
rate and want to increase it, then try to give some extra information.
For instance, I couldn't exceed 5 KBytes per second transfer rate with
TCP on a SAM7X while I can reach 800 KBytes per second with UDP one the
same machine.
Thanks,
Alan
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users