Package com.yahoo.vespa.model.search
Class NodeResourcesTuning
- java.lang.Object
-
- com.yahoo.vespa.model.search.NodeResourcesTuning
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.vespa.config.search.core.ProtonConfig.Producer
public class NodeResourcesTuning extends Object implements com.yahoo.vespa.config.search.core.ProtonConfig.Producer
Tuning of proton config for a search node based on the resources on the node.- Author:
- geirst
-
-
Field Summary
Fields Modifier and Type Field Description static long
GB
static double
reservedMemoryGb
-
Constructor Summary
Constructors Constructor Description NodeResourcesTuning(com.yahoo.config.provision.NodeResources resources, int threadsPerSearch, double fractionOfMemoryReserved)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getConfig(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder)
-
-
-
Field Detail
-
GB
public static final long GB
- See Also:
- Constant Field Values
-
reservedMemoryGb
public static final double reservedMemoryGb
- See Also:
- Constant Field Values
-
-