From owner-freebsd-net@FreeBSD.ORG Fri Oct 19 08:47: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 41D7116A417 for ; Fri, 19 Oct 2007 08:47:10 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id D1E0C13C46B for ; Fri, 19 Oct 2007 08:47:09 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by fk-out-0910.google.com with SMTP id b27so440010fka for ; Fri, 19 Oct 2007 01:47:08 -0700 (PDT) Received: by 10.82.156.12 with SMTP id d12mr3055673bue.1192781980087; Fri, 19 Oct 2007 01:19:40 -0700 (PDT) Received: by 10.82.148.14 with HTTP; Fri, 19 Oct 2007 01:19:40 -0700 (PDT) Message-ID: Date: Fri, 19 Oct 2007 11:19:40 +0300 From: "Vlad GALU" To: noackjr@alumni.rice.edu In-Reply-To: <15756.67.45.62.107.1192764733.squirrel@www.noacks.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <15756.67.45.62.107.1192764733.squirrel@www.noacks.org> 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 08:47:10 -0000 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. > > 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. > > Thanks! > -Jon > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.