On Sun, Oct 08, 2017 at 02:28:28AM -0000, via blfs-book wrote:
> Author: dj
> Date: Sat Oct  7 19:28:28 2017
> New Revision: 19304
> 
> Log:
> Fix SBU value (ninja -j1) for systemd.
> 

The last time I looked at ninja, it used the number of cores plus 2
(-j3 on single processor, -j6 on 4 cores).  There is merit in
documenting a -j1 time for a package which builds quickly, but
(unless things have changed a lot) the book's instructions will use
something more than one processor (e.g. watch 'top' and count the
percentages - I think they will show a total percentage approaching
100 * number of cores.

If I'm right, this might be one package where using the value for a
machine with 4 CPUs (as a commonly-available base) even for a quick
package might be worthwhile - we normally only force -j1 where we
have to becuase of broken Makefiles.

My interest in this is that I'm thinking about extending the
Editors' Guide to include details of reducing the number of
processors available (taksset) when building on machines with many
cores.

ĸen
-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
                                     - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to