Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2008 23:23:27 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_socket.c src/sys/netinet udp_usrreq.c src/sys/sys socketvar.h
Message-ID:  <200807022324.m62NOr92019713@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807022324.m62NOr92019713>