I'm running batch jobs on n1-highcpu-32
Ubuntu 14.04 instances, which have 16 physical (32 virtualized) cores. This should be a trivial case (compared to MPI
), but the CPU utilization is all over the place, as reported by top
.
Some of the jobs run at 300%+ CPU utilization, while others run at only 10%. Therefore, the time to complete the entire batch is 10x longer than it should be. Each of the jobs is running the exact same code, which is not multi-threaded.
Is there a way to prevent this behavior? Perhaps limit CPU utilization to 100% or something?