Re: Re: Autodetect processing units with -j
wrotycz <[email protected]> Fri, 27 Jun 2025 14:31:48 +0200
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <[email protected]> |
I don't see any need to be aggressive in your response. You're right, it came out clumsily. I can get -j almost 2x the number of CPU threads before builds start slowing down, Maybe that 2*nproc is not that bad estimate, if it comes out I experiments. (b) there's a lot of latency of compilers waiting for files to be read over the network. Of course none of this is very relevant to the issue under discussion. I'm lost now. That's the purpose of using "-j" with no argument: it means run as many jobs as you can _subject to other constraints_... in this case load level. But, that's not how GNU Make currently works. Thanks for explanation. Whether it should be changed is something to be discussed. Changing the command line interface of a 30+ year old program which is invoked probably hundreds of thousands of times a day all over the world, is not to be taken lightly. I get that.