Date: Fri, 12 Nov 2004 09:09:13 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: [TEST] make -j patch [take 2] Message-ID: <93222.1100246953@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 12 Nov 2004 10:04:16 %2B0200." <20041112080416.GA41844@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20041112080416.GA41844@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?93222.1100246953>