resource allocation in clusters