0

I'm using n1-highcpu-8 machine and running single notebook. the CPU utilization is always below ~20%. is it possible to use multi CPUs for utilization increasing?

Z.Kal
  • 426
  • 4
  • 18

1 Answers1

2

There's nothing that automatically makes your notebook use multiple CPU cores; The notebook kernel will only ever use a single CPU core.

If you want to use multiple cores, then you have to either make your code explicitly run in parallel (e.g. take a look at the multiprocessing library ), or use a framework which does that for you.

Guillem Xercavins
  • 6,938
  • 1
  • 16
  • 35
Omar Jarjur
  • 1,046
  • 5
  • 5