Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 57792 invoked from network); 7 Jul 2004 17:48:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Jul 2004 17:48:22 -0000 Received: (qmail 5059 invoked by uid 500); 7 Jul 2004 17:48:19 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 5013 invoked by uid 500); 7 Jul 2004 17:48:18 -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: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 4993 invoked by uid 99); 7 Jul 2004 17:48:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [64.236.240.190] (HELO web.turner.com) (64.236.240.190) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 07 Jul 2004 10:48:15 -0700 Received: from [192.168.1.199] (atl-vpn-124-57.turner.com [10.188.124.57]) by web.turner.com (8.12.9/8.12.9) with ESMTP id i67Hm1DW004106 for ; Wed, 7 Jul 2004 13:48:04 -0400 (EDT) Message-ID: <40EC3758.8030807@web.turner.com> Date: Wed, 07 Jul 2004 13:48:08 -0400 From: Brian Akins User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040702 Debian/1.7-3 X-Accept-Language: en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: Some Oprofile results References: <40EBEAAC.4040609@web.turner.com> <40EC10C1.9090804@wstoddard.com> In-Reply-To: <40EC10C1.9090804@wstoddard.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bill Stoddard wrote: > > I'd certainly be interested in knowing how much faster mod_url_cache > is as compared to mod_cache/mod_mem_cache. The only way I can see to > -dramatically- improve the performance of mod_cache/mod_mem_cache is > to completely bypass i/o filters. I have some patches to mod_mem_cache > laying around that give perhaps a 10% performance improvement by > prebuilding headers and aligning them on cache boundaries, but 10% is > not really that great. > Like I said, it can fill up two Gig pipes on a dual Opteron with ~25% idle time. mod_cache can't fill up one. If you run in quick_handler, the only way you get filters (other than core_ouput) is if you add them your self. Guess if I did or not :) If the headers are stored and "thawed" in an efficient manner (both processor and memory) they don't affect the performance much. Also, sometimes mmap is slower than just plain old read. Also, using a filesystem and sendfile is much faster than serving from RAM, plus multiple processes can "share" the same cache. mod_cache doesn't do that. All of these are based on my observartions of our environment. -- Brian Akins Senior Systems Engineer CNN Internet Technologies