Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 84857 invoked from network); 2 Jun 2005 14:29:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2005 14:29:15 -0000 Received: (qmail 12646 invoked by uid 500); 2 Jun 2005 14:29:06 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 12584 invoked by uid 500); 2 Jun 2005 14:29:06 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 12557 invoked by uid 99); 2 Jun 2005 14:29:06 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from victor.wilshire.com (HELO victor.wilshire.com) (209.0.86.70) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Jun 2005 07:29:04 -0700 Received: from harpy.wilshire.com (harpy.wilshire.com [192.168.1.58]) by victor.wilshire.com (8.12.3/8.12.3/Debian-7.1) with ESMTP id j52ESbVK029432 for ; Thu, 2 Jun 2005 07:28:37 -0700 Received: from oemcomputer (pool-71-107-250-246.lsanca.dsl-w.verizon.net [71.107.250.246]) (authenticated bits=0) by harpy.wilshire.com (8.12.10/8.12.3) with ESMTP id j52ESaVF022893 for ; Thu, 2 Jun 2005 07:28:37 -0700 (PDT) Message-ID: <007401c5677f$78d1a580$f6fa6b47@oemcomputer> From: "Bill Barker" To: "Tomcat Developers List" References: <429E5DD3.5000401@joedog.org> <429EA18E.4070309@apache.org> <429EE245.4050502@joedog.org> Subject: Re: Initial apr results Date: Thu, 2 Jun 2005 07:29:17 -0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1117722517-17481-344" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Zantaz-Archived: victor X-Scanned-By: MIMEDefang 2.44 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------------=_1117722517-17481-344 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit Content-Disposition: inline You might also want to dig up Peter's JMeter test plan. This one is the opposite of the 'ab' test, in that it tests the ability to handle a lot of socket connections without necessarily much throughput. As Remy said, the 'ab -k' tests should be close unless either your JVM vendor or your APR implementation s*cks. Both connectors do much the same thing with this test execpt for sendfile (and 'tomcat.gif' is too small to for Tomcat to use sendfile by default). ----- Original Message ----- From: "Tim Funk" To: "Tomcat Developers List" Sent: Thursday, June 02, 2005 3:41 AM Subject: Re: Initial apr results > Excellent. In my future tests, I'll keep the concurrency lower and the > hits higher. I'll also use different size files. I am only able to use a > 1.4.2 JVM. I might be able to get 1.5 on - but its highly doubtful. > > -Tim > > Remy Maucherat wrote: >> Tim Funk wrote: >> >>> My test box was an HP-UX 9000/800/L1000-44 - Dual CPU (440 MHz) >>> >>> On my initial tests with the APR connector - the APR connector "seemed" >>> slower the "old" http connector. But the difference is mild and my >>> initial numbers are flaky. On the same hardware - I am running 6 other >>> instances (of different versions) of tomcat at the same time which may >>> be throwing my numbers off. >>> >>> During some slow time - I might be able to take most of them down and >>> run some more tests to try to ensure I am hogging all the resources to >>> the box and not sharing them. >>> >>> For those curious - for /tomcat.gif - my requests per second range >>> anywhere from 1200+ to 5000+ - Due to such a large range - I have no >>> confidence in my numbers so far to reach any conclusion. >>> >>> I was using the command: >>> /usr/local/httpd/bin/ab -n 1000 -c 100 -k >>> http://myserver:8090/tomcat.gif >>> >>> With keepalive off - I was still easily over 1000 requests per second >>> for tomcat.gif. >> >> >> I can't assert yet that there are no bugs at the moment (performance or >> otherwise). So far, performance seems good on Windows, and Linux. To give >> a comparison on Windows with this test, APR HTTP is within 5% of regular >> HTTP, and gets closer depending on the JVM (I suppose if it's better at >> JNI - I've noticed slightly better results with Sun JDK 1.5 Server >> compared to 1.4.2 client). >> >> I think you should use -n 20000 at least: if the test duration is too >> small, ab is going to produce random results. In this test, increasing >> concurrency isn't particularly useful either. >> >> Obviously, the results of this kind of testing are not really important >> as long as the results stay relatively close (for example, I think >> the -25% result I got when using polling exclusively was really good). >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > > > This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. ------------=_1117722517-17481-344 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org ------------=_1117722517-17481-344--