From owner-freebsd-doc@FreeBSD.ORG Fri Jan 21 12:40:32 2005 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B603B16A4CE for ; Fri, 21 Jan 2005 12:40:32 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C55243D39 for ; Fri, 21 Jan 2005 12:40:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0LCeWCK010346 for ; Fri, 21 Jan 2005 12:40:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0LCeWf3010345; Fri, 21 Jan 2005 12:40:32 GMT (envelope-from gnats) Date: Fri, 21 Jan 2005 12:40:32 GMT Message-Id: <200501211240.j0LCeWf3010345@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Giorgos Keramidas Subject: Re: docs/76515: missleading use of make -j flag in handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Giorgos Keramidas List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 12:40:32 -0000 The following reply was made to PR docs/76515; it has been noted by GNATS. From: Giorgos Keramidas To: pete wright Cc: bug-followup@freebsd.org Subject: Re: docs/76515: missleading use of make -j flag in handbook Date: Fri, 21 Jan 2005 14:38:27 +0200 On 2005-01-20 23:11, pete wright wrote: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > states that: > "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." > > After testing this out on a SMP system doing a: > $ make -jN buildworld > (when "N" ranges from 1 to 8) I found that compile times do *not* > decrease after starting two make jobs (make -j2 buildworld). > This was also tested by others on Uniproc machines and they did not > find a decrease in time after starting one make job [...] There have been problems with running multiple make instances in the past. I'd probably argue for entirely removing the recommendation for -j from the Handbook. New users should never use it, because they don't be able to easily troubleshoot broken builds. Experienced users will probably know if it's safe to use -j, by experimenting and reading relevant material in the make(1) manpage. - Giorgos