lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #8882] Vector improvements


From: Joel Cunningham
Subject: [lwip-devel] [patch #8882] Vector improvements
Date: Mon, 20 Jun 2016 14:44:49 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #12, patch #8882 (project lwip):

Simon,

Have you had a chance to think about this issue anymore?

Just to re-cap since this ticket has been used for a couple of vectored I/O
improvements, the remaining issue is that TCP can't atomically accept a set of
vectors because lwip_netconn_do_writemore() only takes a single data pointer. 
The current code ends up calling tcp_write() and tcp_output() per vector which
can result in multiple small packets (one per vector) when TCP_NODELAY is
enabled

I've been running with the patch in my port than modifies
lwip_netconn_do_writemore() to take a set of vectors as input and call
tcp_write() in a loop until finished and then a single tcp_output() call

I could see this either going in 2.0.0 since it addresses a problem with an
existing feature (added since 1.4.1 release) or going in 2.0.1 depending on
how much development changes the final solution requires

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8882>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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