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.