jetson-ffmpeg icon indicating copy to clipboard operation
jetson-ffmpeg copied to clipboard

Speed up "make" with "make -j 8"

Open ethaniel opened this issue 4 years ago • 2 comments

Perhaps it makes sense to add to the manual that using "make -j 8" (or the number of cores that your CPU has) speeds up the build process?

ethaniel avatar Jun 07 '20 17:06 ethaniel

maybe, better - more universal is make -j$(nproc)

cizekmilan avatar Jun 07 '20 17:06 cizekmilan

Building on multiple cores is great if you're cross compiling on a big machine with loads of resources, but on a 4GB Nano it's going to slam performance and probably fail to build because it ran out of resources. -j2 works sometimes on some smaller packages, but in my experience large projects still sometimes run into problems when building natively.

playaspec avatar Apr 06 '21 15:04 playaspec