Get number of physical cpu, core and cpuset
initialize some resources by default