Re: [TEST] make -j patch [take 2]

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Fri, 12 Nov 2004 09:09:13 +0100
In message <20041112080416.GA41844_at_ip.net.ua>, Ruslan Ermilov writes:

>> Here is take two of my "make -j" patch.  Further testing found
>> a couple of buglets.  If this survices further testing, it will
>> be committed in a couple of days.
>>
>> With this patch "make -j N" will put the load average as close
>> to N as the makefiles will allow.
>>
>This will make it impossible for "make universe" to build four
>worlds in parallel, each world with 8 jobs.  It's possible now,
>please see the commit log for src/Makefile,v 1.308 for details.

Yes, isn't it wonderful ?  We can get a way from that hack and
have make actually do global resource management:

I ran "make -j 12 universe" overnight and the loadaverage danced
between 10 and 13 most of the time, with a spike at 14 while
cron did its late-night raid-the-fridge thing.

Last I tried this without my patch, the loadaverage spiked at 65.

>Please abandon your bsd.subdir.mk patch completely.  ;)

There is something one of us do not understand because that patch
gives me measurably more parallelism.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Fri Nov 12 2004 - 07:09:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:21 UTC