From owner-freebsd-questions Wed Mar 13 4:57: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by hub.freebsd.org (Postfix) with ESMTP id A47A037B402 for ; Wed, 13 Mar 2002 04:56:59 -0800 (PST) Received: (qmail 47791 invoked from network); 13 Mar 2002 13:06:33 -0000 Received: from unknown (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 13 Mar 2002 13:06:33 -0000 Message-ID: <3C8F4C80.EB1FA78F@liwing.de> Date: Wed, 13 Mar 2002 13:56:32 +0100 From: Jens Rehsack Organization: LiWing IT-Services X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Miguel Mendez Cc: stable@freebsd.org, questions@freebsd.org Subject: Re: make -jx fails References: <3C8F3828.3265D298@liwing.de> <20020313133129.A21646@energyhq.homeip.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Miguel, Miguel Mendez wrote: > > On Wed, Mar 13, 2002 at 12:29:44PM +0100, Jens Rehsack wrote: > > Hi Jens, > > > I tried multiple times to build world, kernel or ports using > > "make -j2" or "make -j4". In most cases the results were useless, > > because make seems to run sequential steps parallel. > > > > A "make -j2 install clean" in a port directory sometimes makes > > install and clean simultanous. This is the best way to reproduce > > it - buildworld takes to long on this system. > > On my system (dual PIII 550) I usually do make -j8 buildworld without > any problem. For kernel, any value greater than 3 fails, so I usually do > a make -j3 buildkernel. For ports I don't use -j at all. I have read often, that people have problems using -j8 or so on fast machines. That's why I assume a timing problem on my 'slow' machine buildkernel using -jx, x > 1 will fail ever. I read there could be a problem with the steps are made. If I make the steps by hand (config, make depend, make -j2), it should work (above in this list). This i a solution, but could not be THE solution. > Your builworld should work with -j2 or 4, I've run -j3 on a single K6-2 > box without problems too. Sometimes works, sometimes don't. I don't know... > What kind of disks does that machine have? buildworld is pretty io > intensive, having fast disks makes quite a difference. I have 4 1GB-SCSI disks. src + dest + tmp are on different harddisks. So long Jens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message