def compute_fill_first_cost_fn(host):
    hostname, service = host
    caps = service.get("compute", {})
    free_mem = caps.get("host_memory_free", 0)
    return free_mem
Prefer hosts that have less ram available, filter_hosts will exclude
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/scheduler/least_cost.py/compute_fill_first_cost_fn