Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 17:45:28 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_socket.c
Message-ID:  <200611021745.kA2HjSZC018731@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
andre       2006-11-02 17:45:28 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_socket.c 
  Log:
  Use the improved m_uiotombuf() function instead of home grown sosend_copyin()
  to do the userland to kernel copying in sosend_generic() and sosend_dgram().
  
  sosend_copyin() is retained for ZERO_COPY_SOCKETS which are not yet supported
  by m_uiotombuf().
  
  Benchmaring shows significant improvements (95% confidence):
   66% less cpu (or 2.9 times better) with new sosend vs. old sosend (non-TSO)
   65% less cpu (or 2.8 times better) with new sosend vs. old sosend (TSO)
  
  (Sender AMD Opteron 852 (2.6GHz) with em(4) PCI-X-133 interface and receiver
  DELL Poweredge SC1425 P-IV Xeon 3.2GHz with em(4) LOM connected back to back
  at 1000Base-TX full duplex.)
  
  Sponsored by:   TCP/IP Optimization Fundraise 2005
  MFC after:      3 month
  
  Revision  Changes    Path
  1.285     +29 -1     src/sys/kern/uipc_socket.c



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