From owner-freebsd-net@FreeBSD.ORG Fri Oct 19 07:06:10 2007 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 424E616A419 for ; Fri, 19 Oct 2007 07:06:10 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 3CD5213C468 for ; Fri, 19 Oct 2007 07:06:10 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 416601A4D8C; Thu, 18 Oct 2007 23:39:56 -0700 (PDT) Date: Thu, 18 Oct 2007 23:39:56 -0700 From: Alfred Perlstein To: Jonathan Noack Message-ID: <20071019063956.GG31826@elvis.mu.org> References: <15756.67.45.62.107.1192764733.squirrel@www.noacks.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15756.67.45.62.107.1192764733.squirrel@www.noacks.org> User-Agent: Mutt/1.4.2.3i Cc: net@freebsd.org Subject: Re: accept filters and zero copy sockets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 07:06:10 -0000 * Jonathan Noack [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