use "getconf _NPROCESSORS_ONLN" to acquire useful number of processes to launch for parallelization.