user3078500
user3078500

Reputation: 302

h2o is not using all processors

I have a server with 48 processors.

The server is not virtualized and the h2o sees 48 processors, but 16 of them for some reason are not being used.

Any advice?

enter image description here

Upvotes: 1

Views: 3022

Answers (2)

user3078500
user3078500

Reputation: 302

It looks like this was a limitation in the old version. Using 3.10 and testing 3.12 now issue was fixed.

Upvotes: 0

Erin LeDell
Erin LeDell

Reputation: 8819

It looks like somehow your H2O cluster was launched with 32 cores instead of the full 48. That's what "H2O cluster allowed cores: 32" indicates is happening. To use all the cores, do the following:

  1. Shut down your existing H2O cluster using h2o.shutdown()
  2. Start a new H2O cluster from R using h2o.init(nthreads = -1), which means that it will use all available cores. If for some reason that does not work, try h2o.init(nthreads = 48).
  3. You can also start the H2O cluster from the command line by typing the following: java -Xmx30g -jar h2o.jar -nthreads 48 and then use h2o.init() to connect inside R.

Feel free to also upgrade to the latest stable version of H2O (3.8.0.2 is slightly outdated, now we are at 3.8.1.1).

Upvotes: 3

Related Questions