Date: Tue, 31 Jan 2006 12:04:43 +0000 (GMT) From: Alex Hayward <xelah-freebsd@xelah.com> To: Andrew Reilly <andrew-freebsd@areilly.bpc-users.org> Cc: Alex Hayward <xelah-freebsd@xelah.com>, freebsd-java@freebsd.org Subject: Re: Compiling jdk15 on amd64: how long? Message-ID: <Pine.LNX.4.58.0601311143500.26823@sphinx.mythic-beasts.com> In-Reply-To: <20060131004141.GA24055@duncan.reilly.home> References: <20060120032857.GA37316@gurney.reilly.home> <Pine.LNX.4.58.0601201947170.6697@sphinx.mythic-beasts.com> <20060131004141.GA24055@duncan.reilly.home>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.58.0601311143500.26823>