From owner-freebsd-net@FreeBSD.ORG Mon Sep 13 12:54:36 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2744D106564A for ; Mon, 13 Sep 2010 12:54:36 +0000 (UTC) (envelope-from oppermann@networx.ch) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 90A868FC25 for ; Mon, 13 Sep 2010 12:54:35 +0000 (UTC) Received: (qmail 50299 invoked from network); 13 Sep 2010 12:49:46 -0000 Received: from localhost (HELO [127.0.0.1]) ([127.0.0.1]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 13 Sep 2010 12:49:46 -0000 Message-ID: <4C8E1F0B.5090406@networx.ch> Date: Mon, 13 Sep 2010 14:54:35 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Poul-Henning Kamp References: <47011.1284381913@critter.freebsd.dk> In-Reply-To: <47011.1284381913@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: TCP loopback socket fusing 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: Mon, 13 Sep 2010 12:54:36 -0000 On 13.09.2010 14:45, Poul-Henning Kamp wrote: > In message<4C8E0C1E.2020707@networx.ch>, Andre Oppermann writes: > >> To short-circuit the send and receive sockets on localhost TCP connections >> I've made a proof-of-concept patch that directly places the data in the >> other side's socket buffer without doing any packetization and other protocol >> overhead [...] > > Can we keep the option (sysctl ?) of doing the full packet thing, it is > a very convenient debugging tool... Yes, an appropriate sysctl is already contained in the patch (w/o man page documentation yet). -- Andre