lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #6827] etharp could need some tuning


From: Atte Kojo
Subject: [lwip-devel] [task #6827] etharp could need some tuning
Date: Fri, 27 Apr 2007 12:51:56 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.6 (like Gecko)

Follow-up Comment #2, task #6827 (project lwip):

There was discussion about etharp performance on lwip-devel back in 2004, see
this thread
http://lists.gnu.org/archive/html/lwip-devel/2006-04/msg00000.html.

I've implemented a simple one-entry cache to find_entry() (the actual code
was suggested by somebody else). This speeds up performance for the case
where lwIP is communicating with one host. I've attached a patch against
1.2.0 release if somebody is interested about it (I've modified my etharp.c
so the line numbers are probably off, but you should get the idea).

If lwIP is communicating with several hosts bubbling up the least recently
used host on the array like Joanathan suggested is probably the simplest
solution.

(file #12607)
    _______________________________________________________

Additional Item Attachment:

File name: etharp.patch                   Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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