On Wed, 2 Jul 2008, Robert Watson wrote:

rwatson     2008-07-02 23:23:27 UTC

 FreeBSD src repository

 Modified files:
   sys/kern             uipc_socket.c
   sys/netinet          udp_usrreq.c
   sys/sys              socketvar.h
 Log:
 SVN rev 180198 on 2008-07-02 23:23:27Z by rwatson

 Add soreceive_dgram(9), an optimized socket receive function for use by
 datagram-only protocols, such as UDP.  This version removes use of
 sblock(), which is not required due to an inability to interlace data
 improperly with datagrams, as well as avoiding some of the larger loops
 and state management that don't apply on datagram sockets.

 This is experimental code, so hook it up only for UDPv4 for testing; if

Out of curiosity could one hook it up for v6 as well or is there code
missing (haven't read the diff yet). There might be people who would
want to test experimental v6 paths as well if possible...


 there are problems we may need to revise it or turn it off by default,
 but it offers *significant* performance improvements for threaded UDP
 applications such as BIND9, nsd, and memcached using UDP.

 Tested by:      kris, ps

 Revision  Changes    Path
 1.311     +234 -0    src/sys/kern/uipc_socket.c
 1.224     +1 -0      src/sys/netinet/udp_usrreq.c
 1.165     +3 -0      src/sys/sys/socketvar.h


--
Bjoern A. Zeeb              Stop bit received. Insert coin for new game.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to