Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
fonz965yIt's a flag you pass to make to compile using multiple threads. I've just got a 20 core machine so can use all cores. Let's say build times down from 1 hour to 5 mins.
-
Do you really get that much speedup? I noticed that beyond j4, there's not much to be gained because the whole thing becomes I/O limited.
-
@irene I still have an HDD, so I discounted the first test and only took the second, which was a lot faster because shit was in the cache, same as it would have been with an SSD.
-
@Fast-Nop I definitely see speedups upto -j8 which is the number of virtual cores I have. I maxed out I/O in my build, I use a decent NVMe SSD and 32GB of RAM for caching (didn't buy all this for compiling but hey, worked out)
Related Rants
make -j20 - that's quick!
rant
compiler
make
core