From owner-freebsd-net@FreeBSD.ORG Sat Oct 20 07:32:11 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 0CB0A16A417 for ; Sat, 20 Oct 2007 07:32:11 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx1.freebsd.org (Postfix) with ESMTP id 7C9BB13C44B; Sat, 20 Oct 2007 07:32:09 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4719AEF8.6070805@FreeBSD.org> Date: Sat, 20 Oct 2007 10:32:08 +0300 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Vlad GALU References: <15756.67.45.62.107.1192764733.squirrel@www.noacks.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: noackjr@alumni.rice.edu, 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: Sat, 20 Oct 2007 07:32:11 -0000 Vlad GALU wrote: > On 10/19/07, Jonathan Noack 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 > > I recall experiencing some crashes with ZERO_COPY_SOCKETS on > RELENG_6 and it was related to the VM subsystem. Tor Egge may have a > better idea about the problem and whether it was fixed in RELENG_7 or > not. I think it is believed to be fixed in 7.0, so it is worth testing. Kris