lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TM4C1294 LWIP Usage


From: address@hidden
Subject: Re: [lwip-users] TM4C1294 LWIP Usage
Date: Thu, 18 Dec 2014 20:10:26 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Noam weissman wrote:
Do not expect high throughput from LwIP. It is small but not very fast.
I have read people are able to run it at about 1Mb, maybe I am wrong.

Yes, you are. Getting 1 MByte/second on a TCP connection (if that's what you mean by 1Mb), is much too slow for lwIP. Back in 2006, I was able to get ~2,5 MByte/s without too much effort on a 50MHz Altera-Softcore processor with a MAC that required me to copy every packet to/from its buffers.

Nowadays, having a Cortex-M and a zero-copy MAC, I'd expect to get much better rates. I haven't had a chance to test it, though, as we're still stuck with that old platform. I always wanted to benchmark it again, maybe I'll have to try and get a benchmark platform running...

Anyway, if you're getting 1MByte/s only, I have no doubt there's something wrong with your lwIP configuration or with the port you're using. (Or you have set up lwIP to be slow to prevent it from stealing the CPU from more important tasks)


Simon



reply via email to

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