From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 12:58:32 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 F233516A420 for ; Fri, 22 Jul 2005 12:58:31 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A5EF43D94 for ; Fri, 22 Jul 2005 12:58:15 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.51) id 1Dvx6R-00024P-V7 for freebsd-java@freebsd.org; Fri, 22 Jul 2005 13:58:14 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 4.50) id 1Dvx6Q-00031U-D5; Fri, 22 Jul 2005 13:58:10 +0100 Date: Fri, 22 Jul 2005 13:58:10 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant X-Spam-Score: -2.8 X-Spam-Level: -- Subject: Eclipse 3.1, subclipse, javaSVN, kserel and 70% system use. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 12:58:32 -0000 (This appears to be a problem with both native 1.4.2 and 1.5.0 jdks on my -stable: an approximately GENERIC FreeBSD 5.4-STABLE #0: Thu Jun 16 13:59:43 BST 2005) First, well done on the 3.1 port. Mostly, it works just as well as the 3.0 did, and the java 5.0 features are most welcome. I use subversion for version control here, so I installed the latest subclipe (subclipe.tigris.org) and the tmate.org javaSVN libraries. Now it appears that something is triggering a problem with the above combination. It's not clear to me that this isn't a problem with the underlying freebsd threading: the problem is reproducible on this machine (1.8GHz P4, 1GB: enough to run eclipse 3.0 pretty snappily) under jdks 1.4.2 and 1.5.0 (client and server jvm). Basically, a few operations appear to be incredibly (unusably) sluggish: "synchronise with repository" in particular - these kinds of operations will hang for long periods "refreshing the workspace" or "building the workspace". Normal refreshes and rebuilds, however, are as snappy as always. The operations in question take minutes for a miniscule java project (about 30 classes) - so if this is a generic problem, it should probably be visible on more modern equipment too. At the point where eclipse hangs, top shows system about 25% user and 75% system usage; the java process switches back and forth from "RUN" to "kserel". I appreciate it's a large set of downloads in order to get in a position to reproduce this problem - but if anyone else already has 3.1 running, perhaps they could try installing the subclipse and javasvn plugins and see if they can reproduce the issue? I can get a thread dump if anyone is interested but I'd like to actually get some confirmation that others are seeing this issue too. Cheers, jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44 (0)117 9287088 or 3317661 http://ioctl.org/jan/ Lambda calculus? I hardly know 'er!