private void tuneFlushStrategyTlsSize(ProtonConfig.Flush.Memory.Builder builder) {
        long tlsSizeBytes = (long) ((resources.diskGb() * TLS_SIZE_FRACTION) * GB);
        tlsSizeBytes = max(2* GB, min(tlsSizeBytes, 100 * GB));
        builder.maxtlssize(tlsSizeBytes);
    }
Tuning of proton config for a search node based on the resources on the node.

@author geirst
config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java