h2o ec2 最大使用内核
h2o ec2 max use of cores
h2o 是否即时使用 ec2 服务器(而非实例)上的所有可用内核?
我问是因为我 运行 在 ec2 上有几个 rstudio 实例。有些更大,有些更小。我的意大利面条代码从一个 window 转移到另一个
在 t2.micro
上设置内核时
h2o.init(nthreads = -1)
它将连接到我为实例明确创建的 "max" 个内核。然而,
H2O cluster total nodes: 1
H2O cluster total memory: 0.23 GB
H2O cluster total cores: 15
H2O cluster allowed cores: 1
似乎表明有更多可用内核。
当我将代码从另一个具有 16 个内核的实例转移到具有 1 个内核的实例时,我注意到了这一点。
h2o.init(nthreads = 16)
此代码已创建
H2O cluster total nodes: 1
H2O cluster total memory: 0.23 GB
H2O cluster total cores: 15
H2O cluster allowed cores: 15
再举个例子,在16核的实例上,我很好奇,设置了nthreads=128,结果最大40。
h2o 是否在运行中获取额外的允许内核?我问是因为这比设置集群更容易、更快捷。
如前所述,t2.micro是单核实例,所以H2O cluster allowed cores: 1
是正确的。但是,看起来您 运行 遇到了报告 H2O cluster allowed cores
虚拟机(如 EC2 中使用的虚拟机)数量的错误,记录了 here. This was fixed on 4/1/16 and so it should be fixed in the latest stable release. Download the latest stable H2O 并重试 - 如果您仍然会在此处看到 H2O cluster total cores: 15
、post 评论,我们将重新打开工单。
h2o 是否即时使用 ec2 服务器(而非实例)上的所有可用内核?
我问是因为我 运行 在 ec2 上有几个 rstudio 实例。有些更大,有些更小。我的意大利面条代码从一个 window 转移到另一个
在 t2.micro
上设置内核时h2o.init(nthreads = -1)
它将连接到我为实例明确创建的 "max" 个内核。然而,
H2O cluster total nodes: 1
H2O cluster total memory: 0.23 GB
H2O cluster total cores: 15
H2O cluster allowed cores: 1
似乎表明有更多可用内核。
当我将代码从另一个具有 16 个内核的实例转移到具有 1 个内核的实例时,我注意到了这一点。
h2o.init(nthreads = 16)
此代码已创建
H2O cluster total nodes: 1
H2O cluster total memory: 0.23 GB
H2O cluster total cores: 15
H2O cluster allowed cores: 15
再举个例子,在16核的实例上,我很好奇,设置了nthreads=128,结果最大40。
h2o 是否在运行中获取额外的允许内核?我问是因为这比设置集群更容易、更快捷。
如前所述,t2.micro是单核实例,所以H2O cluster allowed cores: 1
是正确的。但是,看起来您 运行 遇到了报告 H2O cluster allowed cores
虚拟机(如 EC2 中使用的虚拟机)数量的错误,记录了 here. This was fixed on 4/1/16 and so it should be fixed in the latest stable release. Download the latest stable H2O 并重试 - 如果您仍然会在此处看到 H2O cluster total cores: 15
、post 评论,我们将重新打开工单。