Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2010 22:49:00 +1030
From:      Matt Thyer <matt.thyer@gmail.com>
To:        Rui Paulo <rpaulo@freebsd.org>
Cc:        freebsd-current@freebsd.org, Kevin Mai <kma@mrecic.gov.ar>
Subject:   Re: Multithread Make in multicore server
Message-ID:  <AANLkTi=pR51zYoukRE-iU=JeM2vK9sJvUJgpk0N2Df0E@mail.gmail.com>
In-Reply-To: <47E32F6D-498C-4706-8AD6-355F9BD7887C@FreeBSD.org>
References:  <7459633.69735.1286214361816.JavaMail.root@mrelmx10.mrec.ar> <47E32F6D-498C-4706-8AD6-355F9BD7887C@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5 October 2010 04:53, Rui Paulo <rpaulo@freebsd.org> wrote:

> On 4 Oct 2010, at 18:46, Kevin Mai wrote:
> > I see that there's no multithreading when running make.. is there a way
> to enable multiprocessing when running make?
>
> Try 'make -j16 buildworld'. 16 is the maximum number of parallels processes
> that make is going to run.
>

Try -j32 or even -j48 and let us know which is faster.
-j16 will still show lots of idle time.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=pR51zYoukRE-iU=JeM2vK9sJvUJgpk0N2Df0E>