# How many kernels to set based on CPU?

Looks like 4 kernels are enough?

My CPU is i7 4790K as given here.

Does it also depend on the tasks and the codes?

My understanding is that regardless what the benchmark says, I could always use 8 kernels as my CPU can run 8 on cores? Most of the time, I would write my normal code and then execute them in batch using Parallelize.

I did find an old post here, but as said, it is an old post. I wonder what's the general guidance in V10.1.0?

Thanks.

• Yes, it depends on the task. The result given by MathematicaMark is not generalizable to other contexts. And this is still assuming perfect parallelization... the Parallel` package has a significant overhead associated with it as well. So I would suggest finding the optimum number by experiment in a case-by-case fashion. 8 would be the sensible maximum, of course. – Oleksandr R. May 29 '15 at 12:41