accept filters and zero copy sockets

Alfred Perlstein alfred at freebsd.org
Fri Oct 19 00:06:10 PDT 2007


* Jonathan Noack <noackjr at alumni.rice.edu> [071018 20:59] wrote:
> I'm in the process of upgrading my web/database/nfs/jack-of-all-trades box
> from 6.2 to RELENG_7.  I figured now would be a good time to clean up my
> kernel config files.  I have the following in my old kernel config:
> 
> # Statically Link in accept filters
> options       ACCEPT_FILTER_DATA
> options       ACCEPT_FILTER_HTTP
> 
> # Zero copy sockets support.  This enables "zero copy" for sending and
> # receiving data via a socket.  The send side works for any type of NIC,
> # the receive side only works for NICs that support MTUs greater than the
> # page size of your architecture and that support header splitting.  See
> # zero_copy(9) for more details.
> options       ZERO_COPY_SOCKETS
> 
> Are these options still working/recommended?  With all the changes to
> networking over the years (this box was originally set up during the 4.x
> days and has been upgraded many times) I have no idea if these are still
> good things to have.

Accept filters should certainly work, otherwise someone will get
some noogies...

-Alfred


More information about the freebsd-net mailing list