Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 92252 invoked from network); 26 Oct 2006 07:16:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 07:16:28 -0000 Received: (qmail 10071 invoked by uid 500); 24 Oct 2006 14:44:35 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 10027 invoked by uid 500); 24 Oct 2006 14:44:35 -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 10016 invoked by uid 99); 24 Oct 2006 14:44:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 07:44:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [195.233.129.143] (HELO rat01038.dc-ratingen.de) (195.233.129.143) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 07:44:20 -0700 Received: from rat01047.dc-ratingen.de (rat01047_e0 [195.233.128.119]) by rat01038.dc-ratingen.de (Switch-3.1.4/Switch-3.1.0) with ESMTP id k9OEhuk5000008 for ; Tue, 24 Oct 2006 16:43:56 +0200 (MEST) Received: from vis01-mx02.vis.internal.vodafone.com (vis01-mx02.dc-ratingen.de [145.230.71.230]) by rat01047.dc-ratingen.de (Switch-3.1.4/Switch-3.1.0) with ESMTP id k9OEhtBF002916 for ; Tue, 24 Oct 2006 16:43:56 +0200 (MEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: mod_disk_cache summarization Date: Tue, 24 Oct 2006 16:43:54 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: mod_disk_cache summarization Thread-Index: Acb3efuGvvon95fqTCSUIInZD8qbPgAAGB5w From: =?iso-8859-1?Q?Pl=FCm=2C_R=FCdiger=2C_VF_EITO?= To: X-Virus-Checked: Checked by ClamAV on apache.org > -----Urspr=FCngliche Nachricht----- > Von: Brian Akins =20 > Gesendet: Dienstag, 24. Oktober 2006 16:37 > An: dev@httpd.apache.org > Betreff: Re: mod_disk_cache summarization >=20 >=20 > Niklas Edmundsson wrote: > >> The comparison of your and Brian's experience are two ends=20 > of extremes on > >> high volume caches, one low hits large files, the second=20 > high hits small > >> files. This should make for some useful tuning information. > >=20 > > The extreme difference is what makes me think that we=20 > should acknowledge=20 > > that they exist and provide the relevant knobs where=20 > necessary. As it=20 > > looks right now, those knobs tend to be more OS/filesystem=20 > specific, but=20 > > that might change as this evolves. >=20 >=20 > My thought on this is that we use providers, so in theory,=20 > you could use a=20 > different provider for the different types: >=20 > CacheEnable /largecrap large_disk_with_stat_sleep_thing > CacheEnable /normalstuff normal_disk Agreed. If it turns out that the common code base between both cases is only small and it is complex to do both things in one provider just make two providers out of them. The remaining common code could be factored out in a separate disk_cache_util c file which is used by both providers. Regards R=FCdiger