# How to use more CPU cores on linux? [closed]

I noticed that ParallelTable of Mathematica doesn't work well on my linux computer. WolframKernel uses just one cpu core.

then I find

That's weird..

I want to use more cores to speed up my codes, What can I do?

• Have you checked LaunchKernels[...]? – anderstood Apr 13 '17 at 14:20
• "every time WolframKernel uses just one cpu core" <- Actually, each WolframKernel uses at least one CPU core. You should have as many WolframKernels running as you have CPU cores. Most operations within a single kernel use only one CPU core. Some operations, such as matrix product (and on occasion: NIntegrate) will use many. – Szabolcs Apr 13 '17 at 14:37
• Can you show evidence that only one subkernel is running? People will not be able to help unless they can reproduce the problem. – Szabolcs Apr 13 '17 at 16:12
• What does wolframscript -code '\$ConfiguredKernels' output? – Szabolcs Apr 14 '17 at 8:14
• Also, can you show a reproducible example? The example you show runs so fast that parallelization is pointless, and you couldn't possibly check the task monitor before it finishes. Show something that runs for at least 10 seconds. Make the example complete, so we can try it without having to edit it in any way. – Szabolcs Apr 14 '17 at 8:16