Check for realistic number of cores