optimizing cluster performance