Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 20670 invoked from network); 7 Aug 2007 12:44:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 12:44:19 -0000 Received: (qmail 86672 invoked by uid 500); 7 Aug 2007 12:44:06 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 86654 invoked by uid 500); 7 Aug 2007 12:44:06 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 86639 invoked by uid 99); 7 Aug 2007 12:44:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 05:44:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [82.70.116.177] (HELO mail.melandra.com) (82.70.116.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 12:43:55 +0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Load testing, benchmarking, and tuning X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Tue, 7 Aug 2007 13:43:39 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Load testing, benchmarking, and tuning Thread-Index: AcfY7hfnFtW/KCuFRCKcLgVBuvU6bAAASyKw References: <12032715.post@talk.nabble.com> <12033169.post@talk.nabble.com> From: "Peter Crowther" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org > From: rhull [mailto:rhull@pobox.com]=20 > I can't find any reason to believe I am. I'm running on a 1.5mb > download/256mb upload cable connection. The Linux box is on=20 > similar. The > requests are fairly short HTTP POST request (couple hundred=20 > bytes), and the > responses from the servlet are under 10K each. OK, you're bottlenecked there I think (assuming you mean 256 *k*b rather than 256 *m*b upload). Consider: 10 kbytes is around 100 kbits (include framing and other overheads). 15 transactions per second is therefore 15 x 100 =3D 1,500 kbits =3D pretty close to 1.5 Mbit/s. I suspect that isn't a coincidence. > Right now, the servlet is serving the contents of ~1500 small=20 > xml files (the > next phase of the project moves the files to memory in a service to be > served up to the servlets). My suspicion was that a lot of=20 > the system time was due to file activity/swapping. Sounds likely. Tracing system calls would tell you. That's a pretty meaty system, doing some pretty small things. 600tps is 600/8 =3D 75tps per core; you've plenty of memory to go at, there's no hardware network to drive, and the file contents will be in the OS disk cache fairly early on in the test. I can believe the numbers you're getting with that webapp, and I suspect they'll go *up* if you bring the files into memory. At the moment, it wouldn't totally surprise me if most of your app fitted into the L2 cache on the CPUs. - Peter --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org