Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 29464 invoked from network); 2 Nov 2005 23:09:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Nov 2005 23:09:49 -0000 Received: (qmail 75662 invoked by uid 500); 2 Nov 2005 23:09:45 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 75603 invoked by uid 500); 2 Nov 2005 23:09:45 -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 75588 invoked by uid 99); 2 Nov 2005 23:09:44 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 Nov 2005 15:09:44 -0800 Received: (qmail 29236 invoked by uid 2161); 2 Nov 2005 23:09:24 -0000 Received: from [192.168.2.4] (euler.heimnetz.de [192.168.2.4]) by cerberus.heimnetz.de (Postfix on SuSE Linux 7.0 (i386)) with ESMTP id 1DFB21721C for ; Thu, 3 Nov 2005 00:09:08 +0100 (CET) Message-ID: <4369471D.5090705@apache.org> Date: Thu, 03 Nov 2005 00:09:17 +0100 From: Ruediger Pluem User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: de, en, de-de, en-gb, cy, zu, xh MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: Potential memory leak in /modules/cache/mod_mem_cache.c References: <43693392.6050002@apache.org> <4369358A.9050306@wstoddard.com> <436940D0.5040708@apache.org> <4369439C.2030400@wstoddard.com> In-Reply-To: <4369439C.2030400@wstoddard.com> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 11/02/2005 11:54 PM, Bill Stoddard wrote: [..cut..] > > Yep, you see it correctly. Mod_mem_cache is most interesting to me > personally as a benchmark toy. It should be possible to extend > mod_mem_cache to cache headers (rather than rebuilding them for each > response sent out of the cache), align storage on processor cache-lines > and other performance tweaks to serve static pages really really fast But in this case you have the situation that you have to copy the memory contents between user and kernel space. Just asking: Does this beat a working sendfile implementation on a system with filled OS buffer cashes? > (or cache dynamically generated pages until they become stale). You > should be able to use mod_mem_cache to explore the static page > performance limits of Apache HTTPD 2.0. Thanks for the clarification. So I would think the effectiveness of mod_mem_cache grows with a shrinking number of httpd processes. That said I guess the windows mpm by default should provide one of the most effective environments for mod_mem_cache in contrast to prefork on the other end. Regards R�diger