Revision: 5971
http://openser.svn.sourceforge.net/openser/?rev=5971&view=rev
Author: mariuszbihlei
Date: 2010-02-01 14:39:47 +0000 (Mon, 01 Feb 2010)
Log Message:
-----------
The mhomed implementation works by calling a socket()/connect()/getsockname()/close()
to find out the interface in a multihomed system.
Because mhomed works only for UDP sockets, a major performance improvement is shown
if we use the same socket for multiple connects(possible for UDP sockets), thus completly removing the socket() call
and the close() call.(well, except for the first time)
The CPU load(user+system) shown in a mhomed environment on a stateless router, with a call rate of 6000 calls/s
is 46.1% load in the case of this patched version, versus 63.54% load in the case of the original
version.
Modified Paths:
--------------
branches/1.5/forward.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Hello,
the master branch got a new module named mtree. It is able to load
database records in the form of (key,value) and index them in shared
memory trees based on key. One db table is loaded in one mtree, you can
define as many trees as you need.
The typical use case is to load arbitrary data related to DIDs or
prefixes, offering very fast lookup even with large number of records.
The value can be string or digested in a runtime structure, so far being
able to digest dstid:weight values, useful for prefix matching on weight
rather than longest match.
The trees are read only, with option to reload via mi command (rpc to be
added soon). Online readme at:
http://sip-router.org/docbook/sip-router/branch/master/modules/mtree/mtree.…
Cheers,
Daniel
--
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
Starting Feb 8, 2010
* http://www.asipto.com/