From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 12 17:28:48 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6375F10656C0; Mon, 12 Oct 2009 17:28:48 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id C3FB88FC19; Mon, 12 Oct 2009 17:28:47 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so2106633eyf.9 for ; Mon, 12 Oct 2009 10:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=o36/OLHZTrx2Ty0eJUpkrHhKPxrZB/0rGvu1XH8Wml0=; b=moK0PIZP9vTCeC5yqVpFMpbO2En+HgQS1eYeVgD1h7qnquvUgc5prOfeldISZqaBB5 B55ge7TAimrS35EWe27NFnO93J3+SnB9mUGAF1mEuAfK1pcQPiwH8Pczq8lhsCBknYrT eqvccKiqQwWAmYqCcThq7m7IM2C3vnwqsvIyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=mg1j/ulwNfG++2cU/WmQQJDcfTNP14Mbp5yOpX/tYAoWlB1tPUuxKve+feHzUgte+2 +kspwh/o6PcUrBoGcBdWBz+Sm5ovpxSbGJk5Yk8S+dBpsIEvgbaeKDeiXvFrRbPY5ybr ivmdRst/bFyeqaRqIQe/lQfYPagYQtY5BuS9o= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.216.87.136 with SMTP id y8mr2037126wee.43.1255368526753; Mon, 12 Oct 2009 10:28:46 -0700 (PDT) In-Reply-To: <20091012152248.GJ79298@elvis.mu.org> References: <20091012152248.GJ79298@elvis.mu.org> From: Ivan Voras Date: Mon, 12 Oct 2009 19:28:26 +0200 X-Google-Sender-Auth: c483c279aade0b0a Message-ID: <9bbcef730910121028q7185cb47sd5780fbb0b8f59ad@mail.gmail.com> To: Alfred Perlstein Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org Subject: Re: "global" TCP_NODELAY? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 17:28:48 -0000 2009/10/12 Alfred Perlstein : > * Ivan Voras [091012 04:29] wrote: >> I'm trying to work around some extreme brain damageness in PHP (yes, it >> sucks) which doesn't have a way to set TCP_NODELAY on stream sockets so >> I'm wondering what are my other options? Is there a way to set >> TCP_NODELAY system-wide? > > Ivan, many people write php extensions, maybe you can do that? While writing PHP extensions isn't hard (I've done it before), I'm not yet convinced it's worth the effort in this case - I don't know if TCP_NODELAY will help at all. I'll think about it if time permits.