get number of cpu, using multiple concurrent job processes;
Merge pull request #5126 from liang8305/use_multiple_build_process

get number of cpu, using multiple concurrent job processes;