[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] LWIP configuration to maximize TCP throughput given RAM con
From: |
Bruce Sutherland |
Subject: |
[lwip-users] LWIP configuration to maximize TCP throughput given RAM constraints |
Date: |
Tue, 14 Oct 2008 18:01:02 +0800 |
Hi everyone.
We are using lwip on an embedded target (LPC2368 microcontroller).
We have successfully used lwip to act as a serial device server. That is to
say, we accept data via a TCP connection on an Ethernet link, and transmit
the data out on an RS-232 serial port.
Now, our goal is to maximize throughput over the link. My impression is that
maximum TCP throughput is limited by lwip configuration options. These
options are mostly constrained by the available memory. This means that
maximum throughput is some function of memory size, capped by any other
bottlenecks in a system, something like this:
http://er6australia.com/images/tcp_thruput_vs_memory.png
My question is: given a certain amount of free RAM, how should lwip options
be configured for best throughput?
Say for example, we have 10 kb of RAM available for lwip to use. How should
we set options such as MEM_SIZE, MEMP_SANITY_CHECK, MEMP_OVERFLOW_CHECK,
TCP_WND, TCP_QUEUE_OOSEQ, TCP_MSS and so on? I know this is quite a broad
question. Links to discussions of this subject would be welcomed.
Regards,
Bruce.
- [lwip-users] LWIP configuration to maximize TCP throughput given RAM constraints,
Bruce Sutherland <=
- Re: [lwip-users] LWIP configuration to maximize TCP throughput given RAM constraints, Piero 74, 2008/10/14
- RE: [lwip-users] LWIP configuration to maximize TCP throughput givenRAM constraints, Bruce Sutherland, 2008/10/15
- RE: [lwip-users] LWIP configuration to maximize TCP throughput givenRAM constraints, Kieran Mansley, 2008/10/15
- Re: [lwip-users] LWIP configuration to maximize TCP throughput givenRAM constraints, Piero 74, 2008/10/16
- RE: [lwip-users] LWIP configuration to maximize TCP throughputgivenRAM constraints, Bruce Sutherland, 2008/10/21
- Re: [lwip-users] LWIP configuration to maximize TCP throughputgivenRAM constraints, Mike Kleshov, 2008/10/21
- RE: [lwip-users] LWIP configuration to maximize TCPthroughputgivenRAM constraints, Bruce Sutherland, 2008/10/21