How to use -j option the right way when compiling with make
by George528 from LinuxQuestions.org on (#5JDZK)
I am reading "O'Reilly Linux Kernel in a Nutshell" book and came across this:
https://i.imgur.com/uVJhpae.png
they say that the -j option should be the double of your cpu cores.
can you please confirm if this information is true?
In LFS book, they said that the -j number should be the number of cores of your CPU.
https://i.imgur.com/tqoVxHt.png
In gentoo handbook they say that it should one unit should be 2GB of ram, so for example if you have 4GB of ram, you should set -j2, for 8GB, -j4 and so on.
https://i.imgur.com/qRs6uXL.png
Which information is true? i am so confused.


https://i.imgur.com/uVJhpae.png
they say that the -j option should be the double of your cpu cores.
can you please confirm if this information is true?
In LFS book, they said that the -j number should be the number of cores of your CPU.
https://i.imgur.com/tqoVxHt.png
In gentoo handbook they say that it should one unit should be 2GB of ram, so for example if you have 4GB of ram, you should set -j2, for 8GB, -j4 and so on.
https://i.imgur.com/qRs6uXL.png
Which information is true? i am so confused.