From owner-freebsd-java@FreeBSD.ORG Tue Jan 31 12:05:21 2006 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 687D716A420 for ; Tue, 31 Jan 2006 12:05:21 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from wumpus.mythic-beasts.com (wumpus.mythic-beasts.com [212.69.37.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0046B43D46 for ; Tue, 31 Jan 2006 12:05:20 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from sphinx.mythic-beasts.com ([212.69.37.6]) by wumpus.mythic-beasts.com with esmtp (Exim 4.44) id 1F3uG7-0008QG-NI for freebsd-java@freebsd.org; Tue, 31 Jan 2006 12:05:19 +0000 Received: from xelah (helo=localhost) by sphinx.mythic-beasts.com with local-esmtp (Exim 4.51) id 1F3uFX-0007go-Gg; Tue, 31 Jan 2006 12:04:43 +0000 Date: Tue, 31 Jan 2006 12:04:43 +0000 (GMT) From: Alex Hayward X-X-Sender: xelah@sphinx.mythic-beasts.com To: Andrew Reilly In-Reply-To: <20060131004141.GA24055@duncan.reilly.home> Message-ID: References: <20060120032857.GA37316@gurney.reilly.home> <20060131004141.GA24055@duncan.reilly.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Alex Hayward Cc: Alex Hayward , freebsd-java@freebsd.org Subject: Re: Compiling jdk15 on amd64: how long? 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: Tue, 31 Jan 2006 12:05:21 -0000 On Tue, 31 Jan 2006, Andrew Reilly wrote: > On Fri, Jan 20, 2006 at 07:48:34PM +0000, Alex Hayward wrote: > > On Fri, 20 Jan 2006, Andrew Reilly wrote: > > > > > Hi all, > > > > > > Any idea how long this is supposed to take? I'm patched and all, > > > and the linux javac seems to be working ok, but I have two javac > > > processes (one per core) at the top of my "top" list that have now > > > consumed about 170 minutes. > > > > > > cvsupped ports tree yesterday, fetched bsd patch 2 today. > > > > > > Uname -a: > > > FreeBSD new.reilly.home 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Jan 18 23:44:47 UTC 2006 root@new.reilly.home:/usr/obj/usr/src/sys/SMP amd64 > > > > > > Hmm. Maybe I should bring the base system forward to 6.0-STABLE > > > before trying this? > > > > > > Maybe I should start with jdk14? > > > > > > Any help or suggestions, or even confirmation that this has been > > > done before would be greatly appreciated. > > > > The last time I compiled it on amd64 I had to disable SMP to make it > > finish. > > I'm new to the SMP thing: what's the easiest way to do that? Do > I have to re-boot to a GENERIC kernel, or can I tweak a sysctl > knob to turn one CPU off at whim? > > Thanks for the advice. Put kern.smp.disabled=0 in /boot/loader.conf. sysctl -w kern.smp.active=0 also works but seems to make the machine crash after a while.