From owner-cvs-src@FreeBSD.ORG Thu Jul 3 07:55:07 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 007C11065673; Thu, 3 Jul 2008 07:55:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 6C6718FC0C; Thu, 3 Jul 2008 07:55:06 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id A531E41C74D; Thu, 3 Jul 2008 09:55:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id C7+7KxciN6jc; Thu, 3 Jul 2008 09:55:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 3090041C749; Thu, 3 Jul 2008 09:55:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 8FB6044487F; Thu, 3 Jul 2008 07:51:57 +0000 (UTC) Date: Thu, 3 Jul 2008 07:51:57 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Robert Watson In-Reply-To: <200807022324.m62NOr92019713@repoman.freebsd.org> Message-ID: <20080703074940.M57089@maildrop.int.zabbadoz.net> References: <200807022324.m62NOr92019713@repoman.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_socket.c src/sys/netinet udp_usrreq.c src/sys/sys socketvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 07:55:07 -0000 On Wed, 2 Jul 2008, Robert Watson wrote: > rwatson 2008-07-02 23:23:27 UTC > > FreeBSD src repository > > Modified files: > sys/kern uipc_socket.c > sys/netinet udp_usrreq.c > sys/sys socketvar.h > Log: > SVN rev 180198 on 2008-07-02 23:23:27Z by rwatson > > Add soreceive_dgram(9), an optimized socket receive function for use by > datagram-only protocols, such as UDP. This version removes use of > sblock(), which is not required due to an inability to interlace data > improperly with datagrams, as well as avoiding some of the larger loops > and state management that don't apply on datagram sockets. > > This is experimental code, so hook it up only for UDPv4 for testing; if Out of curiosity could one hook it up for v6 as well or is there code missing (haven't read the diff yet). There might be people who would want to test experimental v6 paths as well if possible... > there are problems we may need to revise it or turn it off by default, > but it offers *significant* performance improvements for threaded UDP > applications such as BIND9, nsd, and memcached using UDP. > > Tested by: kris, ps > > Revision Changes Path > 1.311 +234 -0 src/sys/kern/uipc_socket.c > 1.224 +1 -0 src/sys/netinet/udp_usrreq.c > 1.165 +3 -0 src/sys/sys/socketvar.h > -- Bjoern A. Zeeb Stop bit received. Insert coin for new game.