Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 85887 invoked from network); 25 Jul 2004 21:13:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jul 2004 21:13:31 -0000 Received: (qmail 21850 invoked by uid 500); 25 Jul 2004 21:13:23 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 21762 invoked by uid 500); 25 Jul 2004 21:13:22 -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 21737 invoked by uid 99); 25 Jul 2004 21:13:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [216.193.197.90] (HELO gs3.inmotionhosting.com) (216.193.197.90) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 25 Jul 2004 14:13:20 -0700 Received: from c66-235-50-36.sea2.cablespeed.com ([66.235.50.36] helo=[192.168.0.3]) by gs3.inmotionhosting.com with asmtp (TLSv1:AES256-SHA:256) (Exim 4.24) id 1BoqJD-0005s8-EO; Sun, 25 Jul 2004 14:13:27 -0700 Message-ID: <4104226E.1060800@apache.org> Date: Sun, 25 Jul 2004 14:13:18 -0700 From: Brian Pane User-Agent: Mozilla Thunderbird 0.7.1 (Macintosh/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org CC: Tomcat Developers List Subject: Re: Some benchs results : WAS: Invitation to HTTPD commiters in tomcat-dev References: <20040721080018.905F349DC9@dns1.vodatel.hr> <40FE44D3.5060500__5424.79385990209$1090405641$gmane$org@sharp.fm> <40FE7EF0.3000004@sharp.fm> <00e601c46f3e$09eb2f40$dd01dc0a@Corp.LaQuinta.com> <40FF5A71.1060101@apache.org> <40FF77EB.7010107@apache.org> <40FF8EBF.8090405@apache.org> In-Reply-To: <40FF8EBF.8090405@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gs3.inmotionhosting.com X-AntiAbuse: Original Domain - httpd.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Henri Gomez wrote: > I made some benchs on my Linux Fedora Core 2 > on a P4 2.8ghz / 1Gb RAM : > Apache 2 alone 1202 req/s > TC/Coyote 883 req/s One thing I noticed when looking at Tomcat 5.0.x is that its default, static-file-delivering servlet does a stat(2) of each path prefix leading up to the file. A standard installation of Apache 2.x, with FollowSymlinks enabled, doesn't do these stat calls, for obvious performance reasons. Is the stat'ing of all the directories leading up to the requested file in Tomcat intentional (it *is* valuable in some environments for security purposes), or is it just a side-effect of the implementation? Brian