Class 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
    • Constructor Detail

      • NodeResourcesTuning

        public NodeResourcesTuning​(com.yahoo.config.provision.NodeResources resources,
                                   int threadsPerSearch,
                                   double fractionOfMemoryReserved)
    • Method Detail

      • getConfig

        public void getConfig​(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder)
        Specified by:
        getConfig in interface com.yahoo.vespa.config.search.core.ProtonConfig.Producer