I think also that it would probable makes more sense to have a number of iteration specified "per thread". So that PYTHRAN_OPENMP_MIN_ITERATION_COUNT_PER_THREAD 100 means that there should be at lease 200 iterations on a two-cores machine, 1000 on a ten-cores machine.