Subject: Re: pkgsrc on SMP machines
To: None <firstname.lastname@example.org>
From: Alan Post <email@example.com>
Date: 12/15/2005 03:16:55
In article <firstname.lastname@example.org>, email@example.com wrote:
> Hi, can anyone suggest a good strategy for utilising the most of SMP
> hardware when building software from pkgsrc??
> I have Sun E450 with 4X 250MHz UltraSparc II CPUs, most of the time
> the system is 70% idle, because pkgsrc tends to use mainly 1 CPU.
> Fixing all Makefiles to support -j > 1 seems quite unreasonable, I
> guess the best solution would be to have a multithreaded compiler,
> which distributes workload to a specified number of threads, i.e
Alternatively, if you're building a bunch of packages, pkgsrc could
run multiple builds concurrently, since it has all the dependency
information. I seem to recall reading on this list about an
implementation of this in the past.