bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: [RFC]serialize the output of parallel make?


From: Edward Welbourne
Subject: Re: Fwd: [RFC]serialize the output of parallel make?
Date: Mon, 02 Aug 2010 10:26:30 +0200

> 2x is too much. 1.5x has been the best in my experience, any more than that 
> and you're losing too much CPU to scheduling overhead instead of real work. 
> Any less and you're giving up too much in idle or I/O time.

This depends a bit on whether you're using icecc or some similar
distributed compilation system.  I believe a better approach is to set
a generous -j, such as twice the count of CPUs, but impose a load
limit using -l, tuned rather more carefully.  Scheduling overhead
contributes to load, so is taken into account this way.

        Eddy.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]