Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 61377 invoked from network); 18 Aug 2005 17:54:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2005 17:54:17 -0000 Received: (qmail 71794 invoked by uid 500); 18 Aug 2005 17:54:12 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 71746 invoked by uid 500); 18 Aug 2005 17:54:12 -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 71637 invoked by uid 99); 18 Aug 2005 17:54:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2005 10:54:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Thu, 18 Aug 2005 10:54:30 -0700 Received: from turner.com (10.165.244.17) by cnnimail33.turner.com with ESMTP; 18 Aug 2005 13:54:10 -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 j7IHs9Qe012831 for ; Thu, 18 Aug 2005 13:54:09 -0400 (EDT) Message-ID: <4304CB41.4020005@turner.com> Date: Thu, 18 Aug 2005 13:54:09 -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: [PATCH] mod_disk_cache: speed up read_table References: <430486CB.5010902@web.turner.com> <43048B85.2000108@web.turner.com> <20050818142815.GA21041@stdlib.net> <43049E9D.7000608@turner.com> <20050818145905.GA22140@stdlib.net> <0A9C3701CFD845A7920CFCC1@Justin-Erenkrantzs-Computer.local> <4304C6C0.3070303@web.turner.com> <20050818175121.GA26379@stdlib.net> In-Reply-To: <20050818175121.GA26379@stdlib.net> Content-Type: text/plain; charset=ISO-8859-15; 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 Colm MacCarthaigh wrote: > The optimisations wouldn't be removing buffering, they'd be using a > different kind of buffering :-) If MMap is not available/enabled we can > fail back to a buffered APR read. So it's evolved even further... I would be interested to see in a variety of cases which one is actually faster: -normal buffered apr read -alloc entire buffer, read_full into it. -mmap file. Colm, are you already writing code? If not, I may give it a swing... -- Brian Akins Lead Systems Engineer CNN Internet Technologies