compute latency of find required number of cores