Subject: Re: i386 MP performance (generic.mp and generic almost same)
To: None <current-users@netbsd.org>
From: Aleksej Saushev <asau@inbox.ru>
List: current-users
Date: 11/11/2007 20:26:32
Eric Haszlakiewicz <erh@nimenees.com> writes:

> Cem Kayali wrote:
>> I'm sorry to hear i can use only single core especially for compiling pkgsrc
>> softwares... 
>
> Well, actually there are some settings that might allow you to
> do this.  On a very granular level, you can set PKGSRC_LOCKTYPE
> and manually run make in multiple directories.  I've used this
> with some success in the past.
>
> Another setting that I haven't used, but sounds promising based
> on what's in mk/defaults/mk.conf, is MAKE_JOBS, which adds a
> -j<whatever> to the individual package builds.  However, it says
> it's experimental, so I have no idea how well it works in
> practice.

Well enough, but you have to mark improper packages with MAKE_JOBS_SAFE=no