Subject: Re: Have pkgsrc building make use of SMP?
To: Lars Nordlund <lars.nordlund@hem.utfors.se>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 04/05/2005 23:12:10
On Tue, 5 Apr 2005, Lars Nordlund wrote:
> It would be really cool to be able to just have pkgsrc build multiple
> packages at the same time.

Do you understand the difference of your suggestion to mine?

Why do you think running the whole pkgsrc infrastructure on two cpus in 
parallel (with all the cache impact etc.), and adding the necessary 
locking infrastructure to ensure dependencies are built before 
applications that need them is better than just go and utilize all CPUs 
with the compiler (which is already in cache) for all the CPUs in 
parallel, and go for building one thing after another?

If you're keen on debugging such locking problems, why not have a 
look at why make has issues with make -jX (X>1)?


  - Hubert

-- 
NetBSD - Free AND Open!      (And of course secure, portable, yadda yadda)