Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2004 12:42:27 -0700
From:      Joshua Lokken <joshua@twobirds.us>
To:        patrick@okcupid.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: athlon-mp daily hang 5.2.1
Message-ID:  <20040505194227.GB3573@freebsd.jolok.org>
In-Reply-To: <20040505190052.GC1003@patrick.okcupid.com>
References:  <20040504201003.GF845@patrick.okcupid.com> <1083702756.2044.7.camel@localhost.localdomain> <20040505190052.GC1003@patrick.okcupid.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Patrick Crosby <patrick@okcupid.com> [2004-05-05 12:10]:
> This isn't a laptop, it's a dual-processor desktop w/ two athlon mp
> 2600's.  But I monitored the temperature all day long today.  It
> hasn't fluctuated more than a degree, and yet I just got another hang
> (while compiling).  The temperature of the cpus and motherboard was
> the same that it was all day long...
> 
> Anyone have any other ideas?
> 
> Thanks.
> 
> Patrick
> 
> Ray Seals (rseals@vdsi.net) wrote:
> > I have the same problem with my laptop.  I'm running an AthlonXP-M.  My
> > problem is due to overheating.  The machine hangs for 30 seconds and
> > then runs for about 30 minutes and then hangs again.  Then it powers
> > itself off.
> > 
> > Ray
> > 
> > > 'gmake -j4...', but has happened at other times as well.
> > > 

[from
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html]

[snip]
It is now possible to specify a -j option to make which will cause it to
spawn several simultaneous processes. This is most useful on multi-CPU
machines. However, since much of the compiling process is IO bound
rather than CPU bound it is also useful on single CPU machines.

On a typical single-CPU machine you would run:

# make -j4 buildworld

make(1) will then have up to 4 processes running at any one time.
Empirical evidence posted to the mailing lists shows this generally
gives the best performance benefit.

If you have a multi-CPU machine and you are using an SMP configured
kernel try values between 6 and 10 and see how they speed things up.

Be aware that this is still somewhat experimental, and commits to the
source tree may occasionally break this feature. If the world fails to
compile using this parameter try again without it before you report any
problems.
[/snip]

-- 
Joshua

"Mmm Jar-Jar; everyone hates you, but me."
         -- Comic Book Guy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040505194227.GB3573>