Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 39600 invoked from network); 10 Oct 2005 15:39:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2005 15:39:05 -0000 Received: (qmail 35690 invoked by uid 500); 10 Oct 2005 15:38:59 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 35619 invoked by uid 500); 10 Oct 2005 15:38:59 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 35598 invoked by uid 99); 10 Oct 2005 15:38:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 08:38:59 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.236.25.90] (HELO cnnimail33.turner.com) (64.236.25.90) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 08:39:01 -0700 Received: from turner.com (10.165.244.17) by cnnimail33.turner.com with ESMTP; 10 Oct 2005 11:38:34 -0400 Received: from [10.188.50.126] (GN2Y011-udp05122128uds.turner.com [10.188.50.126]) by web.turner.com (8.12.9/8.12.9) with ESMTP id j9AFd0lX004294 for ; Mon, 10 Oct 2005 11:39:00 -0400 (EDT) Message-ID: <434A8AF4.5020908@turner.com> Date: Mon, 10 Oct 2005 11:38:28 -0400 From: Brian Akins User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: async write completion prototype References: <434A7D9C.80101@cfl.rr.com> <434A7FCE.6060708@force-elite.com> <434A8195.5020203@cfl.rr.com> <434A84B7.1090706@force-elite.com> <434A88F4.8030401@cfl.rr.com> In-Reply-To: <434A88F4.8030401@cfl.rr.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Phillip Susi wrote: > As an alternative, you can bypass the cache and do direct async IO to > the disk with zero copies. IIRC, this is supported on linux with the > O_DIRECT flag. Doing this though, means that you will need to handle > caching yourself, which might not be such a good idea. Does Linux not > support O_DIRECT on sockets? Can you not just set the socket to non-blocking using O_NONBLOCK? -- Brian Akins Lead Systems Engineer CNN Internet Technologies