cvs commit: src/sys/netinet udp_usrreq.c

Robert Watson rwatson at FreeBSD.org
Sat May 6 11:25:02 UTC 2006


rwatson     2006-05-06 11:24:59 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          udp_usrreq.c 
  Log:
  Modify UDP to use sosend_dgram() instead of sosend().  This allows
  for signicantly optimized UDP socket I/O when using a single UDP
  socket from many threads or processes that share it, by avoiding
  significant locking and other overhead in the general sosend()
  path that isn't necessary for simple datagram sockets.  Specifically,
  this change results in a significant performance improvement for
  threaded name service in BIND9 under load.
  
  Suggested by:   Jinmei_Tatsuya at isc dot org
  
  Revision  Changes    Path
  1.188     +1 -0      src/sys/netinet/udp_usrreq.c


More information about the cvs-src mailing list