|
From: | Lee |
Subject: | Re: [lwip-users] TM4C1294 LWIP Usage |
Date: | Thu, 18 Dec 2014 15:03:30 -0700 (MST) |
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
_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users
If you reply to this email, your message will be added to the discussion below:http://lwip.100.n7.nabble.com/TM4C1294-LWIP-Usage-tp23623p23632.html
[Prev in Thread] | Current Thread | [Next in Thread] |