From owner-freebsd-java@FreeBSD.ORG Mon Jan 24 03:53:46 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E34A016A4CE for ; Mon, 24 Jan 2005 03:53:45 +0000 (GMT) Received: from ms-smtp-04-eri0.southeast.rr.com (ms-smtp-04-lbl.southeast.rr.com [24.25.9.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48AB843D1D for ; Mon, 24 Jan 2005 03:53:43 +0000 (GMT) (envelope-from brent@mutt.rcfile.org) Received: from mutt.rcfile.org (cpe-069-134-146-135.nc.rr.com [69.134.146.135])j0O3rdCh004319 for ; Sun, 23 Jan 2005 22:53:40 -0500 (EST) Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.13.1/8.13.1) with ESMTP id j0O3rcUm068634 for ; Sun, 23 Jan 2005 22:53:38 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.13.1/8.13.1/Submit) id j0O3rc10068633 for freebsd-java@freebsd.org; Sun, 23 Jan 2005 22:53:38 -0500 (EST) (envelope-from brent) Date: Sun, 23 Jan 2005 22:53:38 -0500 From: Brent Verner To: freebsd-java@freebsd.org Message-ID: <20050124035338.GA68489@rcfile.org> References: <1106332573.54288.6.camel@renaissance.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1106332573.54288.6.camel@renaissance.homeip.net> X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 4.10-STABLE #31: Thu Nov 18 11:01:01 EST 2004 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTT User-Agent: Mutt/1.5.6i X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on mutt.rcfile.org X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: JDK1.5 regression from experimental to patchset 1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 03:53:46 -0000 [2005-01-21 19:36] Anthony Ginepro said: | After successfully compiling both jdk, I found than patchset-1 makes | tomcat-5.0.30 and tomcat-5.5.4 really slow compared with | patchset-experimental. I am seeing similar performance from 1.5.0-p1 on 5.3-STABLE, too. Tomcat 5.5.7 takes between 4-6 minutes to start. Initial request for a jsp page takes 1-2 minutes. Subsequent requests are quick, with the exception of occasional (occuring a few times per minute) requests that seem to hang/block for 6-9 seconds. When the hang occurs, the java process is not consuming any cpu. The output of ab2 below confirms the 9 second hang observation. Let me know what/if there's anything I can do to assist in finding the cause of this behaviour. cheers. brent sleepy:~ $brent$ ab2 -n 100 -c 1 http://mini:8080/_res/dev/env.jsp This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking mini (be patient).....done Server Software: Apache-Coyote/1.1 Server Hostname: mini Server Port: 8080 Document Path: /_res/dev/env.jsp Document Length: 11689 bytes Concurrency Level: 1 Time taken for tests: 72.583510 seconds Complete requests: 100 Failed requests: 56 (Connect: 0, Length: 56, Exceptions: 0) Write errors: 0 Total transferred: 1190144 bytes HTML transferred: 1169044 bytes Requests per second: 1.38 [#/sec] (mean) Time per request: 725.835 [ms] (mean) Time per request: 725.835 [ms] (mean, across all concurrent requests) Transfer rate: 16.01 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 5 725 2544.1 6 9924 Waiting: 4 723 2544.2 4 9922 Total: 5 725 2544.1 6 9924 Percentage of the requests served within a certain time (ms) 50% 6 66% 6 75% 8 80% 15 90% 42 95% 9910 98% 9923 99% 9924 100% 9924 (longest request) | | tomcat startup with 1.5.0-p1 : 133906 ms | tomcat startup with 1.5.0-exp: 4268 ms | | All jsp pages are also really slow to use at first. | | If you want me to try patchset in order to solve the issue or if you | need more information, send email directly. | | Thanks again for all your good work, | Anthony. | _______________________________________________ | freebsd-java@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-java | To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" --