lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7040] Work on tcp_enqueue


From: Bill Auerbach
Subject: [lwip-devel] [task #7040] Work on tcp_enqueue
Date: Fri, 30 Jan 2009 22:19:08 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

Follow-up Comment #9, task #7040 (project lwip):

I can confirm that this works with the same test I've been using when I first
noticed the problem.

I don't know the impact to the code size, but the impact on performance
(throughput) for sending large amounts of data is about 1%.  It might help if
the last packet in the queue were saved in the pcb to eliminate the search to
the end that is required. Maybe for long chains this is where the time goes? 
Or have tcp_write return the number of bytes queued and let it simply queue
'len - len % mss' bytes and return this amount.  The problem is that this
breaks code that calls tcp_write.

I know there was a lot of effort put into this and I appreciate that.  From
my position, I would like to use it, but I need a performance increase, not
decrease.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7040>

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





reply via email to

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