Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 39352 invoked from network); 26 May 2006 14:45:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 14:45:02 -0000 Received: (qmail 78917 invoked by uid 500); 26 May 2006 14:44:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 78894 invoked by uid 500); 26 May 2006 14:44:48 -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 78881 invoked by uid 99); 26 May 2006 14:44:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 07:44:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.110.29.211] (HELO ns2.tngtech.com) (217.110.29.211) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 07:44:46 -0700 Received: from [127.0.0.1] (p549B168A.dip0.t-ipconnect.de [84.155.22.138]) by ns2.tngtech.com (Postfix) with ESMTP id 742D5340C1 for ; Fri, 26 May 2006 16:44:24 +0200 (CEST) Message-ID: <4477144D.5050107@tngtech.com> Date: Fri, 26 May 2006 16:44:29 +0200 From: Michael Echerer User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: problem in GC tuning References: <013f01c322b2$97f4c5f0$9009a8c0@prashant> In-Reply-To: <013f01c322b2$97f4c5f0$9009a8c0@prashant> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Prashant kumar wrote: > Hi All, > > 1) Is there any means by which GC takes less CPU, I mean that it > can take longer time to complete its one cycle (as memory is not a > constraint) ? You've set quite a lot of heap 3400m. Do you really need that much memory? The more you set, the more the GC needs to scan. If it's unused however, try reducing Xmx and Xms to values that are sufficient for your app. Then try to size the generations to get smaller chunks to be scanned and check the survivor ratios. Give the incremental GC a try. Might get worse, but probably it works. http://java.sun.com/docs/hotspot/gc1.4.2 > > 2) Do writing of logs at higher loads have some impact on the > performance? > You should definitely disable GC logging in production, if you don't need it for diagnosis anylonger. Cheers, Michael --------------------------------------------------------------------- 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