private void setHwInfo(ProtonConfig.Builder builder) {
        builder.hwinfo.disk.shared(true);
        builder.hwinfo.cpu.cores((int)resources.vcpu());
        builder.hwinfo.memory.size((long)(usableMemoryGb() * GiB));
        builder.hwinfo.disk.size((long)(resources.diskGb() * GB));
    }
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