_SC_NPROCESSORS_ONLN does not account for available but sleeping cores. The abnormal reporting of 128 processors by VMware virtual machine should be dealt with separately.