|
|
About ::
TODO ::
Blog ::
RSS ::
Old blog ::
Projects ::
GIT ::
Gallery ::
Notes
Thu, 01 Nov 2007
Network hash tables for socket lookups.
Topic of moving hash tables to RCU rises regulary in netdev@ mail list,
but so far there is no solution for hash resizing problem because
of RCU nature. Likely it can not be fixed at all without some additional
(maybe optional) synchronization.
It was pointed that Robert Olsson's hashed
trie
can be a good solution.
Interested reader can also check my
multidimensional trie
algorithm, which I implemented for network sockets lookup and originally
got from netchannels. It was announced
at netdev@ bug I got quite passive response, so froze the project for a while
(it can be resurrected though)...
At the links above you can find performance testing comared
to hash tables in kernel with different sizes. Testing was performed
by running simple web server and huge number of clients, which
frequently connect/disconnect from server.
/devel/networking :: Link / Comments ()
|