Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 44972 invoked from network); 26 Mar 2009 16:32:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2009 16:32:12 -0000 Received: (qmail 30988 invoked by uid 500); 26 Mar 2009 15:25:33 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 30946 invoked by uid 500); 26 Mar 2009 15:25:32 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 30938 invoked by uid 99); 26 Mar 2009 15:25:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 15:25:32 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jorton@redhat.com designates 66.187.237.31 as permitted sender) Received: from [66.187.237.31] (HELO mx2.redhat.com) (66.187.237.31) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 15:25:24 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n2QFP3C3027031 for ; Thu, 26 Mar 2009 11:25:03 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n2QFOufG020828 for ; Thu, 26 Mar 2009 11:24:56 -0400 Received: from turnip.manyfish.co.uk (vpn-13-90.rdu.redhat.com [10.11.13.90]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n2QFP1jv003806 for ; Thu, 26 Mar 2009 11:25:02 -0400 Received: from jorton by turnip.manyfish.co.uk with local (Exim 4.69) (envelope-from ) id 1LmrRz-00034H-Vv for dev@apr.apache.org; Thu, 26 Mar 2009 15:24:59 +0000 Date: Thu, 26 Mar 2009 15:24:59 +0000 From: Joe Orton To: dev@apr.apache.org Subject: Re: Poor performance with new apr_pool Message-ID: <20090326152459.GA11662@redhat.com> Mail-Followup-To: dev@apr.apache.org References: <49CB671F.9040801@apache.org> <4239a4320903260549s3679e713u3f314a870e7ad24b@mail.gmail.com> <49CB8CF0.10005@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <49CB8CF0.10005@apache.org> User-Agent: Mutt/1.5.18 (2008-05-17) Organization: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in UK and Wales under Company Registration No. 03798903 Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson (USA), Charlie Peters (USA) X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Mar 26, 2009 at 03:10:56PM +0100, Mladen Turk wrote: > What's the point? The null hypothesis is: modern malloc implementations do exactly the same optimisation work (e.g. maintaining freelists) that we duplicate in APR pools. By avoiding that duplication, and relying on malloc optimisation, we might get better/equivalent performance whilst reducing the complexity of APR. So, we're testing that hypothesis. If it's shown to be false, then, we revert back to the old allocator. That doesn't mean it's not worth trying. Also, I think it would be more useful to benchmark something like Subversion's "make check", or an httpd load test. joe