[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] httpd slow response
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] httpd slow response |
Date: |
Fri, 24 Apr 2009 15:18:34 +0200 |
tcp_output() actually is the place where the nagle algorithm is implemented!
And no, there is no global option to disable the nagle algorithm.
Simon
> Bill,
> Thanks for the prompt response. That would make sense to me. Where/how
> would I include this in the code? Do you know if there is a way to change
> this in the lwipopt.h file? I do see that the httpd server does include the
> tcp_output() function write after a tcp_write(), would that not negate the
> nagle delay anyway? What do you think?
> Rick
>
> ----- Original Message -----
> From: Bill Auerbach
> To: 'Rick Culver' ; 'Mailing list for lwIP users'
> Sent: Thursday, April 23, 2009 5:07 PM
> Subject: RE: [lwip-users] httpd slow response
>
>
> Raw API doesn't disable Nagle. I found things to be faster if I do so:
>
>
>
> pcb->flags |= TF_NODELAY; //
> Disable Nagle
>
>
>
> Bill
>
>
>
> From: address@hidden
> [mailto:address@hidden On Behalf Of Rick
> Culver
> Sent: Thursday, April 23, 2009 4:05 PM
> To: address@hidden
> Subject: [lwip-users] httpd slow response
>
>
>
> I am using lwip with raw API and the httpd web server. I noticed that
> when serving up larger files that the response seemed extremely slow. The
> http_sent() callback is used to send each new chunk of the file being served
> and I discovered that it is taking about 175msec between the http_sent()
> callbacks. What could be causing this huge delay in response? Any ideas
> would could be wrong and/or how we can speed up this otherwise slow server?
>
>
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss
für nur 17,95 Euro/mtl.!*
http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
- RE: [lwip-users] httpd slow response, (continued)
- Re: [lwip-users] httpd slow response, address@hidden, 2009/04/24
- RE: [lwip-users] httpd slow response, Bill Auerbach, 2009/04/24
- Re: [lwip-users] httpd slow response, address@hidden, 2009/04/25
- RE: [lwip-users] httpd slow response, Bill Auerbach, 2009/04/27
- RE: [lwip-users] httpd slow response, Simon Goldschmidt, 2009/04/28
- RE: [lwip-users] httpd slow response, Simon Goldschmidt, 2009/04/28
- Re: [lwip-users] httpd slow response,
Simon Goldschmidt <=
Re: [lwip-users] httpd slow response, Rejean Groleau, 2009/04/24