get actual cpu count instead of just launching 8 processes.