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: Simon Goldschmidt
Subject: [lwip-devel] [task #6827] etharp could need some tuning
Date: Wed, 30 May 2007 08:45:20 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

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

> Replacing the simple table with a hash table: not so obviously good for
lwIP.

That depends:

> Undoubtedly faster (and so more lightweight on the CPU)

Only if generating the hash is faster than scanning the table, so only for
big tables.

> but more memory required (and so less lightweight on the memory).

OK, but if you need ~100 entries, the table is also big. I'd say if  someone
wants many entries, a hash table is still a good idea.

Nevertheless, this would of course be an option since for 10 entries, the
table & one-entry-cache is still the best solution. Also my first optional
implementation would be the sorting list, not the hash-table. I think that
this is best for sizes between 20 and 50 with some concurrent connections.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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