lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #20287] tcp_output_nagle sends too early


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #20287] tcp_output_nagle sends too early
Date: Mon, 12 Nov 2007 12:43:04 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

Follow-up Comment #25, bug #20287 (project lwip):

If in tcp_enqueue, the number of enqueued pbufs has reached the maximum
limit, TCP has to wait for data to be acknowledged to enqueue more. If this
limit is reached at a point where nagle would wait and not send (e.g. the only
unsent segment is half full; at least one segment in unacked), lwIP is stuck
until the remote side acknowledges unacked data. This typically leads to an
ACK being sent by a remote TCP timer because of the delayed ACK strategy.

In consequence, when TCP_SND_QUEUELEN is set low and an application enqueues
many small packets (e.g. 12 bytes), this can happen very fast and leads to
very poor throughput (2 packets every ~200 ms).

As the current implementation always sends what is enqueued, this was not a
problem until now.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20287>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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