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
-
Constructor Summary
ConstructorDescriptionNodeResourcesTuning
(com.yahoo.config.provision.NodeResources resources, int threadsPerSearch, double fractionOfMemoryReserved) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getConfig
(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder)
-
Field Details
-
GB
public static final long GB- See Also:
-
-
Constructor Details
-
NodeResourcesTuning
public NodeResourcesTuning(com.yahoo.config.provision.NodeResources resources, int threadsPerSearch, double fractionOfMemoryReserved)
-
-
Method Details
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.core.ProtonConfig.Producer
-