lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #7135] Significant etharp optimization for TX speed


From: Bill Auerbach
Subject: [lwip-devel] [patch #7135] Significant etharp optimization for TX speed improvement
Date: Fri, 26 Mar 2010 21:56:28 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)

Follow-up Comment #2, patch #7135 (project lwip):

This avoids searching that cache (if you mean the ARP table).  If you mean
something else, then I think it's not as good as this.  If it's done at the
pbuf level, didn't already pass the ARP tests?

I believe I tried with and without LWIP_NETIF_HWADDRHINT.  Where I added that
test to avoid the call to etharp_query, send 100,000 packets to a netif and
time how much is spent in all of the calls to etharp_query.  When I did this,
this was a big part of the total time to send a bunch of packets.

I didn't do the timing like this - I studied the total flow of sending a
packet and timed sending 1,000,000 packets while optimizing or removing calls
in the call tree where I could.

This is like the other patch - it's easy to test and if anyone else sees a
respectable gain then it's worth adding (as an option or otherwise).  The code
size increase here is tiny.

If it's not added, at least if it's asked for someone has something to try. 
Where are all of the people who asked over the year or 2 about speeding up
lwIP transmit speeds? :-)

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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