NetBSD-Users archive

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

Re: How to get build.sh load-balance CPUs



Louis Guillaume wrote:

> Adam Hoka wrote:
> > try passing "-j 8" to build.sh
> 
> Oh yeah!
> 
> CPU0 states: 59.5% user,  0.0% nice,  3.2% system,  0.2% interrupt, 
> 37.1% idle
> CPU1 states: 54.7% user,  0.0% nice,  7.8% system,  0.0% interrupt, 
> 37.5% idle
> CPU2 states: 88.0% user,  0.0% nice,  4.4% system,  0.0% interrupt, 
> 7.6% idle
> CPU3 states: 72.5% user,  0.0% nice,  6.0% system,  0.0% interrupt, 
> 21.6% idle
> 
> Thank you! Do you know if it can be done for pkgsrc?
> 
> Louis
> 

MAKE_JOBS=8 in mk.conf
beware, it may cause strange build failures with some of the packages
but that doesnt happen too often

Attachment: pgpdc7BvwY_6k.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index