Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 87709 invoked from network); 3 Aug 2004 17:11:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Aug 2004 17:11:49 -0000 Received: (qmail 38333 invoked by uid 500); 3 Aug 2004 17:11:10 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 38251 invoked by uid 500); 3 Aug 2004 17:11:10 -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 38192 invoked by uid 99); 3 Aug 2004 17:11:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.114.32.105] (HELO zcamail05.zca.compaq.com) (161.114.32.105) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 10:11:07 -0700 Received: from cacexg12.americas.cpqcorp.net (cacexg12.americas.cpqcorp.net [16.92.1.72]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id 43E6581E for ; Tue, 3 Aug 2004 10:11:06 -0700 (PDT) Received: from cacexc03.americas.cpqcorp.net ([16.92.1.27]) by cacexg12.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.0); Tue, 3 Aug 2004 10:11:05 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: mod_cache performance Date: Tue, 3 Aug 2004 10:11:05 -0700 Message-ID: <16A24B6050584143978000646801E9350201D54C@cacexc03.americas.cpqcorp.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: mod_cache performance Thread-Index: AcR5aLeH9gCkVUYOQTK36CpS3bLnTAAEHCHA From: "Mathihalli, Madhusudan" To: X-OriginalArrivalTime: 03 Aug 2004 17:11:05.0981 (UTC) FILETIME=[DCC1CAD0:01C4797C] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N : -----Original Message----- : From: Bill Stoddard [mailto:bill@wstoddard.com]=20 [SNIP] : >=20 : > Here's some comparative numbers to chew on. : >=20 : > One client and one server on 100Mbps network (cheapy=20 : 100Base-T switch); : > 50 simulated users hitting 7 URLs 100 times with flood=20 : (35,000 requests). : >=20 : > mod_disk_cache: Requests: 35000 Time: 40.91 Req/Sec: 856.78 : > mod_mem_cache: Requests: 35000 Time: 54.90 Req/Sec: 637.81 : > no cache: Requests: 35000 Time: 54.86 Req/Sec: 638.81 : > squid: Requests: 35000 Time: 105.35 Req/Sec: 332.25 : >=20 : > mod_disk_cache completely filled out the network at ~50% CPU usage. : > [Can't push through more than ~8MB/sec (~64Mb/sec) without GigE.] : > mod_mem_cache filled up the CPU but not the network : > [Poor scaling characteristics. It goes to 100% CPU with=20 : just 5 users!] :=20 : mod_mem_cache is broken then. It used to kick the pants off=20 : of 'no cache' and mod_disk_cache. .. Well, doesn't it depend upon the size of the data set. With 'ab', I guess that's possible that mod_mem_cache can beat mod_disk_cache - but with a dataset like SPECweb99, I'd really doubt if it can really do it. BTW, I wonder how mem_cache can significantly out-perform no-cache scenario - 'cause a good file system should buffer cache the most-accessed files, and there should be minimal perf. difference. -Madhu