Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 59800 invoked by uid 500); 7 Jun 2001 22:07:01 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 59757 invoked from network); 7 Jun 2001 22:07:00 -0000 Message-Id: <4.2.2.20010607235338.00e1e430@mailserver.kippdata.de> X-Sender: jung@mailserver.kippdata.de X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Fri, 08 Jun 2001 00:12:01 +0200 To: tomcat-dev@jakarta.apache.org From: Rainer Jung Subject: Some Tomcat JSP Performance Numbers In-Reply-To: <20010607065908.43916.qmail@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I thought it might be interesting to contribute some quickly taken JSP=20 performance figures for tomcat. The numbers were not taken especially for the list, so the setting might=20 look a little strange. All Measurements were short-time, typically running app. 2 minutes. I used= =20 a very simple JSP, with a page directive setting session to false, then a=20 configurable sleep and then just writing out a stupid HTML-Page of varying= =20 length. I varied the number of simulated client threads (concurrent requests), size= =20 of JSP output, number of server CPUs an finally I put apache and tomcat on= =20 seperate servers. Configuration Apache 1.3.14, Tomcat 3.2.2-beta2, AJP13, Solaris 2.6, JDK 1.2.1_03 HTTP-client simulation on another system, simulating 100 clients (differing= =20 numbers are mentioned), 100Mbit switched Ethernet between the systems, Plattform webserver and client simulator seperate Sun E420R 4CPU/4GB, 400MHz Apache andTomcat running on the same system, last two szenarios I put them= =20 on different servers, Tuning Apache uses max 256 Processes, AJP13-Pool max 256 Threads TCP/IP close_wait_interval 30 Sec Tests variable Output Size, no Sleep Size Used Bandwidth Performance 25Bytes - 430 JSP/sec 1KB - >400 JSP/sec 4KB 2MBit/16MBit 415 JSP/sec 16KB 2MBit/44MBit 310 JSP/sec variable Sleeps, 1KB Size of Output Sleep Performance 0ms >400 JSP/sec 100ms 360 JSP/sec 400ms 185 JSP/sec 1600ms 60 JSP/sec variable Number of Client-Threads, no Sleep, 25 Bytes Size of Output Clients Performance 200 330 JSP/sec 175 360 JSP/sec 150 380 JSP/sec 125 405 JSP/sec 100 415 JSP/sec 75 435 JSP/sec 50 380 JSP/sec 25 225 JSP/sec variable Number of CPUs, no Sleep, 25 Bytes Size of Output CPUs Performance 4 430 JSP/sec 3 395 JSP/sec 2 320 JSP/sec 1 195 JSP/sec And now two measurements with apache, tomcat and the client simulation=20 running on three different systems of the above type: no Sleep, 25 Bytes Size of Output Clients Performance 100 530 JSP/sec 200 370 JSP/sec Again seperated, but variable Number of CPUs, no Sleep, 25 Bytes Size of= Output CPUs Performance 4 500 JSP/sec 2 510 JSP/sec 1 415 JSP/sec Rainer Jung kippdata informationstechnologie GmbH Bornheimer Stra=DFe 33a D-53111 Bonn Germany Tel.: +49/0228/98549-0 Fax: +49/0228/98549-50 email: rainer.jung@kippdata.de