Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 97222 invoked from network); 15 Jan 2004 00:30:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Jan 2004 00:30:10 -0000 Received: (qmail 22632 invoked by uid 500); 15 Jan 2004 00:29:49 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 22583 invoked by uid 500); 15 Jan 2004 00:29:49 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 22570 invoked from network); 15 Jan 2004 00:29:49 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 15 Jan 2004 00:29:49 -0000 Received: (qmail 97175 invoked from network); 15 Jan 2004 00:30:03 -0000 Received: from unknown (HELO apache.org) (127.0.0.1) by localhost with SMTP; 15 Jan 2004 00:30:03 -0000 Message-ID: <4005DF06.8040800@apache.org> Date: Thu, 15 Jan 2004 01:29:58 +0100 From: Remy Maucherat User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Memory leak- yeah I know References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Filip Hanik wrote: >>How heavy of a load does this generate, in terms of # of req/s? > > execute: > java -cp testclient.jar;commons-httpclient.jar;commons-logging.jar > org.apache.catalina.cluster.test.client.MemTestClient http > ://192.168.0.103:7080/index.jsp 100 100000 1000 false > > java -cp testclient.jar;commons-httpclient.jar;commons-logging.jar > org.apache.catalina.cluster.test.client.MemTestClient get-url nrofthreads > nrofrequests sleep-between-request usehttp11 Maybe this isn't useless after all: I've finally found a benchmark where 5.0.17 wipes the floor with 4.1.29 (I did increase the maxProcessors to 150; the bench with those settings obviously won't work with only 75 processors). For a static request (2 KB; /tomcat.gif) the average response time is 4 ms (compared to 10 ms), less memory (about 20 MB less; of course, this is more heap due to more GC, not actually used memory), and less CPU time (0-3% compared to 12-14%). Somehow, ab doesn't show that kind of difference (too bad, I would have been happy). R�my --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org