Compiling jdk15 on amd64: how long?

Alex Hayward xelah-freebsd at xelah.com
Tue Jan 31 04:05:21 PST 2006


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 at 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.



More information about the freebsd-java mailing list