[parallel-processing] Optimal number of threads per core