From owner-freebsd-questions@FreeBSD.ORG Wed May 5 12:42:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 426A216A4CE for ; Wed, 5 May 2004 12:42:24 -0700 (PDT) Received: from hunger.joshualokken.com (joshualokken.com [63.226.239.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id B66CF43D41 for ; Wed, 5 May 2004 12:42:23 -0700 (PDT) (envelope-from joshua@twobirds.us) Received: from freebsd.jolok.org ([10.0.0.3] helo=jolok.org) by hunger.joshualokken.com with smtp (Exim 4.32; FreeBSD) id 1BLSHY-0008ef-Lc; Wed, 05 May 2004 12:42:22 -0700 Date: Wed, 5 May 2004 12:42:27 -0700 From: Joshua Lokken To: patrick@okcupid.com Message-ID: <20040505194227.GB3573@freebsd.jolok.org> Mail-Followup-To: patrick@okcupid.com, freebsd-questions@freebsd.org References: <20040504201003.GF845@patrick.okcupid.com> <1083702756.2044.7.camel@localhost.localdomain> <20040505190052.GC1003@patrick.okcupid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040505190052.GC1003@patrick.okcupid.com> User-Agent: Mutt/1.4.2.1i X-Organization: Little to none... X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "hunger.jolok.org", hasmessageblock similar future email. If you have any questions, see the administrator of that system for details. Content preview: * Patrick Crosby [2004-05-05 12:10]: > This isn't a laptop, it's a dual-processor desktop w/ two 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> Myandpowershappened at other times as well. > > > [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description -------------------------------------------------- cc: freebsd-questions@freebsd.org Subject: Re: athlon-mp daily hang 5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2004 19:42:24 -0000 * Patrick Crosby [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