I was trying to install OpenCV in Ubuntu based on few guides online. One of the guides is this one. It has the following line:
make -j $(($(nproc) + 1))
The nproc
returns the number of processors/ threads available on the system. So, what is the advantage of going one higher than what's available?