Sujet : Re: make -j
De : OFeem1987 (at) *nospam* teleworm.us (Chris Ahlstrom)
Groupes : comp.os.linux.advocacyDate : 08. Nov 2024, 13:20:06
Autres entêtes
Organisation : None
Message-ID : <vgkvlm$36gth$3@dont-email.me>
References : 1 2
User-Agent : slrn/1.0.3 (Linux)
Lawrence D'Oliveiro wrote this post while blinking in Morse code:
On 7 Nov 2024 15:57:26 GMT, vallor wrote:
>
If you can't "make -j" on your system, your system needs "tuning" --
potentially, by adding RAM.
>
“make -j” by design spawns as many processes as it can, so with a big
enough project to build, it is always going to bring your system to its
knees!
>
Better: use something like “make -j$(nproc)” to create only as many
processes as your hardware can run concurrently. I’m told you could even
add 1 to this.
On the mini PC, I use "-j 4"; on the laptops, "-j 8".
-- Oh yeah? Well, I remember when sex was dirty and the air was clean.