diff options
author | Jon Bratseth <bratseth@gmail.com> | 2023-05-23 22:16:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 22:16:30 +0200 |
commit | 482e915731f2d3a78acfff7b2ce4a11ec612ff58 (patch) | |
tree | 39b8a90a580b786656798e3a66e420d96e324257 /config-model/src/main/java/com/yahoo/vespa/model/Host.java | |
parent | d009d437e26f1fafa741ae373c2fd666f4026bba (diff) | |
parent | e6f9700c89bfb8a43e97f2a4af3f1d56ba9a8894 (diff) |
Merge pull request #27194 from vespa-engine/bratseth/container-memoryOverheadv8.167.17
Model fixed memory overhead for containers
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/model/Host.java')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/Host.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/Host.java b/config-model/src/main/java/com/yahoo/vespa/model/Host.java index 047a6ef9bd5..581f20cbfe9 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/Host.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/Host.java @@ -8,13 +8,17 @@ import com.yahoo.config.model.producer.TreeConfigProducer; import java.util.Objects; /** - * A physical host, running a set of services. + * A node with an identity, with some dedicated compute resources, running a set of services. * The identity of a host is its hostname. Hosts are comparable on their host name. * * @author gjoranv */ public final class Host extends TreeConfigProducer<AnyConfigProducer> implements SentinelConfig.Producer, Comparable<Host> { + // Memory needed for auxiliary processes always running on the node (config-proxy, metrics-proxy). + // Keep in sync with node-repository/ClusterModel. + public static final double memoryOverheadGb = 0.7; + private ConfigSentinel configSentinel = null; private final String hostname; private final boolean runsConfigServer; |