lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Desired - reference netconn_write() to external memory


From: Çağlar AKYÜZ
Subject: Re: [lwip-users] Desired - reference netconn_write() to external memory
Date: Wed, 11 Oct 2006 14:07:11 +0300
User-agent: Mozilla Thunderbird 1.5.0.7 (Windows/20060909)

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
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users








reply via email to

[Prev in Thread] Current Thread [Next in Thread]