NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/39336: building NetBSD with build.sh's `-j 32' option fails



The following reply was made to PR port-i386/39336; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: Ray Phillips <r.phillips%uq.edu.au@localhost>, 
gnats-bugs%netbsd.org@localhost
Cc: port-i386-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: port-i386/39336: building NetBSD with build.sh's `-j 32'
        option  fails
Date: Mon, 11 Aug 2008 06:54:51 +0000

 On Mon, Aug 11, 2008 at 12:05:04AM +0000, Ray Phillips wrote:
  >>  Are you sure you're not running out of swap ? You may have indications
  >>  of this in the tail of 'dmesg', if you didn't reboot your system since
  >>  this run.
  >  
  >  That is what happened Manuel; thanks.  The last two lines of dmesg's 
  >  output were:
  >  
  >  UVM: pid 28069 (cc1), uid 0 killed: out of swap
  >  UVM: pid 25759 (cc1), uid 0 killed: out of swap
 
 Yup.
 
  >  This machine (a 333 MHz PII) has 256 MB RAM and about the same amount 
  >  of swap space.  Can you say how much swap space it would need to 
  >  complete the build?  Assuming it had enough, no doubt it would take 
  >  considerably longer to finish than the ~ twenty-nine hours it took 
  >  without the -j option?
 
 A 32-way build? Probably a gig or two. And then it'll probably take
 weeks to run, thrashing hard the whole time.
 
 On a one-processor machine, you're not likely to get any speed gains
 by going higher than -j2 or maybe -j3, and even then it only helps if
 you have enough RAM, which you don't.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index