summaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java')
-rw-r--r--node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java
index c33b084c213..8b095a46dcf 100644
--- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java
+++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContext.java
@@ -49,14 +49,12 @@ public interface NodeAgentContext extends TaskContext {
};
/**
- * The vcpu value in NodeSpec is the number of vcpus required by the node on a fixed historical
- * baseline machine. However the current host has a faster per-vcpu performance by a scale factor
- * (see flavors.def cpuSpeedup), and therefore do not need to set aside the full number of vcpus
- * to run the node. This method returns that reduced number of vcpus.
+ * The vcpu value in NodeSpec is multiplied by the speedup factor per cpu core compared to a historical baseline
+ * for a particular cpu generation of the host (see flavors.def cpuSpeedup).
*
- * @return the vcpus required by the node on this host.
+ * @return node vcpu without the cpu speedup factor.
*/
- double vcpuOnThisHost();
+ double unscaledVcpu();
/** The file system used by the NodeAgentContext. All paths must have the same provider. */
FileSystem fileSystem();