[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] Optimizing TCP writes
From: |
Bill Auerbach |
Subject: |
RE: [lwip-users] Optimizing TCP writes |
Date: |
Wed, 5 Mar 2008 14:43:18 -0500 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of Jonathan Larmour
> Sent: Wednesday, March 05, 2008 9:11 AM
> To: Mailing list for lwIP users
> Subject: Re: [lwip-users] Optimizing TCP writes
>
> Bill Auerbach wrote:
> >
> > Is there a way to call tcp_write and defer the output? I know I have
> > several small chunks of data going out and each is sent separately with
> > tcp_write. If I can get lwIP to build the outgoing segment list and
> > send them all at once performance would improve a lot.
>
> That's intrinsic to tcp_write. tcp_write only enqueues. It needs
> tcp_output
> to actually send anything (possibly called via tcp_output_nagle as you
> notice below...)
Without using tcp_output_nagle, I still see the same behavior. Each segment
is in its own Ethernet frame. I proved this by stopping at the low level
output routine and seeing each packet is small with the small piece of data
I used with tcp_write.
Is this normal or have I still done something wrong?
Bill
- [lwip-users] Optimizing TCP writes, Bill Auerbach, 2008/03/05
- Re: [lwip-users] Optimizing TCP writes, Jonathan Larmour, 2008/03/05
- RE: [lwip-users] Optimizing TCP writes, Bill Auerbach, 2008/03/05
- RE: [lwip-users] Optimizing TCP writes,
Bill Auerbach <=
- Re: [lwip-users] Optimizing TCP writes, Jonathan Larmour, 2008/03/06
- RE: [lwip-users] Optimizing TCP writes, Bill Auerbach, 2008/03/06
- Re: [lwip-users] Optimizing TCP writes, Jonathan Larmour, 2008/03/06
- RE: [lwip-users] tcp_write and dynamic data (was: Optimizing TCP writes), Bill Auerbach, 2008/03/07
- RE: [lwip-users] tcp_write and dynamic data (was: Optimizing TCP writes), Kieran Mansley, 2008/03/07
- RE: [lwip-users] tcp_write and dynamic data (was: Optimizing TCPwrites), Bill Auerbach, 2008/03/07
- RE: [lwip-users] tcp_write and dynamic data (was: Optimizing TCPwrites), Kieran Mansley, 2008/03/07
- RE: [lwip-users] tcp_write and dynamic data (was: Optimizing TCPwrites), Bill Auerbach, 2008/03/07
- RE: [lwip-users] tcp_write and dynamic data (was: Optimizing TCPwrites), Kieran Mansley, 2008/03/07
- RE: [lwip-users] tcp_write and dynamic data (was: OptimizingTCPwrites), Bill Auerbach, 2008/03/07